FAQ

This FAQ is a work in progress designed to answer the questions our users most frequently ask about Harvester.

How can I ssh login to the Harvester node?

  1. $ ssh [email protected]

What is the default login username and password of the Harvester dashboard?

  1. username: admin
  2. password: # you will be promoted to set the default password when logging in for the first time

How can I access the kubeconfig file of the Harvester cluster?

Option 1. You can download the kubeconfig file from the support page of the Harvester dashboard. harvester-kubeconfig.png

Option 2. You can get the kubeconfig file from one of the Harvester management nodes. E.g.,

  1. $ sudo su
  2. $ cat /etc/rancher/rke2/rke2.yaml

How to install the qemu-guest-agent of a running VM?

  1. # cloud-init will only be executed once, reboot it after add the cloud-init config with the following command.
  2. $ cloud-init clean --logs --reboot

https://cloudinit.readthedocs.io/en/latest/reference/cli.html#clean

How can I reset the administrator password?

In case you forget the administrator password, you can reset it via the command line. SSH to one of the management node and run the following command:

  1. # switch to root and run
  2. $ kubectl -n cattle-system exec $(kubectl --kubeconfig $KUBECONFIG -n cattle-system get pods -l app=rancher --no-headers | head -1 | awk '{ print $1 }') -c rancher -- reset-password
  3. New password for default administrator (user-xxxxx):
  4. <new_password>