Skip to content

Commit ee76a6a

Browse files
committed
OSDOCS-11053 Removing incorrect name attribute for rosa edit machinepool command
1 parent 19f38bb commit ee76a6a

9 files changed

+14
-14
lines changed

modules/creating-a-machine-pool-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ mymachinepool Yes 3-6 m5.xlarge app=db, tier=backend
178178
+
179179
[source,terminal]
180180
----
181-
$ rosa describe machinepool --cluster=<cluster_name> mymachinepool
181+
$ rosa describe machinepool --cluster=<cluster_name> --machinepool=mymachinepool
182182
----
183183
+
184184
.Example output

modules/removing-custom-config-from-machinepool.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ To remove all `KubeletConfig` objects from the machine pool, set an empty value
2121
+
2222
[source,terminal]
2323
----
24-
$ rosa edit machinepool -c <cluster_name> --kubeletconfigs="" --name <machinepool_name>
24+
$ rosa edit machinepool -c <cluster_name> --kubeletconfigs="" <machinepool_name>
2525
----
2626
2727
.Verification steps
2828
* Confirm that the `KubeletConfig` object you removed is not visible in the machine pool description:
2929
+
3030
[source,terminal]
3131
----
32-
$ rosa describe machinepool --cluster <cluster_name> --name <machinepool_name>
32+
$ rosa describe machinepool --cluster <cluster_name> --machinepool=<machinepool_name>
3333
----

modules/rosa-adding-node-labels.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ I: Updated machine pool 'db-nodes-mp' on cluster 'mycluster'
103103
+
104104
[source,terminal]
105105
----
106-
$ rosa describe machinepool --cluster=<cluster_name> <machine-pool-name>
106+
$ rosa describe machinepool --cluster=<cluster_name> --machinepool=<machine-pool-name>
107107
----
108108
+
109109
.Example output

modules/rosa-adding-tags-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ I: To view all machine pools, run 'rosa list machinepools --cluster mycluster'
4949
+
5050
[source,terminal]
5151
----
52-
$ rosa describe machinepool --cluster=<cluster_name> <machine_pool_name>
52+
$ rosa describe machinepool --cluster=<cluster_name> --machinepool=<machinepool_name>
5353
----
5454
+
5555
.Example output

modules/rosa-adding-taints-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ I: Updated machine pool 'db-nodes-mp' on cluster 'mycluster'
104104
+
105105
[source,terminal]
106106
----
107-
$ rosa describe machinepool --cluster=<cluster_name> <machine-pool-name>
107+
$ rosa describe machinepool --cluster=<cluster_name> --machinepool=<machinepool_name>
108108
----
109109
+
110110
.Example output

modules/rosa-edit-objects.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Allows edits to the machine pool in a cluster.
234234
.Syntax
235235
[source,terminal]
236236
----
237-
$ rosa edit machinepool --cluster=<cluster_name_or_id> <machinepool_ID> [arguments]
237+
$ rosa edit machinepool --cluster=<cluster_name_or_id> <machinepool_name> [arguments]
238238
----
239239

240240
.Arguments

modules/rosa-list-objects.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ Describes a specific machine pool configured on a cluster.
743743
.Syntax
744744
[source,terminal]
745745
----
746-
$ rosa describe machinepool --cluster=<cluster_name> --machinepool=<machinepool_name>| <cluster_id> <machinepool_id> [arguments]
746+
$ rosa describe machinepool --cluster=[<cluster_name>|<cluster_id>] --machinepool=<machinepool_name> [arguments]
747747
----
748748

749749
.Arguments

modules/rosa-node-drain-grace-period.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ db-nodes-mp No 2 m5.xlarge [...] us-east-1a No
3737
+
3838
[source,terminal]
3939
----
40-
$ rosa describe machinepool --cluster <cluster_name> <machinepool_name>
40+
$ rosa describe machinepool --cluster <cluster_name> --machinepool=<machinepool_name>
4141
----
4242
+
4343
.Example output

modules/setting-higher-pid-limit-on-machinepool.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Changing the `podPidsLimit` on an existing machine pool triggers nodes in the ma
2525
+
2626
[source,terminal]
2727
----
28-
$ rosa create kubeletconfig -c <cluster_name> --name=<kubeletconfig_name> --pod-pids-limit=<value>
28+
$ rosa create kubeletconfig -c <cluster_name> --name=<kubeletconfig_name> --pod-pids-limit=<value>
2929
----
3030
+
3131
For example, the following command creates a `set-high-pids` `KubeletConfig` object for the `my-cluster` cluster that sets a maximum of 16,384 PIDs per pod:
@@ -42,28 +42,28 @@ $ rosa create kubeletconfig -c my-cluster --name=set-high-pids --pod-pids-limit=
4242
+
4343
[source,terminal]
4444
----
45-
$ rosa create machinepool -c <cluster_name> --kubelet-configs=<kubeletconfig_name> --name <machinepool_name>
45+
$ rosa create machinepool -c <cluster_name> --name <machinepool_name> --kubelet-configs=<kubeletconfig_name>
4646
----
4747
** For an existing machine pool:
4848
+
4949
[source,terminal]
5050
----
51-
$ rosa edit machinepool -c <cluster_name> --kubelet-configs=<kubeletconfig_name> --name <machinepool_name>
51+
$ rosa edit machinepool -c <cluster_name> --kubelet-configs=<kubeletconfig_name> <machinepool_name>
5252
----
5353
--
5454
+
5555
For example, the following command associates the `set-high-pids` `KubeletConfig` object with the `high-pid-pool` machine pool in the `my-cluster` cluster:
5656
+
5757
[source,terminal]
5858
----
59-
$ rosa edit machinepool -c my-cluster --kubelet-configs=set-high-pids --name=high-pid-pool
59+
$ rosa edit machinepool -c my-cluster --kubelet-configs=set-high-pids high-pid-pool
6060
----
6161
+
6262
A rolling reboot of worker nodes is triggered when a new `KubeletConfig` object is attached to an existing machine pool. You can check the progress of the rollout in the machine pool description:
6363
+
6464
[source,terminal]
6565
----
66-
$ rosa describe machinepool --cluster <cluster_name> --name <machinepool_name>
66+
$ rosa describe machinepool --cluster <cluster_name> --machinepool <machinepool_name>
6767
----
6868

6969
.Verification

0 commit comments

Comments
 (0)