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:
1octelium 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
Now you can do all your commands without having to add the --domain
flag every time as follows:
octelium get serviceoctelium statusoctelium connect