From c61f3bad0aaacd64e13d2ffafbcea8577b22ad6b Mon Sep 17 00:00:00 2001 From: dang0317 Date: Wed, 13 Dec 2023 23:01:33 -0500 Subject: [PATCH] Added instruction for setting subnets_name --- examples/full-cluster-tf-upgrade/1.25/README.md | 4 +++- .../full-cluster-tf-upgrade/1.25/settings.auto.tfvars.example | 1 + examples/full-cluster-tf-upgrade/1.28/README.md | 4 +++- .../full-cluster-tf-upgrade/1.28/settings.auto.tfvars.example | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/full-cluster-tf-upgrade/1.25/README.md b/examples/full-cluster-tf-upgrade/1.25/README.md index 766d59b..740b85f 100644 --- a/examples/full-cluster-tf-upgrade/1.25/README.md +++ b/examples/full-cluster-tf-upgrade/1.25/README.md @@ -74,7 +74,7 @@ ns-0.awsdns-us-gov-00.com. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 8640 Here is a sample file: ```hcl -cluster_name = "org-project-env +cluster_name = "org-project-env" cluster_version = "1.25" region = "us-gov-east-1" domain = "org-project-env.env.domain.census.gov" @@ -84,6 +84,7 @@ eks_instance_type = "t3.xlarge" eks_ng_desire_size = 3 eks_ng_max_size = 15 eks_ng_min_size = 3 +subnets_name = "*-subnet_label-*" ``` You need to change these values: @@ -94,6 +95,7 @@ These are tracked in the repo [cloud-information/aws/documentation/containers/]( * domain: this is the domain name of the clsuter, consisting of the cluster name and the proper domain name for the environment/VPC. * eks_instance_disk_size: this should be default to 40Gb for most use-cases; only change this if you have special requirement and have exception approval. * eks_vpc_name: replace *vpc_full_name* with the appropriate vpc full name. This is used to find the vpc ID. +* subnets_name: replace *subnet_label* with the label of the subnets allocated to providing ENIs for the cluster node group and containers; often as `container` or `task` All the others are subject to your configuration. They are a good starting point, but can vary. diff --git a/examples/full-cluster-tf-upgrade/1.25/settings.auto.tfvars.example b/examples/full-cluster-tf-upgrade/1.25/settings.auto.tfvars.example index c0171f3..517714b 100644 --- a/examples/full-cluster-tf-upgrade/1.25/settings.auto.tfvars.example +++ b/examples/full-cluster-tf-upgrade/1.25/settings.auto.tfvars.example @@ -12,3 +12,4 @@ eks_instance_type = "t3.xlarge" eks_ng_desire_size = 3 eks_ng_max_size = 15 eks_ng_min_size = 3 +subnets_name = "*-{subnet_label}-*" diff --git a/examples/full-cluster-tf-upgrade/1.28/README.md b/examples/full-cluster-tf-upgrade/1.28/README.md index 2071936..33b9baa 100644 --- a/examples/full-cluster-tf-upgrade/1.28/README.md +++ b/examples/full-cluster-tf-upgrade/1.28/README.md @@ -74,7 +74,7 @@ ns-0.awsdns-us-gov-00.com. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 8640 Here is a sample file: ```hcl -cluster_name = "org-project-env +cluster_name = "org-project-env" cluster_version = "1.28" region = "us-gov-east-1" domain = "org-project-env.env.domain.census.gov" @@ -84,6 +84,7 @@ eks_instance_type = "t3.xlarge" eks_ng_desire_size = 3 eks_ng_max_size = 15 eks_ng_min_size = 3 +subnets_name = "*-subnet_label-*" ``` You need to change these values: @@ -94,6 +95,7 @@ These are tracked in the repo [cloud-information/aws/documentation/containers/]( * domain: this is the domain name of the clsuter, consisting of the cluster name and the proper domain name for the environment/VPC. * eks_instance_disk_size: this should be default to 40Gb for most use-cases; only change this if you have special requirement and have exception approval. * eks_vpc_name: replace *vpc_full_name* with the appropriate vpc full name. This is used to find the vpc ID. +* subnets_name: replace *subnet_label* with the label of the subnets allocated to providing ENIs for the cluster node group and containers; often as `container` or `task` All the others are subject to your configuration. They are a good starting point, but can vary. diff --git a/examples/full-cluster-tf-upgrade/1.28/settings.auto.tfvars.example b/examples/full-cluster-tf-upgrade/1.28/settings.auto.tfvars.example index d463a11..0b5079c 100644 --- a/examples/full-cluster-tf-upgrade/1.28/settings.auto.tfvars.example +++ b/examples/full-cluster-tf-upgrade/1.28/settings.auto.tfvars.example @@ -12,3 +12,4 @@ eks_instance_type = "t3.xlarge" eks_ng_desire_size = 3 eks_ng_max_size = 15 eks_ng_min_size = 3 +subnets_name = "*-{subnet_label}-*"