...
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: memcacheinstances.memcache.cnrm.cloud.google.com
13spec:
14 group: memcache.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: MemcacheInstance
19 plural: memcacheinstances
20 shortNames:
21 - gcpmemcacheinstance
22 - gcpmemcacheinstances
23 singular: memcacheinstance
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 displayName:
62 description: A user-visible name for the instance.
63 type: string
64 maintenancePolicy:
65 description: Maintenance policy for an instance.
66 properties:
67 createTime:
68 description: |-
69 Output only. The time when the policy was created.
70 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
71 resolution and up to nine fractional digits.
72 type: string
73 description:
74 description: |-
75 Optional. Description of what this policy is for.
76 Create/Update methods return INVALID_ARGUMENT if the
77 length is greater than 512.
78 type: string
79 updateTime:
80 description: |-
81 Output only. The time when the policy was updated.
82 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
83 resolution and up to nine fractional digits.
84 type: string
85 weeklyMaintenanceWindow:
86 description: |-
87 Required. Maintenance window that is applied to resources covered by this policy.
88 Minimum 1. For the current version, the maximum number of weekly_maintenance_windows
89 is expected to be one.
90 items:
91 properties:
92 day:
93 description: |-
94 Required. The day of week that maintenance updates occur.
95 - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
96 - MONDAY: Monday
97 - TUESDAY: Tuesday
98 - WEDNESDAY: Wednesday
99 - THURSDAY: Thursday
100 - FRIDAY: Friday
101 - SATURDAY: Saturday
102 - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"].
103 type: string
104 duration:
105 description: |-
106 Required. The length of the maintenance window, ranging from 3 hours to 8 hours.
107 A duration in seconds with up to nine fractional digits,
108 terminated by 's'. Example: "3.5s".
109 type: string
110 startTime:
111 description: Required. Start time of the window in UTC time.
112 properties:
113 hours:
114 description: |-
115 Hours of day in 24 hour format. Should be from 0 to 23.
116 An API may choose to allow the value "24:00:00" for scenarios like business closing time.
117 type: integer
118 minutes:
119 description: Minutes of hour of day. Must be from 0
120 to 59.
121 type: integer
122 nanos:
123 description: Fractions of seconds in nanoseconds. Must
124 be from 0 to 999,999,999.
125 type: integer
126 seconds:
127 description: |-
128 Seconds of minutes of the time. Must normally be from 0 to 59.
129 An API may allow the value 60 if it allows leap-seconds.
130 type: integer
131 type: object
132 required:
133 - day
134 - duration
135 - startTime
136 type: object
137 type: array
138 required:
139 - weeklyMaintenanceWindow
140 type: object
141 memcacheParameters:
142 description: Immutable. User-specified parameters for this memcache
143 instance.
144 properties:
145 id:
146 description: This is a unique ID associated with this set of parameters.
147 type: string
148 params:
149 additionalProperties:
150 type: string
151 description: User-defined set of parameters to use in the memcache
152 process.
153 type: object
154 type: object
155 memcacheVersion:
156 description: |-
157 The major version of Memcached software. If not provided, latest supported version will be used.
158 Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically
159 determined by our system based on the latest supported minor version. Default value: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5"].
160 type: string
161 networkRef:
162 description: The full name of the network to connect the instance
163 to.
164 oneOf:
165 - not:
166 required:
167 - external
168 required:
169 - name
170 - not:
171 anyOf:
172 - required:
173 - name
174 - required:
175 - namespace
176 required:
177 - external
178 properties:
179 external:
180 description: 'Allowed value: string of the format `projects/{{project}}/global/networks/{{value}}`,
181 where {{value}} is the `name` field of a `ComputeNetwork` resource.'
182 type: string
183 name:
184 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
185 type: string
186 namespace:
187 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
188 type: string
189 type: object
190 nodeConfig:
191 description: Immutable. Configuration for memcache nodes.
192 properties:
193 cpuCount:
194 description: Number of CPUs per node.
195 type: integer
196 memorySizeMb:
197 description: Memory size in Mebibytes for each memcache node.
198 type: integer
199 required:
200 - cpuCount
201 - memorySizeMb
202 type: object
203 nodeCount:
204 description: Number of nodes in the memcache instance.
205 type: integer
206 region:
207 description: Immutable. The region of the Memcache instance. If it
208 is not provided, the provider region is used.
209 type: string
210 resourceID:
211 description: Immutable. Optional. The name of the resource. Used for
212 creation and acquisition. When unset, the value of `metadata.name`
213 is used as the default.
214 type: string
215 zones:
216 description: |-
217 Immutable. Zones where memcache nodes should be provisioned. If not
218 provided, all zones will be used.
219 items:
220 type: string
221 type: array
222 required:
223 - nodeConfig
224 - nodeCount
225 - region
226 type: object
227 status:
228 properties:
229 conditions:
230 description: Conditions represent the latest available observation
231 of the resource's current state.
232 items:
233 properties:
234 lastTransitionTime:
235 description: Last time the condition transitioned from one status
236 to another.
237 type: string
238 message:
239 description: Human-readable message indicating details about
240 last transition.
241 type: string
242 reason:
243 description: Unique, one-word, CamelCase reason for the condition's
244 last transition.
245 type: string
246 status:
247 description: Status is the status of the condition. Can be True,
248 False, Unknown.
249 type: string
250 type:
251 description: Type is the type of the condition.
252 type: string
253 type: object
254 type: array
255 createTime:
256 description: Creation timestamp in RFC3339 text format.
257 type: string
258 discoveryEndpoint:
259 description: Endpoint for Discovery API.
260 type: string
261 maintenanceSchedule:
262 description: Output only. Published maintenance schedule.
263 items:
264 properties:
265 endTime:
266 description: |-
267 Output only. The end time of any upcoming scheduled maintenance for this instance.
268 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
269 resolution and up to nine fractional digits.
270 type: string
271 scheduleDeadlineTime:
272 description: |-
273 Output only. The deadline that the maintenance schedule start time
274 can not go beyond, including reschedule.
275 A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
276 resolution and up to nine fractional digits.
277 type: string
278 startTime:
279 description: |-
280 Output only. The start 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 type: object
285 type: array
286 memcacheFullVersion:
287 description: The full version of memcached server running on this
288 instance.
289 type: string
290 memcacheNodes:
291 description: Additional information about the instance state, if available.
292 items:
293 properties:
294 host:
295 description: Hostname or IP address of the Memcached node used
296 by the clients to connect to the Memcached server on this
297 node.
298 type: string
299 nodeId:
300 description: Identifier of the Memcached node. The node id does
301 not include project or location like the Memcached instance
302 name.
303 type: string
304 port:
305 description: The port number of the Memcached server on this
306 node.
307 type: integer
308 state:
309 description: Current state of the Memcached node.
310 type: string
311 zone:
312 description: Location (GCP Zone) for the Memcached node.
313 type: string
314 type: object
315 type: array
316 observedGeneration:
317 description: ObservedGeneration is the generation of the resource
318 that was most recently observed by the Config Connector controller.
319 If this is equal to metadata.generation, then that means that the
320 current reported status reflects the most recent desired state of
321 the resource.
322 type: integer
323 type: object
324 required:
325 - spec
326 type: object
327 served: true
328 storage: true
329 subresources:
330 status: {}
331status:
332 acceptedNames:
333 kind: ""
334 plural: ""
335 conditions: []
336 storedVersions: []
View as plain text