From 75a57e80dee552b03d2c43222ad4147a664407fb Mon Sep 17 00:00:00 2001 From: idanshoham Date: Thu, 13 Jul 2023 14:45:39 +0300 Subject: [PATCH 1/2] feat(spot): update docs about setting the VNG Size Limits in Launch Spec --- docs/getting_started/spot-ocean.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/getting_started/spot-ocean.md b/docs/getting_started/spot-ocean.md index 26846da03a..ee2f5fb4e6 100644 --- a/docs/getting_started/spot-ocean.md +++ b/docs/getting_started/spot-ocean.md @@ -143,7 +143,18 @@ metadata: labels: kops.k8s.io/cluster: "example" spotinst.io/spot-percentage: "90" - ... + spec: + image: 099720109477/ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20221206 + instanceMetadata: + httpPutResponseHopLimit: 1 + httpTokens: required + machineType: m5.large + #define the max and min numbers of instances in the group + maxSize: 1 + minSize: 3 + role: Node + subnets: + - us-west-2b ``` ## InstanceGroup Metadata Labels From b1c1144a7a370459d045240ced3a91c0c31290de Mon Sep 17 00:00:00 2001 From: idanshoham Date: Sun, 16 Jul 2023 13:27:45 +0300 Subject: [PATCH 2/2] fix minor mixed-up --- docs/getting_started/spot-ocean.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started/spot-ocean.md b/docs/getting_started/spot-ocean.md index ee2f5fb4e6..dd925ca18a 100644 --- a/docs/getting_started/spot-ocean.md +++ b/docs/getting_started/spot-ocean.md @@ -150,8 +150,8 @@ metadata: httpTokens: required machineType: m5.large #define the max and min numbers of instances in the group - maxSize: 1 - minSize: 3 + maxSize: 3 + minSize: 1 role: Node subnets: - us-west-2b