On Kubernetes Worker Nodes. Missing Kubernetes manifests directory. Error:
kubelet: "Unable to read config path" err="path does not exist, ignoring" path="/etc/kubernetes/manifests"
To fix:
mkdir /etc/kubernetes/manifests
On Kubernetes Master & Worker Nodes. Error:
kubelet: summary_sys_containers.go: "Failed to get system container stats"
err='failed to get cgroup stats for "/system.slice/kubelet.service":
failed to get container info for "/system.slice/kubelet.service":
unknown container "/system.slice/kubelet.service"'
containerName="/system.slice/kubelet.service"
To fix:
cat <<EOF | sudo tee /etc/systemd/system/kubelet.service.d/11-cgroups.conf
[Service]
CPUAccounting=true
MemoryAccounting=true
EOF
Describe the issue
/var/log/messages
after system initialization (details below)Vagrant
) to match the instructions laid our in the Getting Started guide.LogLevel
toFATAL
(instead ofQUIET
) which can mask genuine connectivity errors.Environment (please complete the following information):
Additional information
manifests
directory. Error:To fix:
To fix:
sudo systemctl daemon-reload sudo systemctl restart kubelet
audit: type=1400 avc: denied { ioctl } for comm="iptables" path="/sys/fs/cgroup" dev="tmpfs"
MULTI_MASTER=true
and in-built load balancer /virtual-ip
. Error:This is due to the
unicast_src_ip
being in theunicast_peers
. To fix:/etc/keepalived/keepalived.conf
; find theunicast_src_ip
value and remove it from theunicast_peers
section.To fix:
I'll submit a PR shortly to add the fixes above in the
fixups()
function of the provisioning script.