0

I am new in DevOps. Recently I bought two raspberry pi devices and setup one as master and the another as worker node. When I reboot the device the docker containers (api server etc.) don't up.

What should to do in this case ? Should I use kubeadm reset and kubeadm init each and every time I reboot device (server in case of production) and re configure the whole cluster ?

I am attaching screenshot here:

journalctl -u kubelet

journalctl -u kubelet

Shamim
  • 101

1 Answers1

0

In Kubelet logs you can see this line:

failed to run Kubelet: running with swap on is not supported.

Followed by Main process exited.

To resolve the issue you need to disable swap. Check this stackoverflow answer for more info on how to do it if you don't know.

Matt
  • 568