Skip to content

Commit

Permalink
chore: update examples/eks-managed-node-group
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoshauer committed Jan 10, 2025
1 parent 6fc0fd2 commit 050f3a2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
11 changes: 7 additions & 4 deletions examples/eks-managed-node-group/eks-al2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ module "eks_al2" {

# EKS Addons
cluster_addons = {
coredns = {}
eks-pod-identity-agent = {}
kube-proxy = {}
vpc-cni = {}
coredns = {}
eks-pod-identity-agent = {}
kube-proxy = {}
vpc-cni = {}
eks-node-monitoring-agent = {}
}

vpc_id = module.vpc.vpc_id
Expand All @@ -27,6 +28,8 @@ module "eks_al2" {
# This value is ignored after the initial creation
# https://github.com/bryantbiggs/eks-desired-size-hack
desired_size = 2

node_repair_config_enabled = true
}
}

Expand Down
11 changes: 7 additions & 4 deletions examples/eks-managed-node-group/eks-al2023.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ module "eks_al2023" {

# EKS Addons
cluster_addons = {
coredns = {}
eks-pod-identity-agent = {}
kube-proxy = {}
vpc-cni = {}
coredns = {}
eks-pod-identity-agent = {}
kube-proxy = {}
vpc-cni = {}
eks-node-monitoring-agent = {}
}

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

node_repair_config_enabled = true

# This is not required - demonstrates how to pass additional configuration to nodeadm
# Ref https://awslabs.github.io/amazon-eks-ami/nodeadm/doc/api/
cloudinit_pre_nodeadm = [
Expand Down
11 changes: 7 additions & 4 deletions examples/eks-managed-node-group/eks-bottlerocket.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ module "eks_bottlerocket" {

# EKS Addons
cluster_addons = {
coredns = {}
eks-pod-identity-agent = {}
kube-proxy = {}
vpc-cni = {}
coredns = {}
eks-pod-identity-agent = {}
kube-proxy = {}
vpc-cni = {}
eks-node-monitoring-agent = {}
}

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

node_repair_config_enabled = true

# This is not required - demonstrates how to pass additional configuration
# Ref https://bottlerocket.dev/en/os/1.19.x/api/settings/
bootstrap_extra_args = <<-EOT
Expand Down

0 comments on commit 050f3a2

Please sign in to comment.