Skip to content

Commit 739c6d4

Browse files
authored
Seperate cluster config from images (#871)
1 parent 80b72ec commit 739c6d4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/cluster-management/config.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ _WARNING: you are on the master branch, please refer to the docs on the branch t
55
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 (unless otherwise specified):
66

77
<!-- CORTEX_VERSION_MINOR -->
8-
<!-- CORTEX_VERSION_BRANCH_STABLE -->
9-
108
```yaml
119
# cluster.yaml
1210

@@ -48,7 +46,14 @@ log_group: cortex
4846
# whether to use spot instances in the cluster (default: false)
4947
# see https://cortex.dev/v/master/cluster-management/spot-instances for additional details on spot configuration
5048
spot: false
49+
```
5150
51+
<!-- CORTEX_VERSION_BRANCH_STABLE -->
52+
The docker images used by Cortex are listed below. They can be overridden to use custom images by specifying them in your cluster configuration file.
53+
54+
You can follow these [instructions](../deployments/system-packages.md) to build and push custom Docker images to a registry and configure Cortex to use them.
55+
56+
```yaml
5257
# docker image paths
5358
image_python_serve: cortexlabs/python-serve:master
5459
image_python_serve_gpu: cortexlabs/python-serve-gpu:master

docs/deployments/system-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mkdir my-api && cd my-api && touch Dockerfile
1414

1515
The Docker images used to deploy your models are listed below. Based on the Cortex Predictor and compute type specified in your API configuration, choose a Cortex image to use as the base for your custom Docker image.
1616

17-
### Base Cortex images
17+
### Base Cortex images for model serving
1818

1919
<!-- CORTEX_VERSION_BRANCH_STABLE x5 -->
2020
* Python (CPU): cortexlabs/python-serve:master

0 commit comments

Comments
 (0)