Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

General Usage

eks-node-cli {add|remove|list} [options]

Available Commands

Commands

Explanations

add

Adds a new node to the EKS cluster.

remove

Removes an existing node from the EKS cluster.

list

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> -k <cluster_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

  • No labels