...
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: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: alloydbinstances.alloydb.cnrm.cloud.google.com
27spec:
28 group: alloydb.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: AlloyDBInstance
33 plural: alloydbinstances
34 shortNames:
35 - gcpalloydbinstance
36 - gcpalloydbinstances
37 singular: alloydbinstance
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: v1alpha1
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 annotations:
75 additionalProperties:
76 type: string
77 description: Annotations to allow client tools to store small amount
78 of arbitrary data. This is distinct from labels.
79 type: object
80 availabilityType:
81 description: 'Availability type of an Instance. Defaults to REGIONAL
82 for both primary and read instances. Note that primary and read
83 instances can have different availability types. Possible values:
84 ["AVAILABILITY_TYPE_UNSPECIFIED", "ZONAL", "REGIONAL"].'
85 type: string
86 cluster:
87 description: |-
88 Immutable. Identifies the alloydb cluster. Must be in the format
89 'projects/{project}/locations/{location}/clusters/{cluster_id}'.
90 type: string
91 databaseFlags:
92 additionalProperties:
93 type: string
94 description: Database flags. Set at instance level. * They are copied
95 from primary instance on read instance creation. * Read instances
96 can set new or override existing flags that are relevant for reads,
97 e.g. for enabling columnar cache on a read instance. Flags set on
98 read instance may or may not be present on primary.
99 type: object
100 displayName:
101 description: User-settable and human-readable display name for the
102 Instance.
103 type: string
104 gceZone:
105 description: The Compute Engine zone that the instance should serve
106 from, per https://cloud.google.com/compute/docs/regions-zones This
107 can ONLY be specified for ZONAL instances. If present for a REGIONAL
108 instance, an error will be thrown. If this is absent for a ZONAL
109 instance, instance is created in a random zone with available capacity.
110 type: string
111 instanceType:
112 description: 'Immutable. The type of the instance. If the instance
113 type is READ_POOL, provide the associated PRIMARY instance in the
114 ''depends_on'' meta-data attribute. Possible values: ["PRIMARY",
115 "READ_POOL"].'
116 type: string
117 machineConfig:
118 description: Configurations for the machines that host the underlying
119 database engine.
120 properties:
121 cpuCount:
122 description: The number of CPU's in the VM instance.
123 type: integer
124 type: object
125 readPoolConfig:
126 description: Read pool specific config.
127 properties:
128 nodeCount:
129 description: Read capacity, i.e. number of nodes in a read pool
130 instance.
131 type: integer
132 type: object
133 resourceID:
134 description: Immutable. Optional. The instanceId of the resource.
135 Used for creation and acquisition. When unset, the value of `metadata.name`
136 is used as the default.
137 type: string
138 required:
139 - cluster
140 - instanceType
141 type: object
142 status:
143 properties:
144 conditions:
145 description: Conditions represent the latest available observation
146 of the resource's current state.
147 items:
148 properties:
149 lastTransitionTime:
150 description: Last time the condition transitioned from one status
151 to another.
152 type: string
153 message:
154 description: Human-readable message indicating details about
155 last transition.
156 type: string
157 reason:
158 description: Unique, one-word, CamelCase reason for the condition's
159 last transition.
160 type: string
161 status:
162 description: Status is the status of the condition. Can be True,
163 False, Unknown.
164 type: string
165 type:
166 description: Type is the type of the condition.
167 type: string
168 type: object
169 type: array
170 createTime:
171 description: Time the Instance was created in UTC.
172 type: string
173 ipAddress:
174 description: The IP address for the Instance. This is the connection
175 endpoint for an end-user application.
176 type: string
177 name:
178 description: The name of the instance resource.
179 type: string
180 observedGeneration:
181 description: ObservedGeneration is the generation of the resource
182 that was most recently observed by the Config Connector controller.
183 If this is equal to metadata.generation, then that means that the
184 current reported status reflects the most recent desired state of
185 the resource.
186 type: integer
187 reconciling:
188 description: Set to true if the current state of Instance does not
189 match the user's intended state, and the service is actively updating
190 the resource to reconcile them. This can happen due to user-triggered
191 updates or system actions like failover or maintenance.
192 type: boolean
193 state:
194 description: The current state of the alloydb instance.
195 type: string
196 uid:
197 description: The system-generated UID of the resource.
198 type: string
199 updateTime:
200 description: Time the Instance was updated in UTC.
201 type: string
202 type: object
203 required:
204 - spec
205 type: object
206 served: true
207 storage: true
208 subresources:
209 status: {}
210status:
211 acceptedNames:
212 kind: ""
213 plural: ""
214 conditions: []
215 storedVersions: []
View as plain text