File tree 1 file changed +44
-0
lines changed
docs/content/customization/nutanix 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -228,3 +228,47 @@ spec:
228
228
type: name
229
229
name: project-name
230
230
` ` `
231
+
232
+
233
+ # ## (Optional) Add a GPU to a machine deployment.
234
+
235
+ ` ` ` yaml
236
+ apiVersion: cluster.x-k8s.io/v1beta1
237
+ kind: Cluster
238
+ metadata:
239
+ name: <NAME>
240
+ spec:
241
+ topology:
242
+ variables:
243
+ - name: workerConfig
244
+ value:
245
+ nutanix:
246
+ machineDetails:
247
+ gpus:
248
+ - type: name
249
+ name: "Ampere 40"
250
+ workers:
251
+ - class: nutanix-quick-start-worker
252
+ metadata:
253
+ annotations:
254
+ cluster.x-k8s.io/cluster-api-autoscaler-node-group-max-size: "1"
255
+ cluster.x-k8s.io/cluster-api-autoscaler-node-group-min-size: "1"
256
+ name: gpu-0
257
+ ` ` `
258
+
259
+ Applying this configuration will result in the following value being set :
260
+
261
+ - control-plane `NutanixMachineTemplate` :
262
+
263
+ ` ` ` yaml
264
+ apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
265
+ kind: NutanixMachineTemplate
266
+ metadata:
267
+ name: nutanix-quick-start-gpu-nmt
268
+ spec:
269
+ template:
270
+ spec:
271
+ gpus:
272
+ - type: name
273
+ name: "Ampere 40"
274
+ ` ` `
You can’t perform that action at this time.
0 commit comments