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"
Now you can perform kubeCTL operations directly
Although remote access to the VM via SSH is not required, follow the steps described below if you would like to use it.
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 the file "/etc/ssh/sshd_config" to enable password based authentication over ssh.
Update "PasswordAuthentication" from "no" to "yes"
Enable ssh in the VM by typing the following command.
systemctl enable ssh
systemctl start ssh