Questions tagged [kubeadm]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

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 ...
user avatar
  • 361
0 votes
0 answers
23 views

Virtctl stuck at "The escape sequence is ^]" when trying to access VM created using KubeVirt

I have a Kubernetes cluster setup using KubeAdm (Setup in EC2 instances in AWS Cloud. Master node is a t2.large instance and worker node is an m5.metal instance). The CNI used is Flannel and the ...
user avatar
0 votes
1 answer
52 views

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 ...
user avatar
0 votes
1 answer
63 views

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 ...
user avatar
0 votes
0 answers
75 views

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 ...
user avatar
0 votes
1 answer
55 views

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 ...
user avatar
1 vote
1 answer
49 views

"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 ...
user avatar
0 votes
1 answer
1k views

Kubernetes Cluster on CentOS 7 with kubeadm 1.24 - calico => coredns stuck in ContainerCreating

In order to install a master kubernetes node on centos7 with containerd and calico : I followed this steps : https://computingforgeeks.com/install-kubernetes-cluster-on-centos-with-kubeadm/ After the ...
user avatar
  • 21
4 votes
1 answer
562 views

Kubernetes: Pod IP address is out of range specified in --pod-network-cidr

After upgrading to v1.24.0 (after Dockershim removal), I had to install cri-dockerd, then I did the following: sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --cri-socket=unix:///var/run/cri-...
user avatar
  • 101
1 vote
2 answers
2k views

Kubeadm 1.24 with containerd. Kubeadm init fail (centos 7)

I try to install a single node cluster on centos 7, with kubadm 1.24 and with containerd, i followed the installation steps, and i did: containerd config default > /etc/containerd/config.toml and ...
user avatar
  • 21
0 votes
0 answers
85 views

How to force kube-proxy or kubelet to use the host's private IP?

I've created a cluster using kudeadm and everything works fine up until the point when I try to set up firewall rules like only allowing 10.0.0.0/8 traffic in. This somehow disables my VPN pod (...
user avatar
  • 105
0 votes
0 answers
877 views

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:"...
user avatar
1 vote
0 answers
1k views

Pod coredns stuck in ContainerCreating state with Weave on k8s

First of all, let me thank you for this amazing guide. I'm very new to kubernetes and having a guide like this to follow helps a lot when trying to setup my first cluster! That said, I'm having some ...
user avatar
  • 113
1 vote
0 answers
234 views

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 ...
user avatar
  • 11
0 votes
1 answer
783 views

/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 ...
user avatar
  • 3,054
0 votes
1 answer
123 views

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 ...
user avatar
  • 428
0 votes
1 answer
899 views

Kubernetes Nginx Ingress with Cert Manager and letsencrypt does not allow wildcarts in domain names

I have a self-hosted Kubernetes cluster with an Nginx Ingress. Cert-manager is also running on the cluster, with which I try to get valid SSL certificates using Letsencrypt. It all works and I get a ...
user avatar
0 votes
1 answer
915 views

Kuberentes kubelet-client-current.pem expired

I'm new in K8s and I'm facing a problem with certificate. 1.13 version is used. One of the worker nodes is in NotReady status. I check logs and it turned out that: Part of the existing bootstrap ...
user avatar
0 votes
2 answers
3k views

Kubeadm init fails, kubelet fails to start

