Skip to content

Commit

Permalink
Barebones readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zawac002 committed Sep 26, 2023
1 parent b3e9cb4 commit ec1005b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
# tfmod-eks-storage-classes
# tfmod-eks-configuration

The module configures an eks cluster with additional components after the cluster is created.

- Storage classes
- A gp3-encrypted storage class is created and made the default storage class
- This storage class is returned as the `rwo_storage_class`
- A gp2-encrypted storage class is created
- An efs storage class is created
- This storage class is returned as the `rwx_storage_class`
- cluster-autoscaler
- Monitors cpu/memory usage by components being deployed to the clsuter.
- When the cluster is out of capacity, the autoscaler will add nodes to the cluster up to the maximum size of the node group.
- When the autoscaler detects excess capacity, the autoscaler will cause EKS to migrate pods running on the node to a different node and then remove the node from the cluster.

When selecting which version of the cluster-autoscaler to install, use the one that is closest to the same version as the `cluster_version` or slightly higher.
The cluster-autoscaler uses the kuberentes scheduling algorithm to appropriate scale the cluster, and if the autoscaler version sufficiently divirges from the kubernetes version, the autoscaler will scale the node groups incorrectly.

0 comments on commit ec1005b

Please sign in to comment.