Access Admin Console
Published 08 December 2022
This page describes how to access Admin Console from different users' perspective.
Contents
How to access Admin Console
Instructions are different on whether you are accessing from the host VM or from another workstation in your network.
Host machine
In the host machine running the cluster, you can:
Port-forward the Admin Console:
kubectl kots admin-console --namespace default
- Access the Admin Console in your browser by using the link given by the above command (typically http://localhost:8800/)
The Admin Console remains accessible for as long as the kubectl kots admin-console
command is running. Pressing CTRL+C in the command-line window will stop the Admin Console.
Remote access (Linux/MacOS/WSL)
If you want to be able to access the Admin Console from other machines in your network follow these steps:
Start by installing the kubectl
kots
plugin needed to access the Admin Console remotely:curl https://kots.io/install | bash
Add remote access credentials to your cluster by following these instructions (it's recommended you merge with your existing KUBECONFIG if you have one already so you can easily switch between kube contexts)
Add the host VM (running the cluster) ip to the
/etc/hosts/
file:
3.1. Open /etc/hosts in a text editor
3.2. Add a line to the end of the fileaaa.bbb.ccc.ddd redgate-platform.<your company domain>
where aaa.bbb.ccc.ddd represents the IP address of the cluster.
Port-forward the Admin Console:
kubectl kots admin-console --namespace redgate-clone-app
- Access the Admin Console in your browser by using the link given by the above command (typically http://localhost:8800/).
The Admin Console remains accessible for as long as the kubectl kots admin-console
command is running. Pressing CTRL+C in the command-line window will stop the Admin Console.