Skip to main content
Skip table of contents

Managing Nodes Manually with eks-node-cli

General Usage

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

Available Commands

Commands

Explanations

add

Adds a new x-compute node to the EKS cluster.

remove

Removes an existing x-compute node from the EKS cluster.

list

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.

BASH
eks-node-cli add -n <node_name> -c <num_cores> -m <memory_MiB> [-v <volumesize_GiB>] -p <pool_name> -r <profile_name> -k <cluster_name> [-l <node_label>] [-x <prefix_count>] [-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.

  • -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:

BASH
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:

BASH
eks-node-cli list

Options:

  • -u <URL>: Optional. The base URL for the API. Overrides the default URL if set.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.