You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/machineset-yaml-nutanix.adoc
+57-33Lines changed: 57 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,19 @@ ifndef::infra[`<role>`]
20
20
ifdef::infra[`<infra>`]
21
21
is the node label to add.
22
22
23
+
[discrete]
24
+
[id="machineset-yaml-nutanix-oc_{context}"]
25
+
== Values obtained by using the OpenShift CLI
26
+
27
+
In the following example, you can obtain some of the values for your cluster by using the OpenShift CLI (`oc`).
28
+
29
+
Infrastructure ID:: The `<infrastructure_id>` string is the infrastructure ID that is based on the cluster ID that you set when you provisioned the cluster. If you have the OpenShift CLI installed, you can obtain the infrastructure ID by running the following command:
30
+
+
31
+
[source,terminal]
32
+
----
33
+
$ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
<1> Specify the infrastructure ID that is based on the cluster ID that you set when you provisioned the cluster. If you have the OpenShift CLI (`oc`) installed, you can obtain the infrastructure ID by running the following command:
106
-
+
107
-
[source,terminal]
108
-
----
109
-
$ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
110
-
----
125
+
<1> For `<infrastructure_id>`, specify the infrastructure ID that is based on the cluster ID that you set when you provisioned the cluster.
111
126
ifndef::infra[]
112
127
<2> Specify the node label to add.
113
128
<3> Specify the infrastructure ID, node label, and zone.
@@ -117,14 +132,23 @@ ifdef::infra[]
117
132
<3> Specify the infrastructure ID, `<infra>` node label, and zone.
118
133
endif::infra[]
119
134
<4> Annotations for the cluster autoscaler.
120
-
<5> Specify the image to use. Use an image from an existing default compute machine set for the cluster.
121
-
<6> Specify the amount of memory for the cluster in Gi.
122
-
<7> Specify the size of the system disk in Gi.
123
-
<8> Specify the name of the secret in the user data YAML file that is in the `openshift-machine-api` namespace. Use the value that the installer populates in the default compute machine set.
124
-
<9> Specify the number of vCPU sockets.
125
-
<10> Specify the number of vCPUs per socket.
135
+
<5> Specifies the boot type that the compute machines use. For more information about boot types, see link:https://portal.nutanix.com/page/documents/kbs/details?targetId=kA07V000000H3K9SAK[Understanding UEFI, Secure Boot, and TPM in the Virtualized Environment]. Valid values are `Legacy`, `SecureBoot`, or `UEFI`. The default is `Legacy`.
136
+
+
137
+
[NOTE]
138
+
====
139
+
You must use the `Legacy` boot type in {product-title} {product-version}.
140
+
====
141
+
<6> Specify one or more Nutanix Prism categories to apply to compute machines. This stanza requires `key` and `value` parameters for a category key-value pair that exists in Prism Central. For more information about categories, see link:https://portal.nutanix.com/page/documents/details?targetId=Prism-Central-Guide-vpc_2022_6:ssp-ssp-categories-manage-pc-c.html[Category management].
142
+
<7> Specify a Nutanix Prism Element cluster configuration. In this example, the cluster type is `uuid`, so there is a `uuid` stanza.
143
+
<8> Specify the image to use. Use an image from an existing default compute machine set for the cluster.
144
+
<9> Specify the amount of memory for the cluster in Gi.
145
+
<10> Specify the Nutanix project that you use for your cluster. In this example, the project type is `name`, so there is a `name` stanza.
146
+
<11> Specify the size of the system disk in Gi.
147
+
<12> Specify the name of the secret in the user data YAML file that is in the `openshift-machine-api` namespace. Use the value that installation program populates in the default compute machine set.
148
+
<13> Specify the number of vCPU sockets.
149
+
<14> Specify the number of vCPUs per socket.
126
150
ifdef::infra[]
127
-
<11> Specify a taint to prevent user workloads from being scheduled on infra nodes.
151
+
<15> Specify a taint to prevent user workloads from being scheduled on infra nodes.
0 commit comments