Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.42 KB

config.md

File metadata and controls

38 lines (29 loc) · 1.42 KB

Config

These environment variables can be modified and exported before running cortex.sh commands. Alternatively, cortex.sh will automatically look for a config.sh file in your current directory, or a different file if you use cortex.sh --config=<path>. Default values are shown.

# config.sh

# AWS credentials
export AWS_ACCESS_KEY_ID="***"
export 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 Kubernetes namespace Cortex will use
export CORTEX_NAMESPACE="cortex"

# Image paths
export CORTEX_IMAGE_ARGO_CONTROLLER="cortexlabs/argo-controller:0.1.0"
export CORTEX_IMAGE_ARGO_EXECUTOR="cortexlabs/argo-executor:0.1.0"
export CORTEX_IMAGE_FLUENTD="cortexlabs/fluentd:0.1.0"
export CORTEX_IMAGE_NGINX_BACKEND="cortexlabs/nginx-backend:0.1.0"
export CORTEX_IMAGE_NGINX_CONTROLLER="cortexlabs/nginx-controller:0.1.0"
export CORTEX_IMAGE_OPERATOR="cortexlabs/operator:0.1.0"
export CORTEX_IMAGE_SPARK="cortexlabs/spark:0.1.0"
export CORTEX_IMAGE_SPARK_OPERATOR="cortexlabs/spark-operator:0.1.0"
export CORTEX_IMAGE_TF_SERVE="cortexlabs/tf-serve:0.1.0"
export CORTEX_IMAGE_TF_TRAIN="cortexlabs/tf-train:0.1.0"
export CORTEX_IMAGE_TF_API="cortexlabs/tf-api:0.1.0"