Adds a new worker node pool to an existing Vultr Kubernetes cluster with customizable configuration options.
The vultr-cli kubernetes node-pool create
command adds a new group of worker nodes to an existing Vultr Kubernetes cluster with specified configuration options.
$ vultr-cli kubernetes node-pool create <Cluster ID> [flags]
# Full Example
$ vultr-cli kubernetes node-pool create ffd31f18-5f77-454c-9064-212f942c3c34 --label="nodepool" --quantity=3 \
--plan="vc2-1c-2gb" --node-labels="application=id-service,environment=development"
# Shortened with alias commands
$ vultr-cli k n c ffd31f18-5f77-454c-9064-212f942c3c34 -l="nodepool" -q=3 -p="vc2-1c-2gb"
Shorthand | Long Version | Description |
---|---|---|
- | --auto-scaler | Enable the auto scaler with your cluster |
-l | --label | label you want for your node pool. |
- | --max-nodes | Maximum nodes for auto scaler |
- | --min-nodes | Minimum nodes for auto scaler |
- | --node-labels | A key=value comma separated string of labels to apply to the nodes in this node pool |
-p | --plan | the plan you want for your node pool. |
-q | --quantity | Number of nodes in your node pool. Note that at least one node is required for a node pool. |
-t | --tag | tag you want for your node pool. |
No comments yet.