The Cortex cluster may be configured by providing a configuration file to cortex cluster up or cortex cluster update via the --config flag (e.g. cortex cluster up --config=cluster.yaml). Below is the schema for the cluster configuration file, with default values shown:
# cluster.yaml​# AWS credentials (if not specified, ~/.aws/credentials will be checked) (can be overridden by $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY)aws_access_key_id: ***aws_secret_access_key: ***​# Optional AWS credentials for the Operator which may be used to restrict its AWS access (defaults to the AWS credentials set above)cortex_aws_access_key_id: ***cortex_aws_secret_access_key: ***​# Instance type Cortex will useinstance_type: m5.large​# Minimum and maximum number of instances in the clustermin_instances: 2max_instances: 5​# Name of the S3 bucket Cortex will usebucket: cortex-[RANDOM_ID]​# Region Cortex will useregion: us-west-2​# Name of the CloudWatch log group Cortex will uselog_group: cortex​# Name of the EKS cluster Cortex will createcluster_name: cortex​# Flag to enable collection of anonymous usage stats and error reportstelemetry: true​# Image pathsimage_predictor_serve: cortexlabs/predictor-serve:0.10.2image_predictor_serve_gpu: cortexlabs/predictor-serve-gpu:0.10.2image_tf_serve: cortexlabs/tf-serve:0.10.2image_tf_serve_gpu: cortexlabs/tf-serve-gpu:0.10.2image_tf_api: cortexlabs/tf-api:0.10.2image_onnx_serve: cortexlabs/onnx-serve:0.10.2image_onnx_serve_gpu: cortexlabs/onnx-serve-gpu:0.10.2image_operator: cortexlabs/operator:0.10.2image_manager: cortexlabs/manager:0.10.2image_downloader: cortexlabs/downloader:0.10.2image_cluster_autoscaler: cortexlabs/cluster-autoscaler:0.10.2image_metrics_server: cortexlabs/metrics-server:0.10.2image_nvidia: cortexlabs/nvidia:0.10.2image_fluentd: cortexlabs/fluentd:0.10.2image_statsd: cortexlabs/statsd:0.10.2image_istio_proxy: cortexlabs/istio-proxy:0.10.2image_istio_pilot: cortexlabs/istio-pilot:0.10.2image_istio_citadel: cortexlabs/istio-citadel:0.10.2image_istio_galley: cortexlabs/istio-galley:0.10.2