General Usage
eks-node-cli {add|remove|list} [options]
Available Commands
Commands | Explanations |
---|---|
| Adds a new node to the EKS cluster. |
| Removes an existing node from the EKS cluster. |
| Lists all nodes in the EKS cluster. |
Command Details
Add a Node
To add a node, specify parameters such as node name, CPU cores, memory, pool name, profile name, and cluster name.
eks-node-cli add -n <node_name> -c <num_cores> -m <memory_MiB> -p <pool_name> -r <profile_name> [-u <URL>]
Options:
-n <node_name>
: Name of the node for the EKS cluster.-c <num_cores>
: Number of CPU cores for the node.-m <memory_MiB>
: Amount of memory in MiB for the node.-p <pool_name>
: Pool name for the node.-r <profile_name>
: Profile name for the node.-u <URL>
: (Optional) The base URL for the API. Overrides the default URL if set.
Removing a Node
To remove a node:
eks-node-cli remove -n <node_name> [-u <URL>]
Options:
-n <node_name>
: Name of the node to be removed from the EKS cluster.-u <URL>
: (Optional) The base URL for the API. Overrides the default URL if set.
Listing Nodes
To list all nodes:
./eks-node-cli list