...
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: tpunodes.tpu.cnrm.cloud.google.com
13spec:
14 group: tpu.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: TPUNode
19 plural: tpunodes
20 shortNames:
21 - gcptpunode
22 - gcptpunodes
23 singular: tpunode
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 acceleratorType:
62 description: Immutable. The type of hardware accelerators associated
63 with this node.
64 type: string
65 cidrBlock:
66 description: |-
67 Immutable. The CIDR block that the TPU node will use when selecting an IP
68 address. This CIDR block must be a /29 block; the Compute Engine
69 networks API forbids a smaller block, and using a larger block would
70 be wasteful (a node can only consume one IP address).
71
72 Errors will occur if the CIDR block has already been used for a
73 currently existing TPU node, the CIDR block conflicts with any
74 subnetworks in the user's provided network, or the provided network
75 is peered with another network that is using that CIDR block.
76 type: string
77 description:
78 description: Immutable. The user-supplied description of the TPU.
79 Maximum of 512 characters.
80 type: string
81 network:
82 description: |-
83 Immutable. The name of a network to peer the TPU node to. It must be a
84 preexisting Compute Engine network inside of the project on which
85 this API has been activated. If none is provided, "default" will be
86 used.
87 type: string
88 projectRef:
89 description: The project that this resource belongs to.
90 oneOf:
91 - not:
92 required:
93 - external
94 required:
95 - name
96 - not:
97 anyOf:
98 - required:
99 - name
100 - required:
101 - namespace
102 required:
103 - external
104 properties:
105 external:
106 description: 'Allowed value: The `name` field of a `Project` resource.'
107 type: string
108 name:
109 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
110 type: string
111 namespace:
112 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
113 type: string
114 type: object
115 resourceID:
116 description: Immutable. Optional. The name of the resource. Used for
117 creation and acquisition. When unset, the value of `metadata.name`
118 is used as the default.
119 type: string
120 schedulingConfig:
121 description: Immutable. Sets the scheduling options for this TPU instance.
122 properties:
123 preemptible:
124 description: Immutable. Defines whether the TPU instance is preemptible.
125 type: boolean
126 required:
127 - preemptible
128 type: object
129 tensorflowVersion:
130 description: The version of Tensorflow running in the Node.
131 type: string
132 useServiceNetworking:
133 description: |-
134 Immutable. Whether the VPC peering for the node is set up through Service Networking API.
135 The VPC Peering should be set up before provisioning the node. If this field is set,
136 cidr_block field should not be specified. If the network that you want to peer the
137 TPU Node to is a Shared VPC network, the node must be created with this this field enabled.
138 type: boolean
139 zone:
140 description: Immutable. The GCP location for the TPU. If it is not
141 provided, the provider zone is used.
142 type: string
143 required:
144 - acceleratorType
145 - projectRef
146 - tensorflowVersion
147 - zone
148 type: object
149 status:
150 properties:
151 conditions:
152 description: Conditions represent the latest available observation
153 of the resource's current state.
154 items:
155 properties:
156 lastTransitionTime:
157 description: Last time the condition transitioned from one status
158 to another.
159 type: string
160 message:
161 description: Human-readable message indicating details about
162 last transition.
163 type: string
164 reason:
165 description: Unique, one-word, CamelCase reason for the condition's
166 last transition.
167 type: string
168 status:
169 description: Status is the status of the condition. Can be True,
170 False, Unknown.
171 type: string
172 type:
173 description: Type is the type of the condition.
174 type: string
175 type: object
176 type: array
177 networkEndpoints:
178 description: |-
179 The network endpoints where TPU workers can be accessed and sent work.
180 It is recommended that Tensorflow clients of the node first reach out
181 to the first (index 0) entry.
182 items:
183 properties:
184 ipAddress:
185 description: The IP address of this network endpoint.
186 type: string
187 port:
188 description: The port of this network endpoint.
189 type: integer
190 type: object
191 type: array
192 observedGeneration:
193 description: ObservedGeneration is the generation of the resource
194 that was most recently observed by the Config Connector controller.
195 If this is equal to metadata.generation, then that means that the
196 current reported status reflects the most recent desired state of
197 the resource.
198 type: integer
199 serviceAccount:
200 description: |-
201 The service account used to run the tensor flow services within the
202 node. To share resources, including Google Cloud Storage data, with
203 the Tensorflow job running in the Node, this account must have
204 permissions to that data.
205 type: string
206 type: object
207 required:
208 - spec
209 type: object
210 served: true
211 storage: true
212 subresources:
213 status: {}
214status:
215 acceptedNames:
216 kind: ""
217 plural: ""
218 conditions: []
219 storedVersions: []
View as plain text