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 credentials
export AWS_ACCESS_KEY_ID="***"
export 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)
export CORTEX_AWS_ACCESS_KEY_ID="***"
export CORTEX_AWS_SECRET_ACCESS_KEY="***"
# The name of the CloudWatch log group Cortex will use
export CORTEX_LOG_GROUP="cortex"
# The name of the S3 bucket Cortex will use
export CORTEX_BUCKET="cortex-[RANDOM_ID]"
# The AWS region Cortex will use
export CORTEX_REGION="us-west-2"
# The name of the EKS cluster Cortex will use
export CORTEX_CLUSTER="cortex"
# The AWS node type Cortex will use
export CORTEX_NODE_TYPE="m5.large"
# Minimum number of nodes in the cluster
export CORTEX_NODES_MIN=2
# Maximum number of nodes in the cluster
export CORTEX_NODES_MAX=5
# Image paths
export CORTEX_IMAGE_MANAGER="cortexlabs/manager:0.9.2"
export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:0.9.2"
export CORTEX_IMAGE_STATSD="cortexlabs/statsd:0.9.2"
export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:0.9.2"
export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:0.9.2"
export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:0.9.2"
export CORTEX_IMAGE_TF_SERVE_GPU="cortexlabs/tf-serve-gpu:0.9.2"
export CORTEX_IMAGE_ONNX_SERVE="cortexlabs/onnx-serve:0.9.2"
export CORTEX_IMAGE_ONNX_SERVE_GPU="cortexlabs/onnx-serve-gpu:0.9.2"
export CORTEX_IMAGE_CLUSTER_AUTOSCALER="cortexlabs/cluster-autoscaler:0.9.2"
export CORTEX_IMAGE_NVIDIA="cortexlabs/nvidia:0.9.2"
export CORTEX_IMAGE_METRICS_SERVER="cortexlabs/metrics-server:0.9.2"
export CORTEX_IMAGE_ISTIO_PROXY="cortexlabs/istio-proxy:0.9.2"
export CORTEX_IMAGE_ISTIO_PILOT="cortexlabs/istio-pilot:0.9.2"
export CORTEX_IMAGE_ISTIO_CITADEL="cortexlabs/istio-citadel:0.9.2"
export CORTEX_IMAGE_ISTIO_GALLEY="cortexlabs/istio-galley:0.9.2"
export CORTEX_IMAGE_DOWNLOADER="cortexlabs/downloader:0.9.2"
# 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=""