Mogenius CLI
With mocli
, you can observe your mogenius clusters, workspaces, resources, and more with style right from your command line environment.
The mogenius CLI is in Beta, with a limited feature set. Follow our release notes to keep track of new features.
Installation
Mac, Linux
Use homebrew to install the mocli
on your Mac or Linux machines with the following commands:
Be aware that on Linux with a headless machine,
mocli
would unfortunately not work as it currently requires a browser to log in to our platform.
Windows
Getting Started
You need an account for mogenius to use mocli
. If you do not have one yet sign up here.
Once you created your account, on your command line run following command. Your browser will open to log you in on the CLI with your mogenius account.
Connecting a cluster
You can use the CLI to install the mogenius operator on your Kubernetes cluster. Follow the steps to connect your cluster:
-
In the mogenius UI, add a new cluster.
-
Go back to your terminal and run
-
The available clusters of your organization will be shown. Select the cluster that you want to connect with your current kube context.
-
Verify that your local kube context is set to the cluster where you want to install the mogenius operator.
-
To deploy the operator, hit Enter.
The operator will now be deployed to your cluster. You can verify if the connection between operator and platform was established via mocli clusters list
or through the mogenius UI.
Was this page helpful?