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 \
19
19
-- cluster-name <hosted _cluster_name > \// <1>
20
20
-- name <nodepool _name > \// <2>
21
21
-- node-count <worker _node_count > \// <3>
22
- -- agentLabelSelector '{"matchLabels": {" size": " medium"}}' <4>
22
+ -- agentLabelSelector size= medium <4>
23
23
----
24
24
+
25
25
<1> Replace `<hosted_cluster_name>` with your hosted cluster name.
26
26
<2> Replace `<nodepool_name>` with the name of your node pool, for example, `<hosted_cluster_name>-extra-cpu` .
27
27
<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.
29
29
30
30
. Check the status of the node pool by listing `nodepool` resources in the `clusters` namespace:
31
31
+
You can’t perform that action at this time.
0 commit comments