diff --git a/modules/hcp-bm-add-np.adoc b/modules/hcp-bm-add-np.adoc index d877487b71..5ad5fa610a 100644 --- a/modules/hcp-bm-add-np.adoc +++ b/modules/hcp-bm-add-np.adoc @@ -19,13 +19,13 @@ $ hcp create nodepool agent \ --cluster-name \// <1> --name \// <2> --node-count \// <3> - --agentLabelSelector '{"matchLabels": {"size": "medium"}}' <4> + --agentLabelSelector size=medium <4> ---- + <1> Replace `` with your hosted cluster name. <2> Replace `` with the name of your node pool, for example, `-extra-cpu`. <3> Replace `` with the worker node count, for example, `2`. -<4> The `--agentLabelSelector` flag is optional. The node pool uses agents with the `"size" : "medium"` label. +<4> The `--agentLabelSelector` flag is optional. The node pool uses agents with the `size=medium` label. . Check the status of the node pool by listing `nodepool` resources in the `clusters` namespace: +