...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/managed-by-kcc: "true"
9 cnrm.cloud.google.com/stability-level: stable
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: computenodetemplates.compute.cnrm.cloud.google.com
13spec:
14 group: compute.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: ComputeNodeTemplate
19 plural: computenodetemplates
20 shortNames:
21 - gcpcomputenodetemplate
22 - gcpcomputenodetemplates
23 singular: computenodetemplate
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 cpuOvercommitType:
62 description: 'Immutable. CPU overcommit. Default value: "NONE" Possible
63 values: ["ENABLED", "NONE"].'
64 type: string
65 description:
66 description: Immutable. An optional textual description of the resource.
67 type: string
68 nodeType:
69 description: |-
70 Immutable. Node type to use for nodes group that are created from this template.
71 Only one of nodeTypeFlexibility and nodeType can be specified.
72 type: string
73 nodeTypeFlexibility:
74 description: |-
75 Immutable. Flexible properties for the desired node type. Node groups that
76 use this node template will create nodes of a type that matches
77 these properties. Only one of nodeTypeFlexibility and nodeType can
78 be specified.
79 properties:
80 cpus:
81 description: Immutable. Number of virtual CPUs to use.
82 type: string
83 localSsd:
84 description: Use local SSD.
85 type: string
86 memory:
87 description: Immutable. Physical memory available to the node,
88 defined in MB.
89 type: string
90 type: object
91 region:
92 description: |-
93 Immutable. Region where nodes using the node template will be created.
94 If it is not provided, the provider region is used.
95 type: string
96 resourceID:
97 description: Immutable. Optional. The name of the resource. Used for
98 creation and acquisition. When unset, the value of `metadata.name`
99 is used as the default.
100 type: string
101 serverBinding:
102 description: |-
103 Immutable. The server binding policy for nodes using this template. Determines
104 where the nodes should restart following a maintenance event.
105 properties:
106 type:
107 description: |-
108 Immutable. Type of server binding policy. If 'RESTART_NODE_ON_ANY_SERVER',
109 nodes using this template will restart on any physical server
110 following a maintenance event.
111
112 If 'RESTART_NODE_ON_MINIMAL_SERVER', nodes using this template
113 will restart on the same physical server following a maintenance
114 event, instead of being live migrated to or restarted on a new
115 physical server. This option may be useful if you are using
116 software licenses tied to the underlying server characteristics
117 such as physical sockets or cores, to avoid the need for
118 additional licenses when maintenance occurs. However, VMs on such
119 nodes will experience outages while maintenance is applied. Possible values: ["RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS"].
120 type: string
121 required:
122 - type
123 type: object
124 required:
125 - region
126 type: object
127 status:
128 properties:
129 conditions:
130 description: Conditions represent the latest available observation
131 of the resource's current state.
132 items:
133 properties:
134 lastTransitionTime:
135 description: Last time the condition transitioned from one status
136 to another.
137 type: string
138 message:
139 description: Human-readable message indicating details about
140 last transition.
141 type: string
142 reason:
143 description: Unique, one-word, CamelCase reason for the condition's
144 last transition.
145 type: string
146 status:
147 description: Status is the status of the condition. Can be True,
148 False, Unknown.
149 type: string
150 type:
151 description: Type is the type of the condition.
152 type: string
153 type: object
154 type: array
155 creationTimestamp:
156 description: Creation timestamp in RFC3339 text format.
157 type: string
158 observedGeneration:
159 description: ObservedGeneration is the generation of the resource
160 that was most recently observed by the Config Connector controller.
161 If this is equal to metadata.generation, then that means that the
162 current reported status reflects the most recent desired state of
163 the resource.
164 type: integer
165 selfLink:
166 type: string
167 type: object
168 required:
169 - spec
170 type: object
171 served: true
172 storage: true
173 subresources:
174 status: {}
175status:
176 acceptedNames:
177 kind: ""
178 plural: ""
179 conditions: []
180 storedVersions: []
View as plain text