Questions tagged [kubeadm]

117 questions
0
votes
1 answer

kubernetes control plane goes down often

I did setup a kubernetes cluster using kubeadm. Somehow kubectl refuses to connect to that cluster in non-periodic occasions with an error message as in the following; The connection to the server 192.168.1.3:6443 was refused - did you specify the…
atg
  • 1
  • 2
0
votes
2 answers

Unable to initialize Kubernetes cluster upon sudo kubeadm init line command

Trying to deploy Kubernetes on AWS EC2 instance. I'm seeing the following errors/warning when running sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --ignore-preflight-errors=all Errors: [WARNING CRI]: container runtime is not running: output:…
0
votes
0 answers

Dual Stack Kubernetes cluster assigning single stack IPs to pods & services

I am creating a dual stack Kubernetes cluster with kubeadm, and installing Calico. I am using the below configuration file for kubeadm: apiVersion: kubeadm.k8s.io/v1beta3 kind: InitConfiguration localAPIEndpoint: advertiseAddress: 0.0.0.0 …
0
votes
1 answer

kubeadm config images pull fails

I am trying to install k8s on a new machine running Ubuntu 20.04 using containerd and kubeadm is failing to load the images: # kubeadm config images pull --kubernetes-version=1.21.0 --image-repository registry.k8s.io failed to pull image…
David Tinker
  • 589
  • 1
  • 8
  • 18
0
votes
1 answer

Kubeadm - Kubernetes: Failed to fetch https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-arm64

I am trying to deploy kubernetes (kubeadm cluster) on ARM64 based Ubuntu 20.04 virtual machine. I am getting the follwoing error when deploying kubeadm: xxx@controller01:~$ sudo mkdir -p /etc/apt/keyrings/ xxx@controller01:~$ curl -fsSL…
Khaled
  • 101
  • 1
0
votes
0 answers

Migrate a hand-made kubernetes cluster to kubeadm

I have an existing production kubernetes cluster that was installed by hand, and for easier administration, I would like to upgrade it to a kubeadm installation. I know this will be hard and painful, but it will be easier for future admin. Where…
Dede
  • 101
  • 3
0
votes
0 answers

Kubernetes connection refuses often

I have configured Kubernetes using kubeadm in cent os stream 9. When I issue kubectl commands i am getting this error often The connection to the server xx.xxx.xx.xx:6443 was refused - did you specify the right host or port? I have used Flannel as…
0
votes
1 answer

Error checking external CA condition for ca certificate authority

Not sure how to solve the problem with the certificates, maybe someone has encountered this problem? kernel uname -a Linux node2 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux OS cat…
cryptoparty
  • 109
  • 3
0
votes
0 answers

Multi cloud provider kubernetes cluster pod logs got timeout

Hi all i have master node in digital ocean and worker node in google cloud, nodes are connected using public ip of master node and pods are in running status but when i run kubectl logs i'm getting timeout error , also i noticed log is calling with…
0
votes
0 answers

kubeadm : unable to register node with api server x509 certificate signed by unknown authority kubeadm

I am trying to create a K8S cluster in HA. I have created 2 VMs, one acting as a load balancer and the second as the master node. The load balancer has a simple NGINX server with the following configuration events {} http { upstream backend { …
0
votes
1 answer

kubeadm not creating controller-manager.conf when using external CA

I'm trying to initialise a kubernetes cluster using kubeadm, unfortunately this isn't working as expected. This is the kubeadm config file: apiVersion: kubeadm.k8s.io/v1beta2 kind: ClusterConfiguration kubernetesVersion: "v1.19.16" networking: …
Lethargos
  • 455
  • 2
  • 7
  • 19
0
votes
0 answers

How to add "Kind" settings to "/.kube/config" file?

I have installed kubeadm previously and configured it using kubeadm --init and the configs are inside /.kube/config file by now. I recently installed kind and want to know how should I configure it? My goal is to using kind to work with kubernetes…
best_of_man
  • 367
  • 1
  • 3
  • 12
0
votes
1 answer

Kubeadmin: Why do we need to upgrade the kubelet and kubectl seperately?

Kubeadmin is a tool to manage and maintain the Kubernetes cluster. Based on the Kubernetes Doc, there are rough four steps to upgrade the controlplane node. upgrade the version of kubeadmin itself cordon the node upgrade the controlplane…
Ryan Lyu
  • 118
  • 4
0
votes
1 answer

kubeadm 1.25 init failed on Debian 11 with containerd -> connection refused

I try to init a kubernetes master node running on a Debian GNU/Linux 11 (bullseye) system with kubeadm version 1.25.4-00. I followed the official guideline on kubernetes.io. I installed containerd and have set SystemdCgroup = true in…
Ralph
  • 101
  • 4
0
votes
0 answers

Kubelet node not found

I'm trying to set up a kubernetes cluster. My kubeadm init times out with The kubelet is unhealthy due to a misconfiguration of the node in some way. Looking at Kubelet I find that is continuously reporting Container runtime network not ready, Error…
Logister
  • 101
  • 1
  • 3