Skip to content

Commit

Permalink
codegen ec2nodeclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
DingGGu committed Jun 14, 2024
1 parent 1e5fd43 commit 6866d60
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,20 @@ spec:
rule: self.all(k, k !='karpenter.sh/nodeclaim')
- message: tag contains a restricted tag matching karpenter.k8s.aws/ec2nodeclass
rule: self.all(k, k !='karpenter.k8s.aws/ec2nodeclass')
tenancy:
description: |-
Tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.
If not set, Tenancy will be set to default.
Currently, Karpenter only support default and dedicated option.
For more information,
See the AWS::EC2::LaunchTemplate Placement Document.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-launchtemplate-placement.html
enum:
- default
- dedicated
type: string
userData:
description: |-
UserData to be applied to the provisioned nodes.
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6866d60

Please sign in to comment.