LAB 2 - Question -7 - Certified Kubernetes Application Developer Mock Exam Series

what is the password for ssh cluster2-controlplane command?

@Tej-Singh-Rana - please help here

There should be no passwords for any ssh command.

Remember that you can only ssh from the base node - the node you are on when the mock exam begins.
You cannot ssh between controlplanes and workers.

If you’ve followed the same steps as I have, your terminal has the prefix:

cluster3-controlplane ~ ➜ 

You have to escape from cluster3 somehow. I’m not sure, but I opened a new terminal tab from the + button on the tab bar. It opened a new terminal where these commands work:

student-node ~ ➜  kubectl config use-context cluster2
Switched to context "cluster2".

student-node ~ ➜  ssh cluster2-controlplane


cluster2-controlplane ~ ➜  ls /opt
webapp-color-apd

cluster2-controlplane ~ ➜  

Good luck!

Like this:

cluster3-controlplane ~ ➜ exit

student-node ~ ➜ 
1 Like

Thank you for the fast response!