...
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: computenodegroups.compute.cnrm.cloud.google.com
13spec:
14 group: compute.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: ComputeNodeGroup
19 plural: computenodegroups
20 shortNames:
21 - gcpcomputenodegroup
22 - gcpcomputenodegroups
23 singular: computenodegroup
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 autoscalingPolicy:
62 description: |-
63 Immutable. If you use sole-tenant nodes for your workloads, you can use the node
64 group autoscaler to automatically manage the sizes of your node groups.
65 properties:
66 maxNodes:
67 description: |-
68 Immutable. Maximum size of the node group. Set to a value less than or equal
69 to 100 and greater than or equal to min-nodes.
70 type: integer
71 minNodes:
72 description: |-
73 Immutable. Minimum size of the node group. Must be less
74 than or equal to max-nodes. The default value is 0.
75 type: integer
76 mode:
77 description: |-
78 Immutable. The autoscaling mode. Set to one of the following:
79 - OFF: Disables the autoscaler.
80 - ON: Enables scaling in and scaling out.
81 - ONLY_SCALE_OUT: Enables only scaling out.
82 You must use this mode if your node groups are configured to
83 restart their hosted VMs on minimal servers. Possible values: ["OFF", "ON", "ONLY_SCALE_OUT"].
84 type: string
85 type: object
86 description:
87 description: Immutable. An optional textual description of the resource.
88 type: string
89 initialSize:
90 description: Immutable. The initial number of nodes in the node group.
91 One of 'initial_size' or 'size' must be specified.
92 type: integer
93 maintenancePolicy:
94 description: 'Immutable. Specifies how to handle instances when a
95 node in the group undergoes maintenance. Set to one of: DEFAULT,
96 RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value
97 is DEFAULT.'
98 type: string
99 maintenanceWindow:
100 description: Immutable. contains properties for the timeframe of maintenance.
101 properties:
102 startTime:
103 description: Immutable. instances.start time of the window. This
104 must be in UTC format that resolves to one of 00:00, 04:00,
105 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and
106 08:00 are valid.
107 type: string
108 required:
109 - startTime
110 type: object
111 nodeTemplateRef:
112 description: The node template to which this node group belongs.
113 oneOf:
114 - not:
115 required:
116 - external
117 required:
118 - name
119 - not:
120 anyOf:
121 - required:
122 - name
123 - required:
124 - namespace
125 required:
126 - external
127 properties:
128 external:
129 description: 'Allowed value: The `selfLink` field of a `ComputeNodeTemplate`
130 resource.'
131 type: string
132 name:
133 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
134 type: string
135 namespace:
136 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
137 type: string
138 type: object
139 resourceID:
140 description: Immutable. Optional. The name of the resource. Used for
141 creation and acquisition. When unset, the value of `metadata.name`
142 is used as the default.
143 type: string
144 shareSettings:
145 description: Immutable. Share settings for the node group.
146 properties:
147 projectMap:
148 description: Immutable. A map of project id and project config.
149 This is only valid when shareType's value is SPECIFIC_PROJECTS.
150 items:
151 properties:
152 idRef:
153 description: The key of this project config in the parent
154 map.
155 oneOf:
156 - not:
157 required:
158 - external
159 required:
160 - name
161 - not:
162 anyOf:
163 - required:
164 - name
165 - required:
166 - namespace
167 required:
168 - external
169 properties:
170 external:
171 description: 'Allowed value: The `name` field of a `Project`
172 resource.'
173 type: string
174 name:
175 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
176 type: string
177 namespace:
178 description: 'Namespace of the referent. More info:
179 https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
180 type: string
181 type: object
182 projectIdRef:
183 description: |-
184 The project id/number should be the same as the key of this project
185 config in the project map.
186 oneOf:
187 - not:
188 required:
189 - external
190 required:
191 - name
192 - not:
193 anyOf:
194 - required:
195 - name
196 - required:
197 - namespace
198 required:
199 - external
200 properties:
201 external:
202 description: 'Allowed value: The `name` field of a `Project`
203 resource.'
204 type: string
205 name:
206 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
207 type: string
208 namespace:
209 description: 'Namespace of the referent. More info:
210 https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
211 type: string
212 type: object
213 required:
214 - idRef
215 - projectIdRef
216 type: object
217 type: array
218 shareType:
219 description: 'Immutable. Node group sharing type. Possible values:
220 ["ORGANIZATION", "SPECIFIC_PROJECTS", "LOCAL"].'
221 type: string
222 required:
223 - shareType
224 type: object
225 size:
226 description: Immutable. The total number of nodes in the node group.
227 One of 'initial_size' or 'size' must be specified.
228 type: integer
229 zone:
230 description: Immutable. Zone where this node group is located.
231 type: string
232 required:
233 - nodeTemplateRef
234 - zone
235 type: object
236 status:
237 properties:
238 conditions:
239 description: Conditions represent the latest available observation
240 of the resource's current state.
241 items:
242 properties:
243 lastTransitionTime:
244 description: Last time the condition transitioned from one status
245 to another.
246 type: string
247 message:
248 description: Human-readable message indicating details about
249 last transition.
250 type: string
251 reason:
252 description: Unique, one-word, CamelCase reason for the condition's
253 last transition.
254 type: string
255 status:
256 description: Status is the status of the condition. Can be True,
257 False, Unknown.
258 type: string
259 type:
260 description: Type is the type of the condition.
261 type: string
262 type: object
263 type: array
264 creationTimestamp:
265 description: Creation timestamp in RFC3339 text format.
266 type: string
267 observedGeneration:
268 description: ObservedGeneration is the generation of the resource
269 that was most recently observed by the Config Connector controller.
270 If this is equal to metadata.generation, then that means that the
271 current reported status reflects the most recent desired state of
272 the resource.
273 type: integer
274 selfLink:
275 type: string
276 type: object
277 required:
278 - spec
279 type: object
280 served: true
281 storage: true
282 subresources:
283 status: {}
284status:
285 acceptedNames:
286 kind: ""
287 plural: ""
288 conditions: []
289 storedVersions: []
View as plain text