mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-03 05:44:27 +02:00
docs: Move examples that are more like test cases to the new tests/ directory; add better example configurations (#3069)
* chore: Move examples that are more like test cases to the new `tests/` directory * chore: Stash * feat: Add better examples for EKS managed node groups * chore: Add better examples for self-managed node groups * chore: Update docs and correct `nodegroup` to `node group`
This commit is contained in:
23
examples/eks-managed-node-group/README.md
Normal file
23
examples/eks-managed-node-group/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# EKS Managed Node Group Examples
|
||||
|
||||
Configuration in this directory creates Amazon EKS clusters with EKS Managed Node Groups demonstrating different configurations:
|
||||
|
||||
- `eks-al2.tf` demonstrates an EKS cluster using EKS managed node group that utilizes the EKS Amazon Linux 2 optimized AMI
|
||||
- `eks-al2023.tf` demonstrates an EKS cluster using EKS managed node group that utilizes the EKS Amazon Linux 2023 optimized AMI
|
||||
- `eks-bottlerocket.tf` demonstrates an EKS cluster using EKS managed node group that utilizes the Bottlerocket EKS optimized AMI
|
||||
|
||||
See the [AWS documentation](https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html) for additional details on Amazon EKS managed node groups.
|
||||
|
||||
The different cluster configuration examples provided are separated per file and independent of the other cluster configurations.
|
||||
|
||||
## Usage
|
||||
|
||||
To provision the provided configurations you need to execute:
|
||||
|
||||
```bash
|
||||
$ terraform init
|
||||
$ terraform plan
|
||||
$ terraform apply --auto-approve
|
||||
```
|
||||
|
||||
Note that this example may create resources which cost money. Run `terraform destroy` when you don't need these resources.
|
||||
Reference in New Issue
Block a user