Questions tagged [kubeadm]

117 questions
0
votes
0 answers

kube-apiserver.service failing after complete reinstall of kubernetes and kubectl plugins

I'm having an issue where kube-apiserver.service will always fail on my local Fedora 36. Getting the namespaces from a context I was experiencing certificate issues that prevented me from succeeding. I was using kubens and getting the error: >…
0
votes
0 answers

Kubeadm : can't pull flannel docker image from docker.io but pulling images from registry.k8s.io is ok

I want to deploy a little k8s test cluster using 3 VMS running on my host, one master and two workers. On all of them, needed software are installed : docker, kubeadm, kubectl, kubelet . I've followed the steps described in the official…
0
votes
1 answer

Install HA Kube

I've tried following various different guides on installing HA kube and I cant get anything to work. My basic setup is to have 3 master nodes with Keepalived creating a virtual IP (10.10.20.30) and keepalived to send the traffic to the kubelet that…
MikeSchem
  • 113
  • 6
0
votes
0 answers

"kubeadm upgrade node" on a worker node fails with failed to getAPIEndpoint error

I have been trying to upgrade Kubernetes bare metal cluster (3 masters, 3 workers from version 1.21.2 to 1.22.6) and was successful in upgrading all the master nodes. Coming to the first worker node, I upgraded kubeadm and then trying to execute…
0
votes
0 answers

Maintaining same version of kubectl client and server version same in CentOs

Recently we upgraded the kubeadm in of kubernetes cluster. Unfortunately it happened to be both my client and server kubectl got upgraded to 2 different versions. I tried to downgrade, for some reason my server version is not same as the client. How…
0
votes
1 answer

Fix the KubeletHasDiskPressure in Kubernetes on a very limited server

I have a question regarding our local Kubernetes installation (Kubelet version == 1.24.4). We're having a Kubernetes installation installed using Kubespray. I'm aware of a few related questions/answers in Stackoverflow regarding fixing the…
0
votes
0 answers

Calico CNI calio-apiserver issues, on-premises kubeadm based kubernetes v1.24.2 cluster

I am unable to get calico CNI fully functional on a on-premises kubeadm based kubernetes v1.24.2 cluster. The calio-apiserver pods (in the calio-apiserver namespace) have the status "CrashLoopBackOff". I installed calico CNI using the commands below…
Allan K
  • 151
  • 6
0
votes
0 answers

kubeadm based kubernetes (v1.24.2) worker nodes are still in "NotReady" status even after installing calico CNI ("Error querying BIRD")

kubeadm based kubernetes (v1.24.2) worker nodes are still in "NotReady" status even after installing calico CNI ("dial unix /var/run/bird/bird.ctl: connect: no such file or directory") I have deployed calico CNI on kubeadm based kubernetes cluster…
Allan K
  • 151
  • 6
0
votes
1 answer

kubeadm based kubernetes Get "https://10.96.0.1:443/api?timeout=32s": dial tcp 10.96.0.1:443: connect: no route to host

I have deployed a kubeadm based kubernetes cluster v1.24.3 which consists of one control-plane node and 3 worker nodes (all Centos 7 VMs). These are all "on premises" on a single physical node. On this setup, I am trying to deploy a CNI network…
Allan K
  • 151
  • 6
0
votes
1 answer

Cannot properly edit and save worker node specs in Kubernetes

I have a Kubernetes cluster setup using KubeAdm (Setup in EC2 instances in AWS Cloud). The CNI used is Flannel and the cluster is running quite well. My requirement is that I am trying to setup KubeVirt (https://kubevirt.io/) in my Cluster to…
0
votes
0 answers

Calico deployment not saving tolerance for master node

I was trying to setup a Kubernetes Cluster using Amazon EC2 and Kubeadm. I created a 't2.large' EC2 instance based on Ubuntu 18.04 AMI. Setup kubeadm, kubelet, kubectl and docker as the container runtime. Ran the kubeadm init…
arjunbnair
  • 143
  • 1
  • 2
  • 11
0
votes
1 answer

Kubernetes pull from image private network / fails to respect /etc/hosts of server

(Reposted from original post at: https://stackoverflow.com/questions/73012913/kubernetes-pull-from-image-private-network-fails-to-respect-etc-hosts-of-serv as this is a more appropriate place to ask the question) I am running a small 3 node test…
Aaron Murray
  • 139
  • 2
  • 8
0
votes
0 answers

kubeadm init failing to connect through proxy

I have this version of kubeadm [root@megatron ~]# kubeadm version kubeadm version: &version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.0", GitCommit:"4ce5a8954017644c5420bae81d72b09b735c21f0", GitTreeState:"clean",…
Paul Arbour
  • 1
  • 1
  • 2
0
votes
1 answer

/etc/kubernetes/kubelet.conf: no such file or directory

I try to upgrade a node in a demo-cluster: root@cluster3-worker2:~# sudo kubeadm upgrade node couldn't create a Kubernetes client from file "/etc/kubernetes/kubelet.conf": failed to load admin kubeconfig: open /etc/kubernetes/kubelet.conf: no such…
guettli
  • 3,591
  • 17
  • 72
  • 123
0
votes
1 answer

API-Server on master stops after adding second control-plane

In my current test setup I've several VMs running Debian-11. All nodes have a private IP and a second wireguard interface. In the future the nodes will be in different locations with different network and Wireguard is used to "overlay" all the…
TRW
  • 488
  • 3
  • 16