Attach-node

Attach a Prepared Node to an Existing Cluster

Command: cluster attach-node

Attaches a prepared node to a pre-existing cluster.

Usage

Bash
Copy
FlagTypeRequired/OptionalDescription
-m , --master-ipStringOptionalIP of the node you wish to attach as a master node for this cluster. Repeat this option multiple times to specify multiple nodes as masters. If you wish to make the current node also a master, specify it as localhost or specify the current node’s IP address
-w , --worker-ipStringOptionalIP of the node you wish to attach as a worker node for this cluster. Repeat this option multiple times to specify multiple nodes as workers. If you wish to make the current node also a worker, specify it as ‘localhost’ or specify the current node’s IP address.
--helpShow this message and exit.

Example

This sample command attaches 1 master and 2 workers to the cluster MyPMKCluster

Bash
Copy

Troubleshooting

Refer to Troubleshooting CLI Issues.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard