Skip to content

Commit bf8459d

Browse files
feat: update ami (#129)
1 parent 4a14782 commit bf8459d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module "captain" {
2626
availability_zones = ["us-west-2a", "us-west-2b"]
2727
node_pools = [
2828
# {
29-
# "ami_image_id" : "ami-0408823a87d4095d9",
29+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
3030
# "instance_type" : "t3a.large",
3131
# "name" : "glueops-platform-node-pool-1",
3232
# "node_count" : 4,
@@ -46,7 +46,7 @@ module "captain" {
4646
# ]
4747
# },
4848
# {
49-
# "ami_image_id" : "ami-0408823a87d4095d9",
49+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
5050
# "instance_type" : "t3a.small",
5151
# "name" : "glueops-platform-node-pool-argocd-app-controller-1",
5252
# "node_count" : 2,
@@ -66,7 +66,7 @@ module "captain" {
6666
# ]
6767
# },
6868
# {
69-
# "ami_image_id" : "ami-0408823a87d4095d9",
69+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
7070
# "instance_type" : "t3a.medium",
7171
# "name" : "clusterwide-node-pool-1",
7272
# "node_count" : 2,
@@ -195,7 +195,7 @@ No requirements.
195195
| <a name="input_eks_version"></a> [eks\_version](#input\_eks\_version) | The version of EKS to deploy | `string` | `"1.27"` | no |
196196
| <a name="input_iam_role_to_assume"></a> [iam\_role\_to\_assume](#input\_iam\_role\_to\_assume) | The full ARN of the IAM role to assume | `string` | n/a | yes |
197197
| <a name="input_kube_proxy_version"></a> [kube\_proxy\_version](#input\_kube\_proxy\_version) | You should grab the appropriate version number from: https://docs.aws.amazon.com/eks/latest/userguide/managing-kube-proxy.html | `string` | `"v1.28.8-eksbuild.5"` | no |
198-
| <a name="input_node_pools"></a> [node\_pools](#input\_node\_pools) | node pool configurations:<br> - name (string): Name of the node pool. MUST BE UNIQUE! Recommended to use YYYYMMDD in the name<br> - node\_count (number): number of nodes to create in the node pool.<br> - instance\_type (string): Instance type to use for the nodes. ref: https://instances.vantage.sh/<br> - ami\_image\_id (string): AMI image ID to use for EKS worker nodes. This varies per region!! ref: https://github.com/awslabs/amazon-eks-ami/releases to find the AMI ID go to the console: https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#Images:visibility=public-images;search=amazon-eks-node-1.28-v20230703<br> - spot (bool): Enable spot instances for the nodes. DO NOT ENABLE IN PROD!<br> - disk\_size\_gb (number): Disk size in GB for the nodes.<br> - max\_pods (number): max pods that can be scheduled per node.<br> - ssh\_key\_pair\_names (list(string)): List of SSH key pair names to associate with the nodes. ref: https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#KeyPairs:<br> - kubernetes\_labels (map(string)): Map of labels to apply to the nodes. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/<br> - kubernetes\_taints (list(object)): List of taints to apply to the nodes. ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ | <pre>list(object({<br> name = string<br> node_count = number<br> instance_type = string<br> ami_image_id = string<br> spot = bool<br> disk_size_gb = number<br> max_pods = number<br> ssh_key_pair_names = list(string)<br> kubernetes_labels = map(string)<br> kubernetes_taints = list(object({<br> key = string<br> value = string<br> effect = string<br> }))<br><br> }))</pre> | <pre>[<br> {<br> "ami_image_id": "ami-0408823a87d4095d9",<br> "disk_size_gb": 20,<br> "instance_type": "t3a.large",<br> "kubernetes_labels": {},<br> "kubernetes_taints": [],<br> "max_pods": 110,<br> "name": "default-pool",<br> "node_count": 1,<br> "spot": false,<br> "ssh_key_pair_names": []<br> }<br>]</pre> | no |
198+
| <a name="input_node_pools"></a> [node\_pools](#input\_node\_pools) | node pool configurations:<br> - name (string): Name of the node pool. MUST BE UNIQUE! Recommended to use YYYYMMDD in the name<br> - node\_count (number): number of nodes to create in the node pool.<br> - instance\_type (string): Instance type to use for the nodes. ref: https://instances.vantage.sh/<br> - ami\_image\_id (string): AMI image ID to use for EKS worker nodes. This varies per region!! ref: https://github.com/awslabs/amazon-eks-ami/releases to find the AMI ID go to the console: https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#Images:visibility=public-images;search=amazon-eks-node-1.28-v20230703<br> - spot (bool): Enable spot instances for the nodes. DO NOT ENABLE IN PROD!<br> - disk\_size\_gb (number): Disk size in GB for the nodes.<br> - max\_pods (number): max pods that can be scheduled per node.<br> - ssh\_key\_pair\_names (list(string)): List of SSH key pair names to associate with the nodes. ref: https://us-west-2.console.aws.amazon.com/ec2/home?region=us-west-2#KeyPairs:<br> - kubernetes\_labels (map(string)): Map of labels to apply to the nodes. ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/<br> - kubernetes\_taints (list(object)): List of taints to apply to the nodes. ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ | <pre>list(object({<br> name = string<br> node_count = number<br> instance_type = string<br> ami_image_id = string<br> spot = bool<br> disk_size_gb = number<br> max_pods = number<br> ssh_key_pair_names = list(string)<br> kubernetes_labels = map(string)<br> kubernetes_taints = list(object({<br> key = string<br> value = string<br> effect = string<br> }))<br><br> }))</pre> | <pre>[<br> {<br> "ami_image_id": "ami-0be1daad79c89dd0a",<br> "disk_size_gb": 20,<br> "instance_type": "t3a.large",<br> "kubernetes_labels": {},<br> "kubernetes_taints": [],<br> "max_pods": 110,<br> "name": "default-pool",<br> "node_count": 1,<br> "spot": false,<br> "ssh_key_pair_names": []<br> }<br>]</pre> | no |
199199
| <a name="input_peering_configs"></a> [peering\_configs](#input\_peering\_configs) | A list of maps containing VPC peering configuration details | <pre>list(object({<br> vpc_peering_connection_id = string<br> destination_cidr_block = string<br> }))</pre> | `[]` | no |
200200
| <a name="input_region"></a> [region](#input\_region) | The AWS region to deploy into | `string` | n/a | yes |
201201
| <a name="input_vpc_cidr_block"></a> [vpc\_cidr\_block](#input\_vpc\_cidr\_block) | The CIDR block for the VPC | `string` | `"10.65.0.0/26"` | no |

docs/.header.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module "captain" {
2525
availability_zones = ["us-west-2a", "us-west-2b"]
2626
node_pools = [
2727
# {
28-
# "ami_image_id" : "ami-0408823a87d4095d9",
28+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
2929
# "instance_type" : "t3a.large",
3030
# "name" : "glueops-platform-node-pool-1",
3131
# "node_count" : 4,
@@ -45,7 +45,7 @@ module "captain" {
4545
# ]
4646
# },
4747
# {
48-
# "ami_image_id" : "ami-0408823a87d4095d9",
48+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
4949
# "instance_type" : "t3a.small",
5050
# "name" : "glueops-platform-node-pool-argocd-app-controller-1",
5151
# "node_count" : 2,
@@ -65,7 +65,7 @@ module "captain" {
6565
# ]
6666
# },
6767
# {
68-
# "ami_image_id" : "ami-0408823a87d4095d9",
68+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
6969
# "instance_type" : "t3a.medium",
7070
# "name" : "clusterwide-node-pool-1",
7171
# "node_count" : 2,

tests/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module "captain" {
1010
availability_zones = ["us-west-2a", "us-west-2b"]
1111
node_pools = [
1212
# {
13-
# "ami_image_id" : "ami-0408823a87d4095d9",
13+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
1414
# "instance_type" : "t3a.large",
1515
# "name" : "glueops-platform-node-pool-1",
1616
# "node_count" : 4,
@@ -30,7 +30,7 @@ module "captain" {
3030
# ]
3131
# },
3232
# {
33-
# "ami_image_id" : "ami-0408823a87d4095d9",
33+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
3434
# "instance_type" : "t3a.small",
3535
# "name" : "glueops-platform-node-pool-argocd-app-controller-1",
3636
# "node_count" : 2,
@@ -50,7 +50,7 @@ module "captain" {
5050
# ]
5151
# },
5252
# {
53-
# "ami_image_id" : "ami-0408823a87d4095d9",
53+
# "ami_image_id" : "ami-0be1daad79c89dd0a",
5454
# "instance_type" : "t3a.medium",
5555
# "name" : "clusterwide-node-pool-1",
5656
# "node_count" : 2,

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ variable "node_pools" {
9090
name = "default-pool"
9191
node_count = 1
9292
instance_type = "t3a.large"
93-
ami_image_id = "ami-0408823a87d4095d9"
93+
ami_image_id = "ami-0be1daad79c89dd0a"
9494
spot = false
9595
disk_size_gb = 20
9696
max_pods = 110

0 commit comments

Comments
 (0)