Skip to content

Commit 33e74aa

Browse files
committed
Update installation
1 parent d264e2d commit 33e74aa

File tree

5 files changed

+17
-15
lines changed

5 files changed

+17
-15
lines changed

cli/cmd/lib_cli_config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func getPromptValidation(defaults *CLIConfig) *cr.PromptValidation {
4343
{
4444
StructField: "CortexURL",
4545
PromptOpts: &prompt.Options{
46-
Prompt: "Enter Cortex operator endpoint",
46+
Prompt: "Cortex operator endpoint",
4747
},
4848
StringValidation: &cr.StringValidation{
4949
Required: true,
@@ -54,7 +54,7 @@ func getPromptValidation(defaults *CLIConfig) *cr.PromptValidation {
5454
{
5555
StructField: "AWSAccessKeyID",
5656
PromptOpts: &prompt.Options{
57-
Prompt: "Enter AWS Access Key ID",
57+
Prompt: "AWS Access Key ID",
5858
},
5959
StringValidation: &cr.StringValidation{
6060
Required: true,
@@ -64,7 +64,7 @@ func getPromptValidation(defaults *CLIConfig) *cr.PromptValidation {
6464
{
6565
StructField: "AWSSecretAccessKey",
6666
PromptOpts: &prompt.Options{
67-
Prompt: "Enter AWS Secret Access Key",
67+
Prompt: "AWS Secret Access Key",
6868
MaskDefault: true,
6969
HideTyping: true,
7070
},

cli/cmd/lib_cluster_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ var awsCredentialsPromptValidation = &cr.PromptValidation{
7171
{
7272
StructField: "AWSAccessKeyID",
7373
PromptOpts: &prompt.Options{
74-
Prompt: "Enter AWS Access Key ID",
74+
Prompt: "AWS Access Key ID",
7575
},
7676
StringValidation: &cr.StringValidation{
7777
Required: true,
@@ -80,7 +80,7 @@ var awsCredentialsPromptValidation = &cr.PromptValidation{
8080
{
8181
StructField: "AWSSecretAccessKey",
8282
PromptOpts: &prompt.Options{
83-
Prompt: "Enter AWS Secret Access Key",
83+
Prompt: "AWS Secret Access Key",
8484
MaskDefault: true,
8585
HideTyping: true,
8686
},

docs/cluster/install.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
## Prerequisites
44

5-
1. [AWS credentials](aws.md)
6-
2. [Docker](https://docs.docker.com/install)
7-
3. See [cluster configuration](config.md) to learn how you can customize your cluster.
5+
1. [Docker](https://docs.docker.com/install)
6+
2. [AWS credentials](aws.md)
87

98
## Installation
109

10+
See [cluster configuration](config.md) to learn how you can customize your cluster.
11+
1112
<!-- CORTEX_VERSION_MINOR -->
1213
```bash
1314
# Install the Cortex CLI on your machine
@@ -19,15 +20,15 @@ cortex cluster up
1920

2021
Note: This will create resources in your AWS account which aren't included in the free tier, e.g. an EKS cluster, two Elastic Load Balancers, and EC2 instances (quantity and type as specified above). To use GPU nodes, you may need to subscribe to the [EKS-optimized AMI with GPU Support](https://aws.amazon.com/marketplace/pp/B07GRHFXGM) and [file an AWS support ticket](https://console.aws.amazon.com/support/cases#/create?issueType=service-limit-increase&limitType=ec2-instances) to increase the limit for your desired instance type.
2122

22-
## Create a deployment
23+
## Deploy a model
2324

2425
<!-- CORTEX_VERSION_MINOR -->
2526

2627
```bash
2728
# Clone the Cortex repository
2829
git clone -b master https://github.com/cortexlabs/cortex.git
2930

30-
# Navigate to the iris classification example
31+
# Navigate to the iris classifier example
3132
cd cortex/examples/tensorflow/iris-classifier
3233

3334
# Deploy the model to the cluster

docs/cluster/update.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
## Prerequisites
44

5-
1. [AWS credentials](aws.md)
6-
2. [Docker](https://docs.docker.com/install)
7-
3. See [cluster configuration](config.md) to learn how you can customize your cluster.
5+
1. [Docker](https://docs.docker.com/install)
6+
2. [AWS credentials](aws.md)
87

98
## Updating your cluster configuration
109

10+
See [cluster configuration](config.md) to learn how you can customize your cluster.
11+
1112
```bash
1213
cortex cluster update
1314
```
@@ -24,7 +25,7 @@ cortex cluster down
2425
bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/master/get-cli.sh)"
2526

2627
# Confirm version
27-
cortex --version
28+
cortex version
2829

2930
# Spin up your cluster
3031
cortex cluster up

manager/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function ensure_eks() {
2525
exit 1
2626
fi
2727

28-
echo -e "○ Spinning up the cluster ... (this will take about 15 minutes)\n"
28+
echo -e "\n○ Spinning up the cluster ... (this will take about 15 minutes)\n"
2929
envsubst < eks.yaml | eksctl create cluster -f -
3030
echo -e "\n✓ Spun up the cluster"
3131
return

0 commit comments

Comments
 (0)