What happens after restart

I have restarted my computer.

kubectl cluster-info

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
The connection to the server 192.168.1.29:6443 was refused - did you specify the right host or port?

k8s@PL005596:/home/mawk$ docker ps

CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

It seems that nothing is running after the restart.
service kubelet status
● kubelet.service - kubelet: The Kubernetes Node Agent
   Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/kubelet.service.d
           └─10-kubeadm.conf
   Active: activating (auto-restart) (Result: exit-code) since Thu 2020-06-11 07:42:26 CEST; 1s ago
In fact kubernetes node agent is trying to automatically start.

After restart my computer has enabled swap again. To disable this temporary I have used `swapoff -a`. To do this permanently we should edit /etc/fstab and remove swap space (probably extending other disk partitions).
Then let's try to run it again.

Comments

Popular posts from this blog

Kubernetes cluster

cgroupfs vs systemd

Working with pre-release version...