User GuideCLI
Overview

Domain Environment Variable

Since octelium and octeliumctl CLIs are designed to work with multiple Clusters at the same time, and since a Cluster is defined and addressed by its domain, therefore octelium and octeliumctl commands need the --domain flag as follows:

octelium get service --domain <DOMAIN>

However, this might become exhausting especially if you do many commands for the same Cluster, therefore you can just set your domain once as an environment variable as follows:

export OCTELIUM_DOMAIN=example.com

Or in Windows PowerShell as follows:

1
$env:OCTELIUM_DOMAIN = "example.com"

Now you can do all your commands without having to add the --domain flag every time as follows:

octelium get service
octelium status
octelium connect

Listing Resources

You can list the Cluster's Namespaces as follows:

octelium get namespace
# OR
octelium get ns

You can also list the Cluster's Services as follows:

octelium get service
# OR
octelium get svc

You can also filter the list of Services by a specific Namespace via the --namespace or -n flag as follows:

octelium get svc --namespace default
# OR
octelium get svc -n production

By default, the list is ordered by the creation date. You can, however, set order the list by name as follows:

octelium get svc --order-by-name

You can also reverse the order of the list as follows:

octelium get svc --order-by-name --order-reverse

You can also set the page and number of items per page for the list as follows:

octelium get svc --items-per-page 10 --page 3

By default, the output of a octeliumctl get command is formatted as a table. You can force the output to be formatted as YAML as follows:

octelium get svc -o yaml
# OR
octelium get svc -o yml

You can also force the output to be formatted as JSON as follows:

octelium get svc -o json
# You can also use jq
octelium get svc -o json | jq
octelium get sess -o json | jq -r .items[0].metadata.uid

CLI Upgrade

You can also check whether there is a new latest version available for your Octelium clients as follows:

octelium version --check
# OR
octeliumctl version --check

Debugging Mode

You can see the debug logs of your octelium and octelium commands by enabling the debug mode. This can be especially useful to debug the octelium connect command in case of any connection issues. Here is an example:

export OCTELIUM_DEV=true
octelium connect

Disable TLS Verification

You can also disable verifying the Cluster-side TLS certificates by using the OCTELIUM_INSECURE_TLS environment variable. This can be useful for debugging, testing, troubleshooting use cases where the Cluster's TLS certificate has not been issued yet or simply expired.

export OCTELIUM_INSECURE_TLS=true
octelium status
© 2026 octelium.comOctelium Labs, LLCAll rights reserved
Octelium and Octelium logo are trademarks of Octelium Labs, LLC.
WireGuard is a registered trademark of Jason A. Donenfeld