Skip to content

Seperate cluster config from images #871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions docs/cluster-management/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ _WARNING: you are on the master branch, please refer to the docs on the branch t
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):

<!-- CORTEX_VERSION_MINOR -->
<!-- CORTEX_VERSION_BRANCH_STABLE -->

```yaml
# cluster.yaml

Expand Down Expand Up @@ -48,7 +46,14 @@ log_group: cortex
# whether to use spot instances in the cluster (default: false)
# see https://cortex.dev/v/master/cluster-management/spot-instances for additional details on spot configuration
spot: false
```

<!-- CORTEX_VERSION_BRANCH_STABLE -->
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.

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.

```yaml
# docker image paths
image_python_serve: cortexlabs/python-serve:master
image_python_serve_gpu: cortexlabs/python-serve-gpu:master
Expand Down
2 changes: 1 addition & 1 deletion docs/deployments/system-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mkdir my-api && cd my-api && touch Dockerfile

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.

### Base Cortex images
### Base Cortex images for model serving

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