Questions tagged [kubeadm]
117 questions
1
vote
0 answers
kubeadm has a empty token list
I'm running a k8s cluster to study and when I run kubeadm token list on the master node doesn't do anything, just jump to another line. And there is no file /etc/kubernetes/pki/tokens.csv on the master node.
root@k8s-master:~# kubeadm token list…

rodolpho
- 23
- 4
1
vote
1 answer
kubeadm based kubelet 1.24.2 calico CNI issues
I have installed a kubeadm based kubernetes cluster (v1.24.2) on Centos7.
I have attempted to install calico CNI as per the instructions at "https://projectcalico.docs.tigera.io/getting-started/kubernetes/quickstart".
The "/etc/cni/net.d/" and…

Allan K
- 151
- 6
1
vote
1 answer
Kubeadm won't pull images (unable to determine version and cri-dockerd not found)
I did fresh install for several Ubuntu 22.04 servers with the latest (1.24.3) kubeadm, kubelet, and kubectl installed. I am also using containerd as the CRI.
The error happens when I was trying to initiate the K8s cluster by running the preflight:
#…

NeilWang
- 383
- 4
- 14
1
vote
1 answer
How to create a container-disk image for VMs provisioned using KubeVirt
I am trying to create a VM setup in my Kubernetes cluster using KubeVirt. I have two EC2 instances(Master node: t2.xlarge and worker node: m5.metal) in AWS cloud and I have setup the cluster using KubeAdm. The CNI used is Flannel.
I had setup…

arjunbnair
- 143
- 1
- 2
- 11
1
vote
1 answer
"kubeadm-config" in the kube-system namespace used for getting configuration information was not found
I have a Kubernetes cluster created by Kubeadm.
My current version of the cluster is v1.19.2 and trying to upgrade to v1.20.15-0
Now I am trying to upgrade the kubeadm cluster via kubeadm upgrade plan but I got below error :
[upgrade/config] FATAL:…
Muhaimin Aiman
1
vote
0 answers
How to add custom SSL certificates to cluster Kubernetes
I have a Kubernetes cluster with 2 master and 3 worker nodes also I have a separate Haproxy server with public IP.
By default, kubeadm generates all the certificates required for the cluster and stores the certificates in /etc/kubernetes/pki
As per…

AkilaMK
- 11
- 1
1
vote
1 answer
kubeadm token create fails on self signed ca cert
I am trying to deploy a k8s cluster using kubespray on top of an openstack cluster of ubuntu servers. The install fails when kubeadm tries to init the cloud provider by submitting a post request to the keystone endpoint xxx:5000/v3/ to create the…

Ted
- 111
- 6
1
vote
1 answer
VMWare Workstation and Windows 10: can't connect to a server hosted on VM
I have a private 2 nodes Kubernetes cluster configured on VMWare Workstation 15. I'm using MetalLB and Calico.
Ingress service and ingress look like:
xxx@c1-cp1:~/Desktop$ kubectl get svc -n ingress-controller-2
NAME …

Oana
- 113
- 4
1
vote
1 answer
How can I modify CoreDNS configmap before I bootstrap the cluster using kubeadm?
I need to build my on-prem Kubernetes cluster using kubeadm.
Since my environment has no DNS, I have to modify a configmap of CoreDNS so that it doesn't contain a forwarding section.
After deploying the cluster, I can edit the configmap using…

Daigo
- 343
- 7
- 20
1
vote
1 answer
Offline installation of kubernetes fails when using containerd as a CRI
I had to build a bare-metal Kubernetes cluster with no Internet connection for some reason.
As dockershim was deprecated, I decided to use containerd as a CRI, but the offline installation with kubeadm failed while executing kubeadm init due to…

Daigo
- 343
- 7
- 20
1
vote
0 answers
Can't pull images from gcr.io using kubeadm
I cannot pull images from gcr.io using kubeadm. I do not understand the problem, as it seems to have correct internet access to get the latest version info correctly.
This is running on a ubuntu 20.04 machine. Kubernetes has been installed with:
…

user3142695
- 105
- 12
1
vote
1 answer
Pods on two different nodes communicate very slow, any idea why?
I am learning k8s and I have 3 nodes k8s cluster. I have just recently deployed k8s with kubeadmin and so far it is working great. everything working perfectly but the only problem that I am facing is network throughput. my three nodes and replica…

Yousuf
- 35
- 2
- 6
1
vote
2 answers
Kubeadm with containerd cannot use locally loaded images
I'm trying to build kubernetes with containerd in bare-metal server (RHEL8).
There's no Internet connection so I manually downloaded needed images (e.g. k8s.gcr.io/kube-scheduler:v1.22.1) and loaded them using "ctr image import".
The images seem to…

Daigo
- 343
- 7
- 20
1
vote
2 answers
Deploy control plane without master node registration using kubeadm
I'd like to set up the Kubernetes cluster and hide the control plane components for all clients (some kind of a managed cluster). Kubeadm uses Kubelet and static pods to run this components which lead to registering Node and Pod resources into the…

Pavel Parshin
- 123
- 7
1
vote
0 answers
Does CRI-O support live upgrade without restarting containers?
I have an on-prem kubeadm created Kubernetes cluster running on Ubuntu 18.04. I have installed cri-o as container runtime. Since, it is claimed by CRI-O that it supports zero downtime during live upgrades, as it doesn't restart the containers when…

Shresthi Garg
- 11
- 1