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
8
votes
4 answers

Install kubeadm in macOS

How to install kubeadm for Kubernetes in macOS. When tempting to use brew install kubeadm I get this error Error: No available formula with the name "kubeadm" ==> Searching for a previously deleted formula (in the last month).. NB : In macOS I…
Smaillns
  • 2,540
  • 1
  • 28
  • 40
8
votes
3 answers

Kubernetes kubeadm init fails due to dial tcp 127.0.0.1:10248: connect: connection refused

I'm trying to setup a very simple 2 node k8s 1.13.3 cluster in a vSphere private cloud. The VMs are running Ubuntu 18.04. Firewalls are turned off for testing purposes. yet the initialization is failing due to a refused connection. Is there…
Stavros_S
  • 2,145
  • 7
  • 31
  • 75
8
votes
4 answers

Requests timing out when accesing a Kubernetes clusterIP service

I am looking for help to troubleshoot this basic scenario that isn't working OK: Three nodes installed with kubeadm on VirtualBox VMs running on a MacBook: sudo kubectl get nodes NAME STATUS ROLES AGE …
codependent
  • 23,193
  • 31
  • 166
  • 308
8
votes
1 answer

kube-apiserver not authenticating correctly in multi master cluster

I am attempting to create a HA Kubernetes cluster in Azure using kubeadm as documented here https://kubernetes.io/docs/setup/independent/high-availability/ I have everything working when using only 1 master node but when changing to 3 master nodes…
Mike Norgate
  • 2,393
  • 3
  • 24
  • 45
7
votes
2 answers

Kubernetes: unable to join a remote master node

Hello I am facing a kubeadm join problem on a remote server. I want to create a multi-server, multi-node Kubernetes Cluster. I created a vagrantfile to create a master node and N workers. It works on a single server. The master VM is a bridge Vm, to…
Mohamed Zouari
  • 395
  • 1
  • 5
  • 14
7
votes
3 answers

kubelet saying node "master01" not found

I try to stack up my kubeadm cluster with three masters. I receive this problem from my init command... [kubelet-check] Initial timeout of 40s passed. Unfortunately, an error has occurred: timed out waiting for the condition This error is…
manzion_111
  • 139
  • 1
  • 1
  • 7
7
votes
3 answers

Is kubeadm production ready now?

I'm here to know about kubeadm. I'm planing to create kubernetes cluster using kubeadm on my production environment. So, I wanted to know is kubeadm production is ready to deploy in my product?
EL173
  • 797
  • 9
  • 22
7
votes
2 answers

Kubernetes cluster name change

I'm creating a cluster with kubeadm init --with-stuff (Kubernetes 1.8.4, for reasons). I can setup nodes, weave, etc. But I have a problem setting the cluster name. When I open the admin.conf or a different config file I see: name: kubernetes When…
Kamil
  • 221
  • 1
  • 2
  • 11
7
votes
7 answers

unable to access kubernetes dashboard via token

I have setup a kubernetes using kubeadm v1.8.5 Setup a dashboard using: wget https://raw.githubusercontent.com/kubernetes/dashboard/v1.8.0/src/deploy/recommended/kubernetes-dashboard.yaml` kubectl create -f kubernetes-dashboard.yaml kubectl…
zhwlx22
  • 171
  • 1
  • 1
  • 14
7
votes
3 answers

kubernetes v1.7.1 kubeadm join hostname "" could not be reached error

Today I recreated my cluster with v1.7.1 when I run the kubeadm join --token 189518.c21306e71082d6ec command, it giving the below error. this used work in previous version of kubernetes. Is something changed in this version, How do we resolve…
sfgroups
  • 18,151
  • 28
  • 132
  • 204
6
votes
8 answers

Kubernetes failed to pull image k8s.gcr.io

I am trying to install Kubernetes on my CentOS machine, when I intialize the cluster, I have the following error. I specify that I am behind a corporate proxy. I have already configured it for Docker in the directory:…
AmineH7
  • 75
  • 1
  • 1
  • 6
6
votes
3 answers

Kubernetes: Nodes/Pods not showing with kubectl after building cluster with kubeadm

I am trying to create a Kubernetes cluster using kubeadm tool. For this I installed the supported docker version as specified here I could also install kubeadm successfully. I initiated the cluster with below command sudo kubeadm init…
Zama Ques
  • 1,497
  • 5
  • 26
  • 45
6
votes
4 answers

core_dns stuck in ContainerCreating status

I am trying to setup a basic k8s cluster After doing a kubeadm init --pod-network-cidr=10.244.0.0/16, the coredns pods are stuck in ContainerCreating status NAME READY STATUS RESTARTS …
Harish Gupta
  • 141
  • 1
  • 7
6
votes
1 answer

Kubernetes DNS lookup issue and "invalid" in the /etc/resolv.conf file

I have deployed a Kubernetes cluster composed of a master and two workers using kubeadm and the Flannel network driver (So I passed the --pod-network-cidr=10.244.0.0/16 flag to kubeadm init). Those nodes are communicating together using a VPN so…
ZedTuX
  • 2,859
  • 3
  • 28
  • 58
6
votes
2 answers

Calico: Kubernetes pods can't ping each other use Cluster IP

I installed kubernetes using kubeadm v1.14.0 and added two working nodes via the join command. kubeadm config apiVersion: kubeadm.k8s.io/v1beta1 kind: ClusterConfiguration kubernetesVersion: v1.14.0 controlPlaneEndpoint:…
Cliven
  • 359
  • 3
  • 10