...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: memcacheinstances.memcache.cnrm.cloud.google.com
27spec:
28 group: memcache.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: MemcacheInstance
33 plural: memcacheinstances
34 shortNames:
35 - gcpmemcacheinstance
36 - gcpmemcacheinstances
37 singular: memcacheinstance
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1beta1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 displayName:
75 description: A user-visible name for the instance.
76 type: string
77 maintenancePolicy:
78 description: Maintenance policy for an instance.
79 properties:
80 createTime:
81 description: |-
82 Output only. The time when the policy was created.
83 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
84 resolution and up to nine fractional digits.
85 type: string
86 description:
87 description: |-
88 Optional. Description of what this policy is for.
89 Create/Update methods return INVALID_ARGUMENT if the
90 length is greater than 512.
91 type: string
92 updateTime:
93 description: |-
94 Output only. The time when the policy was updated.
95 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
96 resolution and up to nine fractional digits.
97 type: string
98 weeklyMaintenanceWindow:
99 description: |-
100 Required. Maintenance window that is applied to resources covered by this policy.
101 Minimum 1. For the current version, the maximum number of weekly_maintenance_windows
102 is expected to be one.
103 items:
104 properties:
105 day:
106 description: |-
107 Required. The day of week that maintenance updates occur.
108 - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
109 - MONDAY: Monday
110 - TUESDAY: Tuesday
111 - WEDNESDAY: Wednesday
112 - THURSDAY: Thursday
113 - FRIDAY: Friday
114 - SATURDAY: Saturday
115 - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"].
116 type: string
117 duration:
118 description: |-
119 Required. The length of the maintenance window, ranging from 3 hours to 8 hours.
120 A duration in seconds with up to nine fractional digits,
121 terminated by 's'. Example: "3.5s".
122 type: string
123 startTime:
124 description: Required. Start time of the window in UTC time.
125 properties:
126 hours:
127 description: |-
128 Hours of day in 24 hour format. Should be from 0 to 23.
129 An API may choose to allow the value "24:00:00" for scenarios like business closing time.
130 type: integer
131 minutes:
132 description: Minutes of hour of day. Must be from 0
133 to 59.
134 type: integer
135 nanos:
136 description: Fractions of seconds in nanoseconds. Must
137 be from 0 to 999,999,999.
138 type: integer
139 seconds:
140 description: |-
141 Seconds of minutes of the time. Must normally be from 0 to 59.
142 An API may allow the value 60 if it allows leap-seconds.
143 type: integer
144 type: object
145 required:
146 - day
147 - duration
148 - startTime
149 type: object
150 type: array
151 required:
152 - weeklyMaintenanceWindow
153 type: object
154 memcacheParameters:
155 description: Immutable. User-specified parameters for this memcache
156 instance.
157 properties:
158 id:
159 description: This is a unique ID associated with this set of parameters.
160 type: string
161 params:
162 additionalProperties:
163 type: string
164 description: User-defined set of parameters to use in the memcache
165 process.
166 type: object
167 type: object
168 memcacheVersion:
169 description: |-
170 The major version of Memcached software. If not provided, latest supported version will be used.
171 Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically
172 determined by our system based on the latest supported minor version. Default value: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5"].
173 type: string
174 networkRef:
175 description: The full name of the network to connect the instance
176 to.
177 oneOf:
178 - not:
179 required:
180 - external
181 required:
182 - name
183 - not:
184 anyOf:
185 - required:
186 - name
187 - required:
188 - namespace
189 required:
190 - external
191 properties:
192 external:
193 description: 'Allowed value: string of the format `projects/{{project}}/global/networks/{{value}}`,
194 where {{value}} is the `name` field of a `ComputeNetwork` resource.'
195 type: string
196 name:
197 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
198 type: string
199 namespace:
200 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
201 type: string
202 type: object
203 nodeConfig:
204 description: Immutable. Configuration for memcache nodes.
205 properties:
206 cpuCount:
207 description: Number of CPUs per node.
208 type: integer
209 memorySizeMb:
210 description: Memory size in Mebibytes for each memcache node.
211 type: integer
212 required:
213 - cpuCount
214 - memorySizeMb
215 type: object
216 nodeCount:
217 description: Number of nodes in the memcache instance.
218 type: integer
219 region:
220 description: Immutable. The region of the Memcache instance. If it
221 is not provided, the provider region is used.
222 type: string
223 resourceID:
224 description: Immutable. Optional. The name of the resource. Used for
225 creation and acquisition. When unset, the value of `metadata.name`
226 is used as the default.
227 type: string
228 zones:
229 description: |-
230 Immutable. Zones where memcache nodes should be provisioned. If not
231 provided, all zones will be used.
232 items:
233 type: string
234 type: array
235 required:
236 - nodeConfig
237 - nodeCount
238 - region
239 type: object
240 status:
241 properties:
242 conditions:
243 description: Conditions represent the latest available observation
244 of the resource's current state.
245 items:
246 properties:
247 lastTransitionTime:
248 description: Last time the condition transitioned from one status
249 to another.
250 type: string
251 message:
252 description: Human-readable message indicating details about
253 last transition.
254 type: string
255 reason:
256 description: Unique, one-word, CamelCase reason for the condition's
257 last transition.
258 type: string
259 status:
260 description: Status is the status of the condition. Can be True,
261 False, Unknown.
262 type: string
263 type:
264 description: Type is the type of the condition.
265 type: string
266 type: object
267 type: array
268 createTime:
269 description: Creation timestamp in RFC3339 text format.
270 type: string
271 discoveryEndpoint:
272 description: Endpoint for Discovery API.
273 type: string
274 maintenanceSchedule:
275 description: Output only. Published maintenance schedule.
276 items:
277 properties:
278 endTime:
279 description: |-
280 Output only. The end time of any upcoming scheduled maintenance for this instance.
281 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
282 resolution and up to nine fractional digits.
283 type: string
284 scheduleDeadlineTime:
285 description: |-
286 Output only. The deadline that the maintenance schedule start time
287 can not go beyond, including reschedule.
288 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
289 resolution and up to nine fractional digits.
290 type: string
291 startTime:
292 description: |-
293 Output only. The start time of any upcoming scheduled maintenance for this instance.
294 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
295 resolution and up to nine fractional digits.
296 type: string
297 type: object
298 type: array
299 memcacheFullVersion:
300 description: The full version of memcached server running on this
301 instance.
302 type: string
303 memcacheNodes:
304 description: Additional information about the instance state, if available.
305 items:
306 properties:
307 host:
308 description: Hostname or IP address of the Memcached node used
309 by the clients to connect to the Memcached server on this
310 node.
311 type: string
312 nodeId:
313 description: Identifier of the Memcached node. The node id does
314 not include project or location like the Memcached instance
315 name.
316 type: string
317 port:
318 description: The port number of the Memcached server on this
319 node.
320 type: integer
321 state:
322 description: Current state of the Memcached node.
323 type: string
324 zone:
325 description: Location (GCP Zone) for the Memcached node.
326 type: string
327 type: object
328 type: array
329 observedGeneration:
330 description: ObservedGeneration is the generation of the resource
331 that was most recently observed by the Config Connector controller.
332 If this is equal to metadata.generation, then that means that the
333 current reported status reflects the most recent desired state of
334 the resource.
335 type: integer
336 type: object
337 required:
338 - spec
339 type: object
340 served: true
341 storage: true
342 subresources:
343 status: {}
344status:
345 acceptedNames:
346 kind: ""
347 plural: ""
348 conditions: []
349 storedVersions: []
View as plain text