These environment variables can be modified and exported before running cortex.sh commands. Alternatively, a configuration file may be provided to cortex.sh via the --config flag (e.g. cortex.sh --config=./config.sh install). Default values are shown.
# config.sh​# AWS credentialsexport AWS_ACCESS_KEY_ID="***"export AWS_SECRET_ACCESS_KEY="***"​# The name of the CloudWatch log group Cortex will useexport CORTEX_LOG_GROUP="cortex"​# The name of the S3 bucket Cortex will useexport CORTEX_BUCKET="cortex-[RANDOM_ID]"​# The AWS region Cortex will useexport CORTEX_REGION="us-west-2"​# The AWS zones Cortex will use (e.g. "us-east-1a,us-east-1b")export CORTEX_ZONES=""​# The name of the EKS cluster Cortex will useexport CORTEX_CLUSTER="cortex"​# The AWS node type Cortex will useexport CORTEX_NODE_TYPE="t3.large"​# Minimum number of nodes in the clusterexport CORTEX_NODES_MIN=2​# Maximum number of nodes in the clusterexport CORTEX_NODES_MAX=5​# The name of the Kubernetes namespace Cortex will useexport CORTEX_NAMESPACE="cortex"​# Image pathsexport CORTEX_IMAGE_MANAGER="cortexlabs/manager:0.7.3"export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:0.7.3"export CORTEX_IMAGE_NGINX_BACKEND="cortexlabs/nginx-backend:0.7.3"export CORTEX_IMAGE_NGINX_CONTROLLER="cortexlabs/nginx-controller:0.7.3"export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:0.7.3"export CORTEX_IMAGE_SPARK="cortexlabs/spark:0.7.3"export CORTEX_IMAGE_SPARK_OPERATOR="cortexlabs/spark-operator:0.7.3"export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:0.7.3"export CORTEX_IMAGE_TF_TRAIN="cortexlabs/tf-train:0.7.3"export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:0.7.3"export CORTEX_IMAGE_TF_TRAIN_GPU="cortexlabs/tf-train-gpu:0.7.3"export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:0.7.3"export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:0.7.3"export CORTEX_IMAGE_ONNX_SERVE_GPU="cortexlabs/onnx-serve-gpu:0.7.3"export CORTEX_IMAGE_PYTHON_PACKAGER="cortexlabs/python-packager:0.7.3"export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:0.7.3"export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:0.7.3"export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:0.7.3"​# Flag to enable collecting error reports and usage stats. If flag is not set to either "true" or "false", you will be prompted.export CORTEX_ENABLE_TELEMETRY=""