add command
The add command adds noade and add-ons (monitoring, Cocktail, etc.) to a Kubernetes cluster.
add command work with sub command
Prerequisite
After create command or create infra command
Usage
cube add [node | addon] [flags]
Sub command
node
- Adds a node to a Kubernetes cluster. While aws and azure add a new server instance, gce, virtualbox, and baremetal require server preparation.
addon
- Add Kubernetes addon. Available addons is list below:
- cm - Cocktail and Prometheus monitoring
- km - Kube dashboard, Prometheus monitoring and Grafana
Flags
public ip
command:
nodesub command--public-ip, -uPublic IP address of the node to be added.
Requirement: Required if provider is gce, virtualbox, or baremetal; Unused if provider is aws or azure.
private ip
command:
nodesub command--private-ip, -uPrivate IP address of the node to be added.
Requirement: Required if provider is gce, virtualbox, or baremetal; Unused if provider is aws or azure.
node count
command:
nodesub command--node-count, -cTotal number of nodes (existing nodes and nodes to be added).
Requirement: Required if provider is aws or azure; Unused if provider is gce, virtualbox, or baremetal.
addon name
command:
addonsub command--name, -nAddon name