Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions aws/eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ module "eks" {
max_size = 3
desired_size = 3
}
# To deploy this change, a blue-green deployment is necessary.
# First, add the new `worker-green` node group, with a tf plan + apply.
# After confirming success, remove the previous `worker` node group,
# with a tf plan + apply.
worker-green = {
name = "opal-worker-greenn"
max_size = 3
desired_size = 2
subnet_ids = concat([
for subnet_id in module.vpc.private_subnets : subnet_id if subnet_id != "<private_subnet_id_to_exclude>"
], [
for subnet_id in module.vpc.public_subnets : subnet_id if subnet_id != "<public_subnet_id_to_exclude>"
])
}
}

# show example auth config map
Expand Down