Skip to content

Commit

Permalink
Added full-cluster example for EKS 1.28
Browse files Browse the repository at this point in the history
  • Loading branch information
dang0317 committed Dec 13, 2023
1 parent 9b2b994 commit 41a7333
Show file tree
Hide file tree
Showing 272 changed files with 11,573 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/full-cluster-tf-upgrade/1.25/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ eks_ng_min_size = 3
You need to change these values:

* cluster_name: put in the proper org, project, and environment. Cluster names should not be replicated across the environment.
These are tracked in the repo cloud-information/aws/documentation/containers/ (fix link).
These are tracked in the repo [cloud-information/aws/documentation/containers/](https://github.e.it.census.gov/terraform/cloud-information/blob/master/documentation/dns.md).
* region: include the correct region. This really is a duplicate of the `region` variable, so it may be removed in the future.
* 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.
Expand Down
5 changes: 5 additions & 0 deletions examples/full-cluster-tf-upgrade/1.28/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kube.config
ecr-login.txt
setup/ec2-ssh-eks-*
!setup/ec2-ssh-eks-*.pub
logs
20 changes: 20 additions & 0 deletions examples/full-cluster-tf-upgrade/1.28/.tf-control
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .tf-control
# allows for setting a specific command to be used for tf-* commands under this git repo
# see tf-control.sh help for more info

TFCONTROL_VERSION="1.0.5"

TFCOMMAND="terraform_latest"
# TF_CLI_CONFIG_FILE=PATH-TO-FILE/.tf-control.tfrc
# TFARGS=""
# TFNOLOG=""
# TFNOCOLOR=""

# use the following to force a specific version. An upgrade of an existing 0.12.31 to 1.x
# needs you to cycle through 0.13.17, 0.14.11, and then latest (0.15.5 not needed). Other
# steps in between. See https://github.e.it.census.gov/terraform/support/tree/master/docs/how-to/terraform-upgrade for details
#
#TFCOMMAND="terraform_0.12.31"
#TFCOMMAND="terraform_0.13.7"
#TFCOMMAND="terraform_0.14.11"
#TFCOMMAND="terraform_0.15.5"
24 changes: 24 additions & 0 deletions examples/full-cluster-tf-upgrade/1.28/.tf-control.tfrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
TFCONTROL_VERSION="1.0.5"

# https://www.terraform.io/docs/cli/config/config-file.html
plugin_cache_dir = "/data/terraform/terraform.d/plugin-cache"
#disable_checkpoint = true

provider_installation {
# filesystem_mirror {
# path = "/apps/terraform/terraform.d/providers"
# include = [ "*/*/*" ]
# }
filesystem_mirror {
path = "/data/terraform/terraform.d/providers"
include = [ "*/*/*" ]
}
# filesystem_mirror {
# path = "/apps/terraform/terraform.d/providers"
# include = [ "external.terraform.census.gov/*/*" ]
# }
direct {
include = [ "*/*/*" ]
}
}

Loading

0 comments on commit 41a7333

Please sign in to comment.