Game of Pods: Cannot ssh into nodes

For Bravo you need to ssh into node01 in order to create the directory for the pv. When I try to ssh I get:

controlplane $ ssh node01
Warning: Permanently added ‘node01,172.17.0.52’ (ECDSA) to the list of known hosts.
Please wait until the environment is ready before opening a new terminal
Connection to node01 closed.

To check that node01 is working I created a label on the node and applied a node selector for a pod. The pod runs on the node without issue.

controlplane $ kubectl describe pod/pod | grep Node
Node: node01/172.17.0.52
Node-Selectors: node=node01

When I run kubectl get nodes it shows node01 in a ready state.

Before the update I was able to use ssh node01 to get into the node so I guess it has something to do with the update. I also waited about 30 min and it still does not work.

thanks for reporting! We will check it.

I’m facing exactly the same problem.

Seems like remote commands can run without interactive login:
ssh node01 /bin/mkdir /redis01
ssh node01 /bin/ls -l /

but even if folders are created on the server side

ssh node01 mkdir drupal-data

then the check fails in the task

Did you use this exact command or still placed slash / in the paths?
ssh node01 mkdir /drupal-mysql-data /drupal-data -p

In my case folders have been created, PV and PVC are correctly bound, when I k exec to the pod and create an arbitrary file let’s say in /var/www/html/modules, it appears in /drupal-data/modules on node01 as expected.

ok, let’s check now, senks

It works now. There must have been a change on KodeKloud’s side.

Thank you