Skip to content

Commit c4e81be

Browse files
committed
OCP 4.16: update for machineset
1 parent c69603e commit c4e81be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/machineset-manually-scaling.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This guidance is relevant to fully automated, installer-provisioned infrastructu
2323
+
2424
[source,terminal]
2525
----
26-
$ oc get machinesets -n openshift-machine-api
26+
$ oc get machinesets.machine.openshift.io -n openshift-machine-api
2727
----
2828
+
2929
The compute machine sets are listed in the form of `<clusterid>-worker-<aws-region-az>`.
@@ -32,28 +32,28 @@ The compute machine sets are listed in the form of `<clusterid>-worker-<aws-regi
3232
+
3333
[source,terminal]
3434
----
35-
$ oc get machine -n openshift-machine-api
35+
$ oc get machines.machine.openshift.io -n openshift-machine-api
3636
----
3737

3838
. Set the annotation on the compute machine that you want to delete by running the following command:
3939
+
4040
[source,terminal]
4141
----
42-
$ oc annotate machine/<machine_name> -n openshift-machine-api machine.openshift.io/delete-machine="true"
42+
$ oc annotate machines.machine.openshift.io/<machine_name> -n openshift-machine-api machine.openshift.io/delete-machine="true"
4343
----
4444

4545
. Scale the compute machine set by running one of the following commands:
4646
+
4747
[source,terminal]
4848
----
49-
$ oc scale --replicas=2 machineset <machineset> -n openshift-machine-api
49+
$ oc scale --replicas=2 machinesets.machine.openshift.io <machineset> -n openshift-machine-api
5050
----
5151
+
5252
Or:
5353
+
5454
[source,terminal]
5555
----
56-
$ oc edit machineset <machineset> -n openshift-machine-api
56+
$ oc edit machinesets.machine.openshift.io <machineset> -n openshift-machine-api
5757
----
5858
+
5959
[TIP]
@@ -87,5 +87,5 @@ You can skip draining the node by annotating `machine.openshift.io/exclude-node-
8787
+
8888
[source,terminal]
8989
----
90-
$ oc get machines
90+
$ oc get machines.machine.openshift.io
9191
----

0 commit comments

Comments
 (0)