File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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+
You can’t perform that action at this time.
0 commit comments