General Usage
Code Block | ||
---|---|---|
| ||
eks-node-cli {add|remove|list} [options] |
Available Commands
Commands | Explanations |
---|---|
| Adds a new x-compute node to the EKS cluster. |
| Removes an existing x-compute node from the EKS cluster. |
| Lists all x-compute 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.
...
-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.-v <volumesize_GiB>
: Optional. Size of the EKS node's root disk in GiB.-p <pool_name>
: Pool name for the node.-r <profile_name>
: Profile name for the node.-k <cluster_name>
: Name of the Kubernetes cluster.-l <node_label>
: Optional. Node label in key=value format.-x <prefix_count>
: Optional. Prefix count with default value 3. Must be between 0 and 13.-u <URL>
: Optional. The base URL for the API. Overrides the default URL if set.
Removing a Node
To remove a node:
Code Block | ||
---|---|---|
| ||
eks-node-cli remove -n <node_name> [-u <URL>] |
...
-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:
Code Block | ||
---|---|---|
| ||
eks-node-cli list |
Options:
-u <URL>
: Optional. The base URL for the API. Overrides the default URL if set.