Skip to content

Commit 050f3a2

Browse files
committed
chore: update examples/eks-managed-node-group
1 parent 6fc0fd2 commit 050f3a2

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

examples/eks-managed-node-group/eks-al2.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ module "eks_al2" {
77

88
# EKS Addons
99
cluster_addons = {
10-
coredns = {}
11-
eks-pod-identity-agent = {}
12-
kube-proxy = {}
13-
vpc-cni = {}
10+
coredns = {}
11+
eks-pod-identity-agent = {}
12+
kube-proxy = {}
13+
vpc-cni = {}
14+
eks-node-monitoring-agent = {}
1415
}
1516

1617
vpc_id = module.vpc.vpc_id
@@ -27,6 +28,8 @@ module "eks_al2" {
2728
# This value is ignored after the initial creation
2829
# https://github.com/bryantbiggs/eks-desired-size-hack
2930
desired_size = 2
31+
32+
node_repair_config_enabled = true
3033
}
3134
}
3235

examples/eks-managed-node-group/eks-al2023.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ module "eks_al2023" {
77

88
# EKS Addons
99
cluster_addons = {
10-
coredns = {}
11-
eks-pod-identity-agent = {}
12-
kube-proxy = {}
13-
vpc-cni = {}
10+
coredns = {}
11+
eks-pod-identity-agent = {}
12+
kube-proxy = {}
13+
vpc-cni = {}
14+
eks-node-monitoring-agent = {}
1415
}
1516

1617
vpc_id = module.vpc.vpc_id
@@ -27,6 +28,8 @@ module "eks_al2023" {
2728
# https://github.com/bryantbiggs/eks-desired-size-hack
2829
desired_size = 2
2930

31+
node_repair_config_enabled = true
32+
3033
# This is not required - demonstrates how to pass additional configuration to nodeadm
3134
# Ref https://awslabs.github.io/amazon-eks-ami/nodeadm/doc/api/
3235
cloudinit_pre_nodeadm = [

examples/eks-managed-node-group/eks-bottlerocket.tf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ module "eks_bottlerocket" {
77

88
# EKS Addons
99
cluster_addons = {
10-
coredns = {}
11-
eks-pod-identity-agent = {}
12-
kube-proxy = {}
13-
vpc-cni = {}
10+
coredns = {}
11+
eks-pod-identity-agent = {}
12+
kube-proxy = {}
13+
vpc-cni = {}
14+
eks-node-monitoring-agent = {}
1415
}
1516

1617
vpc_id = module.vpc.vpc_id
@@ -27,6 +28,8 @@ module "eks_bottlerocket" {
2728
# https://github.com/bryantbiggs/eks-desired-size-hack
2829
desired_size = 2
2930

31+
node_repair_config_enabled = true
32+
3033
# This is not required - demonstrates how to pass additional configuration
3134
# Ref https://bottlerocket.dev/en/os/1.19.x/api/settings/
3235
bootstrap_extra_args = <<-EOT

0 commit comments

Comments
 (0)