From 812a49e60bf9282080f8ec596a5a0f3514802912 Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Mon, 23 Dec 2019 21:05:47 -0800 Subject: [PATCH 1/8] Update docs --- cli/cmd/lib_cluster_config.go | 8 ++-- .../{aws.md => aws-credentials.md} | 0 docs/cluster-management/ec2-instances.md | 47 +++++++++++++++++++ docs/cluster-management/install.md | 4 +- docs/cluster-management/uninstall.md | 2 +- docs/cluster-management/update.md | 2 +- docs/summary.md | 5 +- 7 files changed, 58 insertions(+), 10 deletions(-) rename docs/cluster-management/{aws.md => aws-credentials.md} (100%) create mode 100644 docs/cluster-management/ec2-instances.md diff --git a/cli/cmd/lib_cluster_config.go b/cli/cmd/lib_cluster_config.go index 669deb253c..3cb0b24e4a 100644 --- a/cli/cmd/lib_cluster_config.go +++ b/cli/cmd/lib_cluster_config.go @@ -284,21 +284,21 @@ func confirmInstallClusterConfig(clusterConfig *clusterconfig.Config, awsCreds * if clusterConfig.Spot != nil && *clusterConfig.Spot { if *clusterConfig.SpotConfig.OnDemandBaseCapacity == 0 && *clusterConfig.SpotConfig.OnDemandPercentageAboveBaseCapacity == 0 { - fmt.Println(fmt.Sprintf("WARNING: you've disabled on-demand instances (%s=0 and %s=0); spot instances are not guaranteed to be available so please take that into account for production clusters", clusterconfig.OnDemandBaseCapacityKey, clusterconfig.OnDemandPercentageAboveBaseCapacityKey)) + fmt.Println(fmt.Sprintf("WARNING: you've disabled on-demand instances (%s=0 and %s=0); spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information", clusterconfig.OnDemandBaseCapacityKey, clusterconfig.OnDemandPercentageAboveBaseCapacityKey, consts.CortexVersionMinor)) } else { - fmt.Println("WARNING: you've enabled spot instances; spot instances are not guaranteed to be available so please take that into account for production clusters") + fmt.Println("WARNING: you've enabled spot instances; spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information", consts.CortexVersionMinor) } fmt.Println() } - exitMessage := fmt.Sprintf("cluster configuration can be modified via the cluster config file; see https://www.cortex.dev/v/%s/cluster-management/config", consts.CortexVersionMinor) + exitMessage := fmt.Sprintf("cluster configuration can be modified via the cluster config file; see https://www.cortex.dev/v/%s/cluster-management/config for more information", consts.CortexVersionMinor) prompt.YesOrExit("would you like to continue with this installation?", exitMessage) } func confirmUpdateClusterConfig(clusterConfig *clusterconfig.Config, awsCreds *AWSCredentials) { fmt.Println(clusterConfigConfirmaionStr(clusterConfig, awsCreds) + "\n") - exitMessage := fmt.Sprintf("cluster configuration can be modified via the cluster config file; see https://www.cortex.dev/v/%s/cluster-management/config", consts.CortexVersionMinor) + exitMessage := fmt.Sprintf("cluster configuration can be modified via the cluster config file; see https://www.cortex.dev/v/%s/cluster-management/config for more information", consts.CortexVersionMinor) prompt.YesOrExit(fmt.Sprintf("your cluster (%s in %s) will be updated according to the configuration above, are you sure you want to continue?", clusterConfig.ClusterName, *clusterConfig.Region), exitMessage) } diff --git a/docs/cluster-management/aws.md b/docs/cluster-management/aws-credentials.md similarity index 100% rename from docs/cluster-management/aws.md rename to docs/cluster-management/aws-credentials.md diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md new file mode 100644 index 0000000000..611b56c14f --- /dev/null +++ b/docs/cluster-management/ec2-instances.md @@ -0,0 +1,47 @@ +# Instances + +_WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ + +You can spin up a Cortex cluster on a variety of AWS instance types. If you are unsure about which instance to pick, review these options as a starting point. This is not a comprehensive guide so please refer to the [full documentation](https://aws.amazon.com/ec2/instance-types/) on AWS for more information. + +## T3 instances + +[T3 instances](https://aws.amazon.com/ec2/instance-types/t3/) are useful for **development** clusters that primarily run model inferences with low compute and memory resource utilization. + +compute: low +memory: low +aws cost: starts at $0.0052 per hour* + +relevant example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn + +## M5 instances + +[M5 instances](https://aws.amazon.com/ec2/instance-types/m5/) are useful for clusters that primarily run model inferences with low compute and memory resource utilization. + +compute: low +memory: low +aws cost: starts at $0.096 per hour* + +relevant example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn + +## G4 instances + +[G4 instances](https://aws.amazon.com/ec2/instance-types/g4/) are useful for clusters that primarily run model inferences with high compute and low memory resource utilization. + +compute: high +memory: low +aws cost: starts at $0.526 per hour* + +relevant example: [language identification](../../examples/pytorch/language-identifier) using PyTorch + +## P2 instances + +[P2 instances](https://aws.amazon.com/ec2/instance-types/p2/) are useful for clusters that primarily run model inferences with high compute and high memory resource utilization. + +compute: high +memory: high +aws cost: starts at $0.900 per hour* + +relevant example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow + +* pricing is for the US West (Oregon) AWS region diff --git a/docs/cluster-management/install.md b/docs/cluster-management/install.md index a7dfbb32ee..7d7ca040b2 100644 --- a/docs/cluster-management/install.md +++ b/docs/cluster-management/install.md @@ -5,11 +5,11 @@ _WARNING: you are on the master branch, please refer to the docs on the branch t ## Prerequisites 1. [Docker](https://docs.docker.com/install) -2. [AWS credentials](aws.md) +2. [AWS credentials](aws-credentials.md) ## Installation -See [cluster configuration](config.md) to learn how you can customize your cluster. +See [cluster configuration](config.md) to learn how you can customize your installation and [EC2 instances](ec2-instances.md) for an overview of how to pick an appropriate EC2 instance type for your cluster. ```bash diff --git a/docs/cluster-management/uninstall.md b/docs/cluster-management/uninstall.md index 1701ee2a36..8adbaadbf0 100644 --- a/docs/cluster-management/uninstall.md +++ b/docs/cluster-management/uninstall.md @@ -4,7 +4,7 @@ _WARNING: you are on the master branch, please refer to the docs on the branch t ## Prerequisites -1. [AWS credentials](aws.md) +1. [AWS credentials](aws-credentials.md) 2. [Docker](https://docs.docker.com/install) 3. [Cortex CLI](install.md) 4. [AWS CLI](https://aws.amazon.com/cli) diff --git a/docs/cluster-management/update.md b/docs/cluster-management/update.md index cd0c1a6e65..91c970c973 100644 --- a/docs/cluster-management/update.md +++ b/docs/cluster-management/update.md @@ -5,7 +5,7 @@ _WARNING: you are on the master branch, please refer to the docs on the branch t ## Prerequisites 1. [Docker](https://docs.docker.com/install) -2. [AWS credentials](aws.md) +2. [AWS credentials](aws-credentials.md) ## Updating your cluster configuration diff --git a/docs/summary.md b/docs/summary.md index 71ae3bdca7..e3cd8d81a4 100644 --- a/docs/summary.md +++ b/docs/summary.md @@ -34,9 +34,10 @@ * [CLI commands](cluster-management/cli.md) * [Cluster configuration](cluster-management/config.md) -* [Spot instances](cluster-management/spot-instances.md) -* [AWS credentials](cluster-management/aws.md) +* [AWS credentials](cluster-management/aws-credentials.md) * [Security](cluster-management/security.md) +* [AWS instances](cluster-management/ec2-instances.md) +* [Spot instances](cluster-management/spot-instances.md) * [Update](cluster-management/update.md) * [Uninstall](cluster-management/uninstall.md) * [Telemetry](cluster-management/telemetry.md) From f5ec2c4153c8396304c96d73a5b4c67a89e4da2f Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Mon, 23 Dec 2019 21:11:03 -0800 Subject: [PATCH 2/8] Update docs --- docs/cluster-management/ec2-instances.md | 34 +++++++++++++----------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index 611b56c14f..7aad32da9c 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -8,40 +8,42 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [T3 instances](https://aws.amazon.com/ec2/instance-types/t3/) are useful for **development** clusters that primarily run model inferences with low compute and memory resource utilization. -compute: low -memory: low -aws cost: starts at $0.0052 per hour* +* Compute: low +* Memory: low +* AWS cost: starts at $0.0052 per hour* -relevant example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn +Relevant example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn. ## M5 instances [M5 instances](https://aws.amazon.com/ec2/instance-types/m5/) are useful for clusters that primarily run model inferences with low compute and memory resource utilization. -compute: low -memory: low -aws cost: starts at $0.096 per hour* +* Compute: low +* Memory: low +* AWS cost: starts at $0.096 per hour* -relevant example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn +Relevant example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn. ## G4 instances [G4 instances](https://aws.amazon.com/ec2/instance-types/g4/) are useful for clusters that primarily run model inferences with high compute and low memory resource utilization. -compute: high -memory: low -aws cost: starts at $0.526 per hour* +* Compute: high +* Memory: low +* AWS cost: starts at $0.526 per hour* -relevant example: [language identification](../../examples/pytorch/language-identifier) using PyTorch +Relevant example: [language identification](../../examples/pytorch/language-identifier) using PyTorch. ## P2 instances [P2 instances](https://aws.amazon.com/ec2/instance-types/p2/) are useful for clusters that primarily run model inferences with high compute and high memory resource utilization. -compute: high -memory: high -aws cost: starts at $0.900 per hour* +* Compute: high +* Memory: high +* AWS cost: starts at $0.900 per hour* -relevant example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow +Relevant example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow. + +
* pricing is for the US West (Oregon) AWS region From 3bd9f1da397899f846407b1a571f6b10d7dc091c Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Mon, 23 Dec 2019 21:12:00 -0800 Subject: [PATCH 3/8] Update ec2-instances.md --- docs/cluster-management/ec2-instances.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index 7aad32da9c..9da5bc51c3 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -11,8 +11,7 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are * Compute: low * Memory: low * AWS cost: starts at $0.0052 per hour* - -Relevant example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn. +* Example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn. ## M5 instances @@ -21,8 +20,7 @@ Relevant example: [iris classification](../../examples/sklearn/iris-classifier) * Compute: low * Memory: low * AWS cost: starts at $0.096 per hour* - -Relevant example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn. +* Example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn. ## G4 instances @@ -31,8 +29,7 @@ Relevant example: [MPG estimation](../../examples/sklearn/mpg-estimator) using s * Compute: high * Memory: low * AWS cost: starts at $0.526 per hour* - -Relevant example: [language identification](../../examples/pytorch/language-identifier) using PyTorch. +* Example: [language identification](../../examples/pytorch/language-identifier) using PyTorch. ## P2 instances @@ -41,9 +38,8 @@ Relevant example: [language identification](../../examples/pytorch/language-iden * Compute: high * Memory: high * AWS cost: starts at $0.900 per hour* - -Relevant example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow. +* Example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow.
-* pricing is for the US West (Oregon) AWS region +* Pricing is for the US West (Oregon) AWS region. From f54a4c8c3dacbefa012b831a720c3c32337aafcb Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Mon, 23 Dec 2019 21:13:29 -0800 Subject: [PATCH 4/8] Update ec2-instances.md --- docs/cluster-management/ec2-instances.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index 9da5bc51c3..e0f4b823fc 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -8,37 +8,37 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [T3 instances](https://aws.amazon.com/ec2/instance-types/t3/) are useful for **development** clusters that primarily run model inferences with low compute and memory resource utilization. -* Compute: low -* Memory: low -* AWS cost: starts at $0.0052 per hour* * Example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn. +* Compute: low +* Memory: low +* AWS cost: starts at $0.0052 per hour* ## M5 instances [M5 instances](https://aws.amazon.com/ec2/instance-types/m5/) are useful for clusters that primarily run model inferences with low compute and memory resource utilization. -* Compute: low -* Memory: low -* AWS cost: starts at $0.096 per hour* * Example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn. +* Compute: low +* Memory: low +* AWS cost: starts at $0.096 per hour* ## G4 instances [G4 instances](https://aws.amazon.com/ec2/instance-types/g4/) are useful for clusters that primarily run model inferences with high compute and low memory resource utilization. -* Compute: high -* Memory: low -* AWS cost: starts at $0.526 per hour* * Example: [language identification](../../examples/pytorch/language-identifier) using PyTorch. +* Compute: high +* Memory: low +* AWS cost: starts at $0.526 per hour* ## P2 instances [P2 instances](https://aws.amazon.com/ec2/instance-types/p2/) are useful for clusters that primarily run model inferences with high compute and high memory resource utilization. -* Compute: high -* Memory: high -* AWS cost: starts at $0.900 per hour* * Example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow. +* Compute: high +* Memory: high +* AWS cost: starts at $0.900 per hour*
From f520a0eb61eb494f7643731076398d419510f135 Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Mon, 23 Dec 2019 21:14:28 -0800 Subject: [PATCH 5/8] Update ec2-instances.md --- docs/cluster-management/ec2-instances.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index e0f4b823fc..1087a95a9e 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -8,7 +8,7 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [T3 instances](https://aws.amazon.com/ec2/instance-types/t3/) are useful for **development** clusters that primarily run model inferences with low compute and memory resource utilization. -* Example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn. +* Example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn * Compute: low * Memory: low * AWS cost: starts at $0.0052 per hour* @@ -17,7 +17,7 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [M5 instances](https://aws.amazon.com/ec2/instance-types/m5/) are useful for clusters that primarily run model inferences with low compute and memory resource utilization. -* Example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn. +* Example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn * Compute: low * Memory: low * AWS cost: starts at $0.096 per hour* @@ -26,7 +26,7 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [G4 instances](https://aws.amazon.com/ec2/instance-types/g4/) are useful for clusters that primarily run model inferences with high compute and low memory resource utilization. -* Example: [language identification](../../examples/pytorch/language-identifier) using PyTorch. +* Example: [language identification](../../examples/pytorch/language-identifier) using PyTorch * Compute: high * Memory: low * AWS cost: starts at $0.526 per hour* @@ -35,7 +35,7 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [P2 instances](https://aws.amazon.com/ec2/instance-types/p2/) are useful for clusters that primarily run model inferences with high compute and high memory resource utilization. -* Example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow. +* Example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow * Compute: high * Memory: high * AWS cost: starts at $0.900 per hour* From 46e7af32fd1def2ff60744614893f9fa89202aaf Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Mon, 23 Dec 2019 21:14:52 -0800 Subject: [PATCH 6/8] Update ec2-instances.md --- docs/cluster-management/ec2-instances.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index 1087a95a9e..f6aea0c24b 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -1,4 +1,4 @@ -# Instances +# EC2 instances _WARNING: you are on the master branch, please refer to the docs on the branch that matches your `cortex version`_ From 67dc53e445a8d87fc993458922784d282a9a33f2 Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Tue, 24 Dec 2019 11:30:03 -0800 Subject: [PATCH 7/8] Update docs --- cli/cmd/lib_cluster_config.go | 4 +-- docs/cluster-management/ec2-instances.md | 32 +++++++++++++++++------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/cli/cmd/lib_cluster_config.go b/cli/cmd/lib_cluster_config.go index 3cb0b24e4a..ffb90921be 100644 --- a/cli/cmd/lib_cluster_config.go +++ b/cli/cmd/lib_cluster_config.go @@ -284,9 +284,9 @@ func confirmInstallClusterConfig(clusterConfig *clusterconfig.Config, awsCreds * if clusterConfig.Spot != nil && *clusterConfig.Spot { if *clusterConfig.SpotConfig.OnDemandBaseCapacity == 0 && *clusterConfig.SpotConfig.OnDemandPercentageAboveBaseCapacity == 0 { - fmt.Println(fmt.Sprintf("WARNING: you've disabled on-demand instances (%s=0 and %s=0); spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information", clusterconfig.OnDemandBaseCapacityKey, clusterconfig.OnDemandPercentageAboveBaseCapacityKey, consts.CortexVersionMinor)) + fmt.Printf(fmt.Sprintf("WARNING: you've disabled on-demand instances (%s=0 and %s=0); spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information\n", clusterconfig.OnDemandBaseCapacityKey, clusterconfig.OnDemandPercentageAboveBaseCapacityKey, consts.CortexVersionMinor)) } else { - fmt.Println("WARNING: you've enabled spot instances; spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information", consts.CortexVersionMinor) + fmt.Printf("WARNING: you've enabled spot instances; spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information\n", consts.CortexVersionMinor) } fmt.Println() } diff --git a/docs/cluster-management/ec2-instances.md b/docs/cluster-management/ec2-instances.md index f6aea0c24b..4461564268 100644 --- a/docs/cluster-management/ec2-instances.md +++ b/docs/cluster-management/ec2-instances.md @@ -8,38 +8,52 @@ You can spin up a Cortex cluster on a variety of AWS instance types. If you are [T3 instances](https://aws.amazon.com/ec2/instance-types/t3/) are useful for **development** clusters that primarily run model inferences with low compute and memory resource utilization. -* Example: [iris classification](../../examples/sklearn/iris-classifier) using scikit-learn +* Example: [iris classification](../../examples/sklearn/iris-classifier) * Compute: low * Memory: low +* GPU: no * AWS cost: starts at $0.0052 per hour* +## C5 instances + +[C5 instances](https://aws.amazon.com/ec2/instance-types/c5/) are useful for clusters that primarily run model inferences with medium compute and low memory resource utilization. + +* Example: [language identification](../../examples/pytorch/language-identifier) +* Compute: medium +* Memory: low +* GPU: no +* AWS cost: starts at $0.085 per hour* + ## M5 instances [M5 instances](https://aws.amazon.com/ec2/instance-types/m5/) are useful for clusters that primarily run model inferences with low compute and memory resource utilization. -* Example: [MPG estimation](../../examples/sklearn/mpg-estimator) using scikit-learn +* Example: [MPG estimation](../../examples/sklearn/mpg-estimator) * Compute: low -* Memory: low +* Memory: medium +* GPU: no * AWS cost: starts at $0.096 per hour* ## G4 instances -[G4 instances](https://aws.amazon.com/ec2/instance-types/g4/) are useful for clusters that primarily run model inferences with high compute and low memory resource utilization. +[G4 instances](https://aws.amazon.com/ec2/instance-types/g4/) are useful for clusters that primarily run model inferences with high compute and low memory resource utilization that can run on GPUs. -* Example: [language identification](../../examples/pytorch/language-identifier) using PyTorch +* Example: [image classification](../../examples/tensorflow/image-classifier) * Compute: high -* Memory: low +* Memory: medium +* GPU: yes * AWS cost: starts at $0.526 per hour* ## P2 instances -[P2 instances](https://aws.amazon.com/ec2/instance-types/p2/) are useful for clusters that primarily run model inferences with high compute and high memory resource utilization. +[P2 instances](https://aws.amazon.com/ec2/instance-types/p2/) are useful for clusters that primarily run model inferences with high compute and high memory resource utilization that can run on GPUs. -* Example: [text generation](../../examples/tensorflow/text-generator) using TensorFlow +* Example: [text generation](../../examples/tensorflow/text-generator) * Compute: high * Memory: high +* GPU: yes * AWS cost: starts at $0.900 per hour*
-* Pricing is for the US West (Oregon) AWS region. +* On-demand pricing for the US West (Oregon) AWS region. From 41e9d48a1322de2c0397d99ab70caf34534346b1 Mon Sep 17 00:00:00 2001 From: Omer Spillinger Date: Tue, 24 Dec 2019 11:56:12 -0800 Subject: [PATCH 8/8] Update lib_cluster_config.go --- cli/cmd/lib_cluster_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/lib_cluster_config.go b/cli/cmd/lib_cluster_config.go index ffb90921be..5beb98e689 100644 --- a/cli/cmd/lib_cluster_config.go +++ b/cli/cmd/lib_cluster_config.go @@ -284,7 +284,7 @@ func confirmInstallClusterConfig(clusterConfig *clusterconfig.Config, awsCreds * if clusterConfig.Spot != nil && *clusterConfig.Spot { if *clusterConfig.SpotConfig.OnDemandBaseCapacity == 0 && *clusterConfig.SpotConfig.OnDemandPercentageAboveBaseCapacity == 0 { - fmt.Printf(fmt.Sprintf("WARNING: you've disabled on-demand instances (%s=0 and %s=0); spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information\n", clusterconfig.OnDemandBaseCapacityKey, clusterconfig.OnDemandPercentageAboveBaseCapacityKey, consts.CortexVersionMinor)) + fmt.Printf("WARNING: you've disabled on-demand instances (%s=0 and %s=0); spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information\n", clusterconfig.OnDemandBaseCapacityKey, clusterconfig.OnDemandPercentageAboveBaseCapacityKey, consts.CortexVersionMinor) } else { fmt.Printf("WARNING: you've enabled spot instances; spot instances are not guaranteed to be available so please take that into account for production clusters; see https://www.cortex.dev/v/%s/cluster-management/spot-instances for more information\n", consts.CortexVersionMinor) }