Created
October 16, 2022 05:26
-
-
Save VishDev12/d6812b94d8f4c2c75880e7e2e9286215 to your computer and use it in GitHub Desktop.
An AWSNodeTemplate to configure the general-cpu provisioner.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: karpenter.k8s.aws/v1alpha1 | |
| kind: AWSNodeTemplate | |
| metadata: | |
| name: general-cpu | |
| spec: | |
| subnetSelector: | |
| karpenter.sh/discovery: cluster-name | |
| securityGroupSelector: | |
| karpenter.sh/discovery: cluster-name | |
| # Tags attached to the launched EC2 instances. | |
| tags: | |
| Name: cluster-name-general-cpu | |
| environment: staging | |
| purpose: general-cpu | |
| # Configure the attach EBS Volumes. | |
| blockDeviceMappings: | |
| - deviceName: /dev/xvda | |
| ebs: | |
| volumeSize: 50Gi | |
| volumeType: gp3 | |
| deleteOnTermination: true | |
| # Select the AMI backing the EC2 instance. | |
| # For more, visit bit.ly/3s1pXCE. | |
| amiSelector: | |
| aws-ids: ami-1234567abcde890fg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment