AWS EKS provisioning¶
Archived (pre-2022)
Preserved for reference only -- likely outdated. View original | Last updated: July 2019
EKS k8s cluster deployed using two TF modules:
- EKS controlplane: eks_controlplane (Github)
- Spotinst Ocean group: spotinst_ocean_aws (Github)
TF module eks_controlplane usage example: controlplane.tf (Github)
TF module spotinst_ocean_aws usage example: nodegroups.tf (Github)
By applying TF scripts shown above AWS EKS service with Spotinst Ocean group attached to it will be created.
Note
The only action that needs to be taken outside of the TF scripts described above is applying appropriate k8s related tagging for AWS resources(VPC, subnets). This depends on tools and approach used to provision these resources. Please refer to AWS docs for more information: Network Reqs