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

“kubectl exec” results in "error: unable to upgrade connection: pod does not exist"

root@master2:/home/osboxes# kubectl get pods --all-namespaces -o wide NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE default hello-kubernetes-55857678b4-4xbgd 1/1 Running …
Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286
11
votes
1 answer

Config not found: /etc/kubernetes/admin.conf -- After setting up kubeadm worker node

Following this tutorial, I set up a worker node for my cluster. However, after running the join command and attempting kubectl get node to verify the node was connected, I am met with the following error W0215 17:58:44.648813 3084402 loader.go:223]…
arshbot
  • 12,535
  • 14
  • 48
  • 71
11
votes
2 answers

127.0.0.1:8001 refused to connect when kubectl proxy to access kubernetes dashboard

I deploy a cluster (neo4j) with kubeadm based on this guide. Now I have these pods : NAME READY STATUS RESTARTS AGE neo4j-core-0 1/1 Running 0 20h neo4j-core-1 1/1 Running 0 20h neo4j-core-2 1/1 …
Majid Rajabi
  • 1,417
  • 6
  • 20
  • 35
11
votes
2 answers

Can we install Kubernetes in a complete offline mode with kubeadm?

I need to install a Kubernetes cluster in complete offline mode. I can follow all the instructions at http://kubernetes.io/docs/getting-started-guides/scratch/ and install from binaries but that seems like an involved setup. The installation using…
Buchi
  • 1,322
  • 4
  • 14
  • 33
10
votes
2 answers

MetalLB External IP to Internet

I can't access to public IP assigned by MetalLB load Balancer I created a Kubernetes cluster in Contabo. Its 1 master and 2 workers. Each one has its own public IP. I did it with kubeadm + flannel. Later I did install MetalLB to use Load Balancing.…
dasHannon
  • 305
  • 1
  • 3
  • 12
10
votes
3 answers

apt-get update error related with kubeadm

I am suffering below problem. I use ubuntu 16.04. I am following guide document, but it does not works for me. # cat /etc/apt/sources.list.d/kubernetes.list deb http://apt.kubernetes.io/ kubernetes-xenial main # curl -s…
hokwang
  • 659
  • 2
  • 9
  • 22
10
votes
1 answer

kubeadm: master node never ready

I'm following a blog post to setup a kubernetes cluster with kubeadm. So I have a Virtualbox created with bridge network and simply followed the instructions. I initially just did kubeadm init and it didn't work (master NotReady). So I figured maybe…
lang2
  • 11,433
  • 18
  • 83
  • 133
9
votes
1 answer

breaking out the message couldn't get current server API group list while installing kubernetes in cloud server

I have been trying to install kubernetes in Oracle cloud server. I followed the kubernetes instruction. Output of kubectl config view : apiVersion: v1 clusters: - cluster: certificate-authority-data: DATA+OMITTED server:…
Joonseo Lee
  • 458
  • 2
  • 6
  • 12
9
votes
1 answer

Kubeadm and the Risks of Scheduling Pods on Master Node (Pods always Pending)

While following the kubernetes article on Using kubeadm to Create a Cluster, I was stuck when the AddOn pods I was trying to install (Nginx, Tiller, Grafana, InfluxDB, Dashboard) would always stay in a state of Pending. Checking the message from…
Flea
  • 1,490
  • 2
  • 19
  • 43
9
votes
2 answers

Kubernetes1.9.0 kubeadm init - crictl not found in system path

I am setting up kubernetes cluster on a Centos 7 machine, and the kubeadm init command gives me the below warning message. [init] Using Kubernetes version: v1.9.0 [init] Using Authorization modes: [Node RBAC] [preflight] Running pre-flight checks. …
sfgroups
  • 18,151
  • 28
  • 132
  • 204
8
votes
1 answer

After certificates renewal, an error: "You must be logged in to the server (Unauthorized)"

My certificates were expired: root@ubuntu:~# kubectl get pods Unable to connect to the server: x509: certificate has expired or is not yet valid …
E235
  • 11,560
  • 24
  • 91
  • 141
8
votes
5 answers

kubadm init error CPUs 1 is less than required 2

Can anybody help me with this error. I have been following different links to install Kubernetes in centos 7 and I keep getting this error when i run the kubadm init command. [ERROR NumCPU]: the number of available CPUs 1 is less than the required…
Brandon Koenig
  • 81
  • 1
  • 1
  • 3
8
votes
0 answers

kube-apiserver - invalid bearer token, Token has been invalidated

When I try to start kube-apiserver I get following logs: I1215 14:18:23.130968 1 controller.go:83] Starting OpenAPI controller I1215 14:18:23.131021 1 customresource_discovery_controller.go:208] Starting DiscoveryController I1215…
pixel
  • 24,905
  • 36
  • 149
  • 251
8
votes
3 answers

Can't able to get externalID ( i.e instanceId provided by aws) of my kubernetes master node

I did try kubectl describe node masterNodeName ,it gives output as :- Name: ip-172-28-3-142 Roles: master Labels: beta.kubernetes.io/arch=amd64 beta.kubernetes.io/os=linux …
Dhanraj
  • 1,162
  • 4
  • 18
  • 45
8
votes
2 answers

How to troubleshoot metrics-server on kubeadm?

I have a working 1.15.1 kubenetes cluster using kubeadm on bare-metal and just deployed metrics-server as in the docs: git clone https://github.com/kubernetes-incubator/metrics-server.git kubectl create -f metrics-server/deploy/1.8+/ After some…
staticdev
  • 2,950
  • 8
  • 42
  • 66
1 2
3
40 41