...
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: computereservations.compute.cnrm.cloud.google.com
13spec:
14 group: compute.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: ComputeReservation
19 plural: computereservations
20 shortNames:
21 - gcpcomputereservation
22 - gcpcomputereservations
23 singular: computereservation
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 description:
62 description: Immutable. An optional description of this resource.
63 type: string
64 resourceID:
65 description: Immutable. Optional. The name of the resource. Used for
66 creation and acquisition. When unset, the value of `metadata.name`
67 is used as the default.
68 type: string
69 specificReservation:
70 description: Reservation for instances with specific machine shapes.
71 properties:
72 count:
73 description: The number of resources that are allocated.
74 type: integer
75 inUseCount:
76 description: How many instances are in use.
77 type: integer
78 instanceProperties:
79 description: Immutable. The instance properties for the reservation.
80 properties:
81 guestAccelerators:
82 description: Immutable. Guest accelerator type and count.
83 items:
84 properties:
85 acceleratorCount:
86 description: |-
87 Immutable. The number of the guest accelerator cards exposed to
88 this instance.
89 type: integer
90 acceleratorType:
91 description: |-
92 Immutable. The full or partial URL of the accelerator type to
93 attach to this instance. For example:
94 'projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100'
95
96 If you are creating an instance template, specify only the accelerator name.
97 type: string
98 required:
99 - acceleratorCount
100 - acceleratorType
101 type: object
102 type: array
103 localSsds:
104 description: |-
105 Immutable. The amount of local ssd to reserve with each instance. This
106 reserves disks of type 'local-ssd'.
107 items:
108 properties:
109 diskSizeGb:
110 description: Immutable. The size of the disk in base-2
111 GB.
112 type: integer
113 interface:
114 description: 'Immutable. The disk interface to use for
115 attaching this disk. Default value: "SCSI" Possible
116 values: ["SCSI", "NVME"].'
117 type: string
118 required:
119 - diskSizeGb
120 type: object
121 type: array
122 machineType:
123 description: Immutable. The name of the machine type to reserve.
124 type: string
125 minCpuPlatform:
126 description: |-
127 Immutable. The minimum CPU platform for the reservation. For example,
128 '"Intel Skylake"'. See
129 the CPU platform availability reference](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform#availablezones)
130 for information on available CPU platforms.
131 type: string
132 required:
133 - machineType
134 type: object
135 required:
136 - count
137 - instanceProperties
138 type: object
139 specificReservationRequired:
140 description: |-
141 Immutable. When set to true, only VMs that target this reservation by name can
142 consume this reservation. Otherwise, it can be consumed by VMs with
143 affinity for any reservation. Defaults to false.
144 type: boolean
145 zone:
146 description: Immutable. The zone where the reservation is made.
147 type: string
148 required:
149 - specificReservation
150 - zone
151 type: object
152 status:
153 properties:
154 commitment:
155 description: |-
156 Full or partial URL to a parent commitment. This field displays for
157 reservations that are tied to a commitment.
158 type: string
159 conditions:
160 description: Conditions represent the latest available observation
161 of the resource's current state.
162 items:
163 properties:
164 lastTransitionTime:
165 description: Last time the condition transitioned from one status
166 to another.
167 type: string
168 message:
169 description: Human-readable message indicating details about
170 last transition.
171 type: string
172 reason:
173 description: Unique, one-word, CamelCase reason for the condition's
174 last transition.
175 type: string
176 status:
177 description: Status is the status of the condition. Can be True,
178 False, Unknown.
179 type: string
180 type:
181 description: Type is the type of the condition.
182 type: string
183 type: object
184 type: array
185 creationTimestamp:
186 description: Creation timestamp in RFC3339 text format.
187 type: string
188 observedGeneration:
189 description: ObservedGeneration is the generation of the resource
190 that was most recently observed by the Config Connector controller.
191 If this is equal to metadata.generation, then that means that the
192 current reported status reflects the most recent desired state of
193 the resource.
194 type: integer
195 selfLink:
196 type: string
197 status:
198 description: The status of the reservation.
199 type: string
200 type: object
201 required:
202 - spec
203 type: object
204 served: true
205 storage: true
206 subresources:
207 status: {}
208status:
209 acceptedNames:
210 kind: ""
211 plural: ""
212 conditions: []
213 storedVersions: []
View as plain text