Hi Team,

I am trying to join the Ubuntu (18.04) machine to the STX 4.0  K8s cluster using kubeadm join, but fails because kubelet is not running properly. I installed kubeadm and kubelet node binaries of version 1.18.12.

I checked the bug report and run the script (kubelet-cgroup-setup.sh) , still I get the issue.

[ https://bugs.launchpad.net/starlingx/+bug/1828270]

Do anybody can suggest what could be reason for it.

Journalctl -f :

Feb 17 15:48:33 cont0-NUC8i7HVK systemd[1]: Started Kubernetes systemd probe.

Feb 17 15:48:33 cont0-NUC8i7HVK kubelet[1259]: I0217 15:48:33.178057    1259 server.go:417] Version: v1.18.12

Feb 17 15:48:33 cont0-NUC8i7HVK kubelet[1259]: I0217 15:48:33.178299    1259 plugins.go:100] No cloud provider specified.

Feb 17 15:48:33 cont0-NUC8i7HVK kubelet[1259]: I0217 15:48:33.178318    1259 server.go:838] Client rotation is on, will bootstrap in background

Feb 17 15:48:33 cont0-NUC8i7HVK kubelet[1259]: I0217 15:48:33.186043    1259 certificate_store.go:130] Loading cert/key pair from "/var/lib/kubelet/pki/kubelet-client-current.pem".

Feb 17 15:48:33 cont0-NUC8i7HVK kubelet[1259]: I0217 15:48:33.187503    1259 dynamic_cafile_content.go:167] Starting client-ca-bundle::/etc/kubernetes/pki/ca.crt

Feb 17 15:48:33 cont0-NUC8i7HVK kubelet[1259]: F0217 15:48:33.212500    1259 server.go:274] failed to run Kubelet: invalid configuration: cgroup-root ["k8s-infra"] doesn't exist

Feb 17 15:48:33 cont0-NUC8i7HVK systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a

Feb 17 15:48:33 cont0-NUC8i7HVK systemd[1]: kubelet.service: Failed with result 'exit-code'.

--
cont0@cont0-NUC8i7HVK:~$ sudo find /sys/fs/cgroup/ -name k8s-infra

[sudo] password for cont0:

Sorry, try again.

[sudo] password for cont0:

Sorry, try again.

[sudo] password for cont0:

/sys/fs/cgroup/net_cls,net_prio/k8s-infra

/sys/fs/cgroup/blkio/k8s-infra

/sys/fs/cgroup/cpuset/k8s-infra

/sys/fs/cgroup/perf_event/k8s-infra

/sys/fs/cgroup/memory/k8s-infra

/sys/fs/cgroup/pids/k8s-infra

/sys/fs/cgroup/cpu,cpuacct/k8s-infra

/sys/fs/cgroup/freezer/k8s-infra

/sys/fs/cgroup/hugetlb/k8s-infra

/sys/fs/cgroup/devices/k8s-infra

/sys/fs/cgroup/systemd/k8s-infra


Thanks in advance for your help.

 

Mit freundlichen Grüßen/ with best regards,

Yatindra Shashi

  IoTG DE- Intel Corporation

   Munich, Germany

 

 

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928