I'm trying to set up a Kubernetes cluster on a set of raspberry pi 4s, I'm running into a issue with kubelet failing when running the kubeadm init command I0205 12:29:52.930582 5348 local.go:65] [...
user avatar
  • 101
1 vote
1 answer
724 views

K8s: discovery Failed to request cluster-info (forbidden)

The command kubeadm join 192.168.178.38:6443 ... fails The host/port is reachable. I tested it with telnet. But I get this on the node: [discovery] Failed to request cluster-info, will try again: ...
user avatar
  • 3,054
1 vote
3 answers
11k views

Kubernetes API server not able to register master node

I was trying to create a Kubernetes Cluster using kubeadm. I had spin up an Ubuntu 18.04 server, installed docker (made it sure that docker.service was running), installed kubeadm kubelet and kubectl. ...
user avatar
0 votes
2 answers
2k views

kubelet service is not running(fluctuating) in Kubernetes master node

I was trying to create a Kubernetes Cluster using kubeadm. I had spin up an Ubuntu 18.04 server, installed docker (made it sure that docker.service was running), installed kubeadm kubelet and kubectl. ...
user avatar
1 vote
1 answer
575 views

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 ...
user avatar
  • 111
1 vote
1 answer
148 views

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-...
user avatar
  • 113
1 vote
1 answer
249 views

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 ...
user avatar
  • 256
1 vote
1 answer
1k views

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 ...
user avatar
  • 256
1 vote
2 answers
1k views

kubernetes coredns is in CrashLoopBackOff status with "no nameservers found" error

I have tried to build kubernetes using kubeadm on my bare-metal server with containerd as cri, but it seemed that coredns failed to start after installing cni (weave-net). Two coredns containers are ...
user avatar
  • 256
1 vote
0 answers
722 views

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 ...
user avatar
1 vote
1 answer
247 views

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 ...
user avatar
0 votes
1 answer
80 views

Custom root cert for kubeconfig files

Running kubeadm init phase certs apiserver --config kubeadm.yaml Is it possible to have multiple/custom root certificate to be used for group of users/kubectl/config files? I am asking because, I ...
user avatar
  • 147
0 votes
0 answers
86 views

kube-proxy seems to be unable to resolve service IP on windows

Running a hybrid cluster on 3 VMs, master node a linux, one worker is linux the other one is windows. the linux node is working correctly (at least, it can run Jenkins job and a grafana). The Windows ...
user avatar
2 votes
2 answers
435 views

How do I configure Kubernetes to use kubenet with kubeadm?

I deployed a Kubernetes cluster using kubeadm. $ kubectl get nodes NAME STATUS ROLES AGE VERSION ip-172-31-33-9.us-east-2.compute....
user avatar
  • 129
0 votes
2 answers
2k views

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 ...
user avatar
  • 256
1 vote
2 answers
332 views

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 ...
user avatar
0 votes
0 answers
4k views

How to remove kubernetes completely from Ubuntu node

We need to completely remove Kubernetes from Ubuntu 18.04 server. For that we tried kubeadm reset sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube* It gives Package 'kubeadm' is not ...
user avatar
0 votes
0 answers
31 views

Is there a major difference between either CPU, RAM or Storage capacity needs for the leader or contributor nodes in a production K8S cluster? [duplicate]

I have already allocated 3 VPS for an initial multiple timezone cluster. 12 single-core vCPUs ≈50 GB RAM ≈1TB SSD storage 1 EST,1 CST,& 1 PST Before I jump in however, I would like to know if ...
user avatar
0 votes
0 answers
626 views

kubeadm init failing while initializing a Kubernetes cluster

VM OS Version - RHEL 8.2 (4.18.0-193.el8.x86_64) Docker Version - 19.03.8 Kubernetes Version - 1.18.0 H/W Configuration - 4 CPU and 16 GB RAM (90% available) execution logs from kubeadm init $$kubeadm ...
user avatar
  • 1
1 vote
0 answers
131 views

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 ...
user avatar
1 vote
1 answer
269 views

HA kubernetes cluster: Accidental kubeadm reset on 1 master node, connection refused when rejoining the cluster

I have setup a kubernetes cluster with 2 master nodes (cp01 192.168.1.42, cp02 192.168.1.46) and 4 worker nodes, implemented with haproxy and keepalived running as static pods in the cluster, internal ...
user avatar
  • 11
0 votes
0 answers
122 views

Kubernetes Load balancer on Azure via kubeadm

We have created a Kubernetes cluster ( 1 master, 2 workers VMs) using kubeadm on Azure. The master and worker VMs have private IPs only. We are bringing up an nginx pod of service type - Load balancer ...
user avatar
  • 29
2 votes
1 answer
760 views

Kubernets 1.21.3 The recommended value for "clusterCIDR" in "KubeProxyConfiguration"

I am trying to join new node to existing v1.21.3 cluster with Calico CNI. join command giving clusterCIDR warning. How to fix this subnet warning message? # kubeadm join master-vip:8443 --token xxx --...
user avatar
  • 193
-1 votes
1 answer
37 views

Kube-proxy pod not starting v1.21.3

I have delete kube-proxy pod from my master nodes to get the new kube-proxy configmap values, when I reboot the node still kube-proxy is not coming up ? How to start the kube-proxy? # crictl ps ...
user avatar
  • 193
0 votes
1 answer
846 views

KubeADM cluster: how to configure DNS properly

I have the following project that I use to create my own Kubernetes cluster on the local machine (macOS) via KubeAdm: https://github.com/sasadangelo/k8s-cluster Basically, I started from this project ...
user avatar
0 votes
1 answer
3k views

Kubernetes: kubeadm join fails in private network

I'm trying to set up a HA Kubernetes cluster on Hetzner Cloud following this guide. I've created 6 servers, 3 control plane hosts and 3 workers. When trying to use kubeadm to join the second server to ...
user avatar
1 vote
1 answer
306 views

How to check if a node in k8s cluster got rebooted

k8s master checks for kubelet status at frequent intervals. Maybe we can change that time and that makes the node not-ready. But that doesn't always mean that the node got rebooted. How to change ...
user avatar
0 votes
1 answer
243 views

Choosing Public IP or VPC IP for creating Kubernetes cluster

I have 3 compute engines (VMs) from a cloud provider, and I can connect to them using my SSH key and their public IP. I want to run a Kubernetes cluster (1 master, 2 workers) using kubelet on these ...
user avatar
0 votes
1 answer
102 views

kubeadm tool fail to initialize cluster when --advertise ip address is DNS Entry instead of actual IP address

I'm initializing the cluster using kube-adm tool and its failing.The reason is when kube-api server comes up , it looks for configuration and in configuration we have set "--advertise-address&...
user avatar
2 votes
3 answers
8k views

How can I find which kubernetes certificate has expired?

I have a kubeadm installed kubernetes cluster. Recently it stopped working. kubelet is running but seems stuck in initialization phases. I think the root cause is this recurring log in kube-apiserver: ...
user avatar
  • 271
2 votes
1 answer
1k views

How to change the hostname on the single-node K8s node

Environments: OS: Ubuntu 18.04.5 LTS Kubernetes: v1.16.15 deployment tool: kubeadm v1.16.15 I initialize a single-node K8s on my workstation with the following configuraions: --- apiVersion: kubeadm....
user avatar
  • 21
2 votes
1 answer
3k views

coredns pods stuck in Pending state

I'm trying to learn k8s and since I happen to have access to OpenStack cloud I figured I'll try to install k8s on it, following this wiki. So far I was able to initialize cluster, install weave CNI, ...
user avatar