Skip to content

Commit da69a06

Browse files
committed
[OCPBUGS-45747]: Fixing command in HCP docs
1 parent 3a2f1e7 commit da69a06

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hcp-bm-add-np.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ $ hcp create nodepool agent \
1919
--cluster-name <hosted_cluster_name> \// <1>
2020
--name <nodepool_name> \// <2>
2121
--node-count <worker_node_count> \// <3>
22-
--agentLabelSelector '{"matchLabels": {"size": "medium"}}' <4>
22+
--agentLabelSelector size=medium <4>
2323
----
2424
+
2525
<1> Replace `<hosted_cluster_name>` with your hosted cluster name.
2626
<2> Replace `<nodepool_name>` with the name of your node pool, for example, `<hosted_cluster_name>-extra-cpu`.
2727
<3> Replace `<worker_node_count>` with the worker node count, for example, `2`.
28-
<4> The `--agentLabelSelector` flag is optional. The node pool uses agents with the `"size" : "medium"` label.
28+
<4> The `--agentLabelSelector` flag is optional. The node pool uses agents with the `size=medium` label.
2929

3030
. Check the status of the node pool by listing `nodepool` resources in the `clusters` namespace:
3131
+

0 commit comments

Comments
 (0)