Skip to content

Commit

Permalink
Added instruction for setting subnets_name
Browse files Browse the repository at this point in the history
  • Loading branch information
dang0317 committed Dec 14, 2023
1 parent 41a7333 commit c61f3ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/full-cluster-tf-upgrade/1.25/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand All @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}-*"
4 changes: 3 additions & 1 deletion examples/full-cluster-tf-upgrade/1.28/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand All @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}-*"

0 comments on commit c61f3ba

Please sign in to comment.