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
-
Access to Palette multi-tenant SaaS or a dedicated SaaS installation. Learn more about Palette installations on the Deployment Architecture Overview page.
-
A workload cluster with VMO installed and configured. Refer to the VMO guide for details.
- The cluster must use the Direct preset on the Virtual Machine Orchestrator layer.
- Ensure that the VM User Roles and Permissions are configured for your Palette user.
Enablement
-
Log in to Palette.
-
From the left main menu, select Clusters. The cluster list appears. Select the VMO cluster you previously deployed.
-
From the cluster Overview tab, download the Kubeconfig file. This file allows you to connect to your deployed cluster.
-
Navigate to your terminal window and set the environment variable
KUBECONFIG
to point to the file you downloaded.export KUBECONFIG=<path-to-downloaded-kubeconfig-file>
-
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 outputNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
vm-dashboard LoadBalancer 10.0.0.5 198.51.100.42 xxx:xxxxx/TCP XXd -
Return to Palette. Select the Profile tab of your cluster.
-
Select the Virtual Machine Orchestrator layer to edit it. Then, select Values. The values editor appears.
-
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 valueconsoleBaseAddress: "https://198.51.100.42/v1"
-
Click Save to apply your changes. Wait for Palette to complete your cluster update.
Validation
-
Log in to Palette.
-
From the left main menu, select Clusters. The cluster list appears. Select the VMO cluster you previously deployed.
-
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.
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.