Nodes

The orka node group of commands in the Orka CLI. These commands are used for node monitoring and management.

Monitor live node status

📘

IMPORTANT

orka top is now disabled. Use orka node list or orka node status instead.

Command

Show live status for the nodes in your Orka environment. This command blocks the command-line.

👍

TIP

Run orka top in a separate command-line window. Hit Ctrl+C twice to release the command line.

orka top

Output

List nodes

Command

List Orka nodes with state and resource availability. Without any options specified, the command returns the worker nodes where Orka deployments are scheduled.

orka node list

OR 

orka node list -f all

Output

Options

You can pass the following options with orka node list in direct mode:

Option

Shorthand option

Description

-filter

-f

(Administrative-only) Set to all to list all nodes

--json

Returns the output of the command in JSON.

Get node status

Command

Show status information, including sandbox status, for a selected node. The command also lists all available nodes.

orka node status

OR

orka node status -n <NODE> -y

Output

Options

You can pass the following options with orka node status in direct mode:

Option

Description

Sample value

-n

The name of the node.

macpro-1

-y

Bypasses the interactive prompt and executes the command with the specified parameters.

--json

Returns the output of the command in JSON.

Enable sandbox

Command

Enable sandbox mode for the node. This prevents Orka from managing deployments on the node and reserves it for Kubernetes-only deployments. This command requires additional administrative authentication with an Orka license key.

📘

Sandbox is not required to use kubectl

kubectl works on all Orka clusters. Sandboxing is an easy way to cordon off nodes and prevent further deployment management with the basic Orka CLI.

orka node sandbox

OR

orka node sandbox -n <NODE> -y

Output

Options

You can pass the following options with orka node sandbox in direct mode:

Option

Description

Sample value

-n

The name of the node.

macpro-1

-l

An Orka license key used for authentication against your Orka environment. Set this option, if you want to use a license key different from the one cached locally.

orka-license-key

-y

Bypasses the interactive prompt and executes the command with the specified parameters.

--json

Returns the output of the command in JSON.

Disable sandbox

Command

Disable sandbox mode for the specified node and expose it for deployment management with the Orka CLI. This command requires additional administrative authentication with an Orka license key.

orka node unsandbox

OR

orka node unsandbox -n <NODE> -y

Output

Options

You can pass the following options with orka node unsandbox in direct mode:

-n

The name of the node.

macpro-1

-l

An Orka license key used for authentication against your Orka environment. Set this option, if you want to use a license key different from the one cached locally.

orka-license-key

-y

Bypasses the interactive prompt and executes the command with the specified parameters.

--json

Returns the output of the command in JSON.

Manage node dedication

Command

Dedicate the specified node to the specified user group or remove an existing node dedication. This command requires additional administrative authentication with an Orka license key.

orka node group

OR

orka node group -g <GROUP> -n <NODE> -y

OR (to remove a node dedication)

orka node group -g -n <NODE> -y

Output

Options

You can pass the following options with orka node group in direct mode:

Option

Shorthand option

Description

Sample value

--node

-n

The node to which you want to apply or remove a user group label.

macpro-2

--group

-g

The user group label that you want to apply. The label may or may not already exist.

To remove a group label, leave blank.

mygroup

--assume-yes

-y

Bypasses the interactive prompt and executes the command with the specified parameters.

--json

Returns the output of the command in JSON.


Did this page help you?