Redgate Clone

Access Admin Console

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:

  1. Port-forward the Admin Console:

    kubectl kots admin-console --namespace default
  2. 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: 

  1. Start by installing the kubectl kots plugin needed to access the Admin Console remotely:

    curl https://kots.io/install | bash
  2. 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)

  3. 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 file

    aaa.bbb.ccc.ddd redgate-platform.<your company domain>

    where aaa.bbb.ccc.ddd represents the IP address of the cluster.

  4. Port-forward the Admin Console:

    kubectl kots admin-console --namespace redgate-clone-app
  5. 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.




Didn't find what you were looking for?