Editing Node groups.tf
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/node_groups.tf | https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/node_groups.tf | ||
− | |||
− | |||
− | |||
== Official example == | == Official example == | ||
− | + | <pre> | |
− | + | locals { | |
metadata_options = { | metadata_options = { | ||
http_endpoint = "enabled" | http_endpoint = "enabled" | ||
Line 14: | Line 11: | ||
http_put_response_hop_limit = 2 | http_put_response_hop_limit = 2 | ||
} | } | ||
− | + | ||
# EKS managed node group | # EKS managed node group | ||
default_update_config = { | default_update_config = { | ||
max_unavailable_percentage = 33 | max_unavailable_percentage = 33 | ||
} | } | ||
− | + | ||
# Self-managed node group | # Self-managed node group | ||
default_instance_refresh = { | default_instance_refresh = { | ||
Line 27: | Line 24: | ||
} | } | ||
} | } | ||
− | + | } | |
− | |||
# This sleep resource is used to provide a timed gap between the cluster creation and the downstream dependencies | # This sleep resource is used to provide a timed gap between the cluster creation and the downstream dependencies | ||
# that consume the outputs from here. Any of the values that are used as triggers can be used in dependencies | # that consume the outputs from here. Any of the values that are used as triggers can be used in dependencies | ||
Line 517: | Line 513: | ||
== See also == | == See also == | ||
* {{tf eks module}} | * {{tf eks module}} | ||
− | |||
− |
Advertising: