Category : kubeadm

I’m trying to create a kubernetes cluster (my first :D) using kubeadm under the control plane node – a VM Centos7-. Environment: kubeadm version : v1.21.1 Kubernetes version: v1.21.1 VM Centos 7 (2 CPU/2 G RAM/20G memory) VMWare workstation : 16 Kernel : Linux 3.10.0-1160.el7.x86_64 Docker : Community 19.03.8 Pod network add-on : Flannel Here ..

Read more

Hello I am getting permission denied on docker containers when creating Kubernetes from a private repo using Kubeadm. Basically Kubeadm successfully pulls all 7 Kubernetes containers, but 4 of which fail to start because they can not write to the .conf files in the /etc/kubernetes directory (permission denied). error loading config file "/etc/kubernetes/controller-manager.conf": open /etc/kubernetes/controller-manager.conf: ..

Read more

I try execute kubeadm init –apiserver-advertise-address 49.232.211.230 –pod-network-cidr=10.244.0.0/16 -v=9 print log: [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s I0426 01:21:19.624413 30483 round_trippers.go:435] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: kubeadm/v1.21.0 (linux/amd64) kubernetes/cb303e6" ‘https://49.232.211.230:6443/healthz?timeout=10s’ I0426 01:21:19.626723 30483 ..

Read more

I try execute kubeadm init –apiserver-advertise-address 49.232.211.230 –pod-network-cidr=10.244.0.0/16 -v=9 print log: [wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s I0426 01:21:19.624413 30483 round_trippers.go:435] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: kubeadm/v1.21.0 (linux/amd64) kubernetes/cb303e6" ‘https://49.232.211.230:6443/healthz?timeout=10s’ I0426 01:21:19.626723 30483 ..

Read more

I’m trying to initialize a kubernetes cluster with kubeadm (v1.20.4) without internet connection. And this is the problem what I’m facing. I installed containerd (as container runtime), kubeadm, kubectl, kubectl on master node. I did intentionally not install docker-ce, docker-ce-cli since the kubelet detects dockershim as container runtime over containerd when docker is installed on ..

Read more

All. I have questions about the purpose of root directory for containerd, docker, kubeadm. I’ve been trying to change the root directory from default to specific directory. As far as I known, there are 3 types of root directory like below. docker : –data-root /var/lib/docker containerd : –root /var/lib/containerd kubeadm : –root-dir /var/lib/kubeadm Please anyone ..

Read more