Skip to content

Commit

Permalink
add karpenter v1beta1 crds (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
moreiramarti authored Dec 14, 2023
1 parent 1096827 commit 4a4cbac
Show file tree
Hide file tree
Showing 6 changed files with 2,001 additions and 0 deletions.
105 changes: 105 additions & 0 deletions karpenter.k8s.aws/awsnodetemplate_v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,111 @@
},
"type": "object",
"additionalProperties": false
},
"status": {
"description": "AWSNodeTemplateStatus contains the resolved state of the AWSNodeTemplate",
"properties": {
"amis": {
"description": "AMI contains the current AMI values that are available to the cluster under the AMI selectors.",
"items": {
"description": "AMI contains resolved AMI selector values utilized for node launch",
"properties": {
"id": {
"description": "ID of the AMI",
"type": "string"
},
"name": {
"description": "Name of the AMI",
"type": "string"
},
"requirements": {
"description": "Requirements of the AMI to be utilized on an instance type",
"items": {
"description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
"properties": {
"key": {
"description": "The label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.",
"type": "string"
},
"values": {
"description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"key",
"operator"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"required": [
"id",
"requirements"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"securityGroups": {
"description": "SecurityGroups contains the current Security Groups values that are available to the cluster under the SecurityGroups selectors.",
"items": {
"description": "SecurityGroup contains resolved SecurityGroup selector values utilized for node launch",
"properties": {
"id": {
"description": "ID of the security group",
"type": "string"
},
"name": {
"description": "Name of the security group",
"type": "string"
}
},
"required": [
"id"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"subnets": {
"description": "Subnets contains the current Subnet values that are available to the cluster under the subnet selectors.",
"items": {
"description": "Subnet contains resolved Subnet selector values utilized for node launch",
"properties": {
"id": {
"description": "ID of the subnet",
"type": "string"
},
"zone": {
"description": "The associated availability zone",
"type": "string"
}
},
"required": [
"id",
"zone"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
Expand Down
Loading

0 comments on commit 4a4cbac

Please sign in to comment.