Skip to content

Commit 97e9282

Browse files
committed
Add upgrade docs
1 parent 1d951e9 commit 97e9282

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

docs/cluster/install.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export AWS_SECRET_ACCESS_KEY=***
2424
./cortex.sh install
2525
```
2626

27-
See [cluster configuration](config.md) options to customize your installation.
27+
See [cluster configuration](config.md) to customize your installation.
2828

2929
## Installing and configuring the CLI
3030

docs/cluster/upgrade.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Upgrade
2+
3+
## Prerequisites
4+
5+
1. [AWS credentials](aws.md)
6+
2. [Docker](https://docs.docker.com/install)
7+
8+
## Upgrading Cortex
9+
10+
See [cluster configuration](config.md) to customize your installation.
11+
12+
<!-- CORTEX_VERSION_MINOR -->
13+
14+
```bash
15+
# Download
16+
curl -O https://github.com/raw/cortexlabs/cortex/master/cortex.sh
17+
18+
# Change permissions
19+
chmod +x cortex.sh
20+
21+
# Set AWS credentials
22+
export AWS_ACCESS_KEY_ID=***
23+
export AWS_SECRET_ACCESS_KEY=***
24+
25+
# Upgrade Cortex
26+
./cortex.sh upgrade
27+
28+
# Upgrade the CLI
29+
./cortex.sh install cli
30+
31+
# Confirm version
32+
cortex --version
33+
```

docs/summary.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* [AWS Credentials](cluster/aws.md)
2323
* [Configuration](cluster/config.md)
2424
* [Security](cluster/security.md)
25+
* [Upgrade](cluster/upgrade.md)
2526
* [Uninstall](cluster/uninstall.md)
2627
* [Development](cluster/development.md)
2728

0 commit comments

Comments
 (0)