Skip to main content

Configure Direct Access to Virtual Machine Dashboard

This guide provides step-by-step instructions on how to configure an address for the Virtual Machines dashboard of clusters configured using Virtual Machine Orchestrator (VMO). This configuration allows you to have direct access to your virtual machines, without needing to navigate to Clusters > cluster Overview > Virtual Machines.

Prerequisites

Enablement

  1. Log in to Palette.

  2. From the left main menu, select Clusters. The cluster list appears. Select the VMO cluster you previously deployed.

  3. From the cluster Overview tab, download the Kubeconfig file. This file allows you to connect to your deployed cluster.

  4. Open a terminal session and set the environment variable KUBECONFIG to point to the file you downloaded.

    export KUBECONFIG=<path-to-downloaded-kubeconfig-file>
  5. Execute the following command to find the vm-dashboard service deployed by the VMO pack. Make a note of the external IP of the service. This could be a fully qualified domain name or an IP address.

    kubectl get services --namespace vm-dashboard
    Example output
     NAME           TYPE           CLUSTER-IP   EXTERNAL-IP         PORT(S)         AGE
    vm-dashboard LoadBalancer 10.0.0.5 198.51.100.42 xxx:xxxxx/TCP XXd
  6. Return to Palette. Select the Profile tab of your cluster.

  7. Select the Virtual Machine Orchestrator layer to edit it. Then, select Values. The values editor appears.

  8. Paste the external IP you made a note of in step 5 in the charts.virtual-machine-orchestrator.appConfig.clusterInfo.consoleBaseAddress field. Append /v1 to the value.

    Example value
     consoleBaseAddress: "https://198.51.100.42/v1"
  9. Click Save to apply your changes. Wait for Palette to complete your cluster update.

Validation

  1. Log in to Palette.

  2. From the left main menu, select Clusters. The cluster list appears. Select the VMO cluster you previously deployed.

  3. On the cluster Overview tab, select the Connect button in the Virtual Machine Dashboard section. A new tab opens with the address you configured and shows the virtual machines dashboard.

    Connect VM dashboard button

You can bookmark your configured address and access the VM dashboard for your cluster directly, without navigating through Palette. You will need to log in with your Palette user credentials as usual to access it.