Skip to content

FAQ

Local KubeCTL Access

Follow the steps below if you would like to access the k8s api server directly on the VM

  • SSH into the VM on Virtual Box
  • Perform "sudo su"
sudo su

Now you can perform kubeCTL operations directly


Enabling SSH

Although remote access to the VM via SSH is not required, follow the steps described below if you would like to use it.

Access Credentials

The following default access credentials can be used for SSH access to the underlying OS backing the k8s cluster.

Username: rafay_admin Password: Admin$321


Switch to Root

sudo su -

Modify SSHD

Modify the file "/etc/ssh/sshd_config" to enable password based authentication over ssh.

vi /etc/ssh/sshd_config

Update "PasswordAuthentication" from "no" to "yes"


Enable/Disable SSH

Enable ssh in the VM by typing the following command.

systemctl enable ssh
systemctl start ssh