...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computenodetemplates.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeNodeTemplate
12 listKind: ComputeNodeTemplateList
13 plural: computenodetemplates
14 singular: computenodetemplate
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeNodeTemplate is the Schema for the compute API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 cpuOvercommitType:
42 description: 'Immutable. CPU overcommit. Default value: "NONE" Possible
43 values: ["ENABLED", "NONE"].'
44 type: string
45 description:
46 description: Immutable. An optional textual description of the resource.
47 type: string
48 nodeType:
49 description: |-
50 Immutable. Node type to use for nodes group that are created from this template.
51 Only one of nodeTypeFlexibility and nodeType can be specified.
52 type: string
53 nodeTypeFlexibility:
54 description: |-
55 Immutable. Flexible properties for the desired node type. Node groups that
56 use this node template will create nodes of a type that matches
57 these properties. Only one of nodeTypeFlexibility and nodeType can
58 be specified.
59 properties:
60 cpus:
61 description: Immutable. Number of virtual CPUs to use.
62 type: string
63 localSsd:
64 description: Use local SSD.
65 type: string
66 memory:
67 description: Immutable. Physical memory available to the node,
68 defined in MB.
69 type: string
70 type: object
71 region:
72 description: |-
73 Immutable. Region where nodes using the node template will be created.
74 If it is not provided, the provider region is used.
75 type: string
76 resourceID:
77 description: Immutable. Optional. The name of the resource. Used for
78 creation and acquisition. When unset, the value of `metadata.name`
79 is used as the default.
80 type: string
81 serverBinding:
82 description: |-
83 Immutable. The server binding policy for nodes using this template. Determines
84 where the nodes should restart following a maintenance event.
85 properties:
86 type:
87 description: |-
88 Immutable. Type of server binding policy. If 'RESTART_NODE_ON_ANY_SERVER',
89 nodes using this template will restart on any physical server
90 following a maintenance event.
91
92
93 If 'RESTART_NODE_ON_MINIMAL_SERVER', nodes using this template
94 will restart on the same physical server following a maintenance
95 event, instead of being live migrated to or restarted on a new
96 physical server. This option may be useful if you are using
97 software licenses tied to the underlying server characteristics
98 such as physical sockets or cores, to avoid the need for
99 additional licenses when maintenance occurs. However, VMs on such
100 nodes will experience outages while maintenance is applied. Possible values: ["RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS"].
101 type: string
102 required:
103 - type
104 type: object
105 required:
106 - region
107 type: object
108 status:
109 properties:
110 conditions:
111 description: |-
112 Conditions represent the latest available observations of the
113 ComputeNodeTemplate's current state.
114 items:
115 properties:
116 lastTransitionTime:
117 description: Last time the condition transitioned from one status
118 to another.
119 type: string
120 message:
121 description: Human-readable message indicating details about
122 last transition.
123 type: string
124 reason:
125 description: |-
126 Unique, one-word, CamelCase reason for the condition's last
127 transition.
128 type: string
129 status:
130 description: Status is the status of the condition. Can be True,
131 False, Unknown.
132 type: string
133 type:
134 description: Type is the type of the condition.
135 type: string
136 type: object
137 type: array
138 creationTimestamp:
139 description: Creation timestamp in RFC3339 text format.
140 type: string
141 observedGeneration:
142 description: ObservedGeneration is the generation of the resource
143 that was most recently observed by the Config Connector controller.
144 If this is equal to metadata.generation, then that means that the
145 current reported status reflects the most recent desired state of
146 the resource.
147 type: integer
148 selfLink:
149 type: string
150 type: object
151 type: object
152 served: true
153 storage: true
View as plain text