Questions tagged [kubeadm]

OFF-TOPIC most likely. Kubeadm is a tool built to provide kubeadm init and kubeadm join as best-practice “fast paths” for creating Kubernetes clusters. Questions about installing or configuring Kubernetes clusters are generally not on-topic for Stack Overflow and should be asked on another site.

kubeadm is a tool to create Kubernetes clusters.

Questions about creating Kubernetes clusters are most likely off-topic for Stack Overflow and should be asked on another site:

If a developer needs to create their own Kubernetes cluster, they will typically use a higher-level tool such as , , or , rather than directly invoking kubeadm.

606 questions
6
votes
1 answer

Enable IPVS Mode in Kube Proxy on a ready Kubernetes Local Cluster

I want to enable the Kube-proxy mode to IPVS in the existing cluster. currently, it is running on IPtables. how can I change it to IPVS without affecting the existing workload? I have already installed all the required modules to enable it. Also, my…
Pert8S
  • 582
  • 3
  • 6
  • 21
6
votes
3 answers

Why does kubeadm not start even after disabling swap?

I am trying to install kubernetes with kubeadm in my laptop which has Ubuntu 16.04. I have disabled swap, since kubelet does not work with swap on. The command I used is : swapoff -a I also commented out the reference to swap in /etc/fstab. #…
Pravin Kumar
  • 137
  • 2
  • 13
6
votes
1 answer

Why are my Kubernetes services running on different subnets?

I have a Spring Boot and PostgreSQL communication issue using service name. I have created a cluster using Calico for networking, as follows: sudo kubeadm init --pod-network-cidr=192.168.0.0/16 --apiserver-advertise-address=178.12.1.10 and joined…
Bhargav Patel
  • 1,098
  • 10
  • 23
6
votes
4 answers

coredns pods have CrashLoopBackOff or Error state

I'm trying to set up the Kubernetes master, by issuing: kubeadm init --pod-network-cidr=192.168.0.0/16 followed by: Installing a pod network add-on (Calico) followed by: Master Isolation issue: coredns pods have CrashLoopBackOff or Error…
alexus
  • 7,256
  • 12
  • 44
  • 66
6
votes
2 answers

Kube-Flannel cant get CIDR although PodCIDR available on node

currently I am setting up Kubernetes on a 1 Master 2 Node enviorement. I succesfully initialized the Master and added the nodes to the Cluster kubectl get nodes When I joined the Nodes to the cluster, the kube-proxy pod started succesfully, but the…
rootdoot
  • 323
  • 1
  • 2
  • 7
6
votes
4 answers

The connection to the server 10.0.x.x:6443 was refused after restarting the VM where kubernetes master was installed using kubeadm

I installed a Kubernetes master using kubeadm sucessfully on a VM (VirtualBox). The problem is that if I stop the machine and restart it the master node seems to be down: kubectl get nodes The connection to the server 10.0.x.x:6443 was refused - did…
codependent
  • 23,193
  • 31
  • 166
  • 308
6
votes
1 answer

How to config simple login/pass authentication for kubernetes desktop UI

I'm pretty new in kubernetes, I just install kubernetes via kubeadm and run dashboard UI but can't config access to it. Following docs I add line --basic-auth-file=/etc/kubernetes/auth.csv to /etc/kubernetes/manifests/kube-apiserver.yaml, create…
Giwery
  • 115
  • 3
  • 9
6
votes
1 answer

How to install Kubernetes cluster behind proxy with Kubeadm?

I met a couple of problems when installing the Kubernetes with Kubeadm. I am working behind the corporate network. I declared the proxy settings in the session environment. $ export http_proxy=http://proxy-ip:port/ $ export…
ichbinblau
  • 4,507
  • 5
  • 23
  • 36
6
votes
2 answers

Kubernetes flannel network does not work as expected

I encounter a very strange kubernetes network issue with kubeadm installation with flannel. Could you please help? I have 3 nodes, 1 for master, 2 for minion nodes.and has 4 pods are running. list all nodes(added a column # to simplify…
Bo Wang
  • 499
  • 1
  • 8
  • 15
6
votes
1 answer

Kubernetes kube-dns pod is pending

I tried this doc to install and setup Kubernetes in Ubuntu VM. I have finished upto 3/4 and now kube-dns pod is in pending status. How can i figure out this? here is the result for kubectl get pods --namespace=kube-system and kubectl describe pod…
Lakmal Vithanage
  • 2,767
  • 7
  • 42
  • 58
5
votes
0 answers

CRI v1 runtime API is not implemented for endpoint

whenever i am doing kubeadm init following error displayed can anyone help me here what i can do for this [init] Using Kubernetes version: v1.26.1 [preflight] Running pre-flight checks [WARNING Swap]: swap is enabled; production deployments…
5
votes
0 answers

Unable to determine runtime API version: rpc error

Kubernetes version: v1.18.19 Cloud being used: bare-metal Installation method: kubeadm Host OS: CentOS7 CNI and version: calico/cni:v3.17.0 CRI and version: docker 18.09.9 I upgrade my k8s cluster from v1.18.19 to v1.19.16 refer to this guide:…
KeithTt
  • 71
  • 1
  • 7
5
votes
2 answers

Limit the number of pods per node

I'm trying to limit the number of pods per each node from my cluster. I managed to add a global limit per node from kubeadm init with config file: apiVersion: kubeadm.k8s.io/v1beta1 kind: ClusterConfiguration networking: podSubnet:…
Ciprian Vintea
  • 448
  • 2
  • 4
  • 18
5
votes
2 answers

Kubernetes cluster "cni config uninitialized"

The problem i'm running into is very similar to the other existing post, except they all have the same solution therefore im creating a new thread. The Problem: The Master node is still in "NotReady" status after installing Flannel. Expected…
Hexalogy
  • 63
  • 1
  • 1
  • 8
5
votes
1 answer

K8S: convert "kubeadm init" command-line arguments to "--config" YAML

Background I'm attempting to configure a cluster via kubeadm. I normally create the (test) cluster via: sudo kubeadm init --pod-network-cidr 10.244.0.0/16 This parameter appears to eventually find its way into the static pod definition for the…
Hunter
  • 53
  • 1
  • 4