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