Difference between revisions of "EOT"

From wikieduonline
Jump to navigation Jump to search
(Created page with " https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/complete/main.tf self_managed_node_groups = { spot = { instance_type = "m5.larg...")
Tags: Mobile web edit, Mobile edit
 
 
(10 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
  
https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/complete/main.tf
+
[[Terraform EKS module]] example: https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/complete/main.tf
  
  self_managed_node_groups = {
+
{{EOT self_managed_node_groups}}
    spot = {
 
      instance_type = "m5.large"
 
      instance_market_options = {
 
        market_type = "spot"
 
      }
 
  
      pre_bootstrap_user_data = <<-EOT
 
        echo "foo"
 
        export FOO=bar
 
      EOT
 
  
      bootstrap_extra_args = "--kubelet-extra-args '--node-labels=node.kubernetes.io/lifecycle=spot'"
 
  
      post_bootstrap_user_data = <<-EOT
 
        cd /tmp
 
        sudo yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm
 
        sudo systemctl enable amazon-ssm-agent
 
        sudo systemctl start amazon-ssm-agent
 
      EOT
 
    }
 
  }
 
  
 +
== Related ==
 +
* [[EOF]]
  
 +
== See also ==
 +
* {{tf eks module}}
 +
* {{EOF}}
  
[[EOF]]
+
[[Category:EKS]]

Latest revision as of 09:22, 29 August 2023

Advertising: