For example, when you run the following command after connecting to Web SSH via Console:
$ kubectl get node error: the server doesn't have a resource type "node" |
This happens because authentication information is renewed at every login for security reasons, but there is a bug in the synchronization process which is being addressed and will be included in the next patch.
You can work around this issue by following the method below.
(However, you need admin rights on the corresponding namespace to perform the procedure below.)
Access the cluster Console.
Click the Dashboard button on the dashboard screen.
Move to the Kubernetes Dashboard.
Navigate to the Pods menu on the left sidebar.
Enter
web-ssh
in the top search bar.Find the Pod named
web-ssh-{username}
in the search results.Click the three dots button on the right of that Pod and select Delete.
After the Pod deletion is complete, try connecting to Web SSH again.
If the problem persists after trying the above method, please submit a ticket.