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