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
0
votes
1 answer

kubeadm init 1.9 hangs with vsphere cloud provider

kubeadm init seems to be hanging when I started using vsphere cloud provider. Followed instructions from here - Anybody got it working with 1.9? root@master-0:~# kubeadm init --config /tmp/kube.yaml [init] Using Kubernetes version: v1.9.1 [init]…
padlar
  • 375
  • 1
  • 4
  • 13
0
votes
1 answer

REST API for Kubernetes apiserver proxy?

I have a K8s Cluster made from kubeadm v1.8.4 present on virtual machine. Now i want to access this K8s cluster using rest API from my laptop/workstation. One way through which i am able to do this is by running this command "kubectl proxy…
Abhay Dwivedi
  • 1,500
  • 2
  • 16
  • 22
0
votes
1 answer

Getting Kubernetes cluster information

I have deployment my kubernetes cluster using kubeadm. Now I want to gather cluster based information like master node IP, port on which apiserver is listening and name of the cluster. With kubectl cluster-info gives me some data but I am looking to…
Abhay Dwivedi
  • 1,500
  • 2
  • 16
  • 22
0
votes
1 answer

kube-up.sh fails to initialize Ubuntu master in cluster in Kubernetes v1.9

I am attempting to start a Ubuntu Kubernetes v1.9 cluster with the following: export KUBE_ROOT=~/kubernetes export NUM_NODES=1 export NODE_SIZE=n1-standard-8 export NODE_DISK_SIZE=100GB export KUBE_GCE_INSTANCE_PREFIX=kubernetes-test export…
Karmel
  • 3,452
  • 2
  • 18
  • 11
0
votes
2 answers

How can I set my local kubectl to point to 2+ clusters created using kubeadm?

I am running into a few issues when trying to get my local kubectl to point to clusters created with kubeadm: The kubectl config files generated from kubeadm use the same user name, cluster name, and context name, so I cannot simply download them…
Mike
  • 961
  • 6
  • 19
  • 43
0
votes
1 answer

Where is Flanneld configuration that Kubernetes (installed by Kubeadm) use?

Question Flanneld on a Kubernetes worker node has the configuration file /etc/sysconfig/flanneld which points to the ETCD on localhost of the worker node, which should point to the master node etcd URL. Does this mean the Pod network has not been…
mon
  • 18,789
  • 22
  • 112
  • 205
0
votes
2 answers

kubeadm init --token=xyz or kubeadm init --token xyz?

Question Which format of kubeadm init --token is correct? (2/4) Initializing your master shows "--token xyz". kubeadm join --token : --discovery-token-ca-cert-hash sha256: kubeadm init shows…
mon
  • 18,789
  • 22
  • 112
  • 205
0
votes
1 answer

Does kubeadm join command configure Pod network?

Question Does kubeadm join on the worker nodes configure Pod network, or need to run (3/4) Installing a pod network step on every node? Background Reading Using kubeadm to Create a Cluster but not clear what are the worker node specific tasks.
mon
  • 18,789
  • 22
  • 112
  • 205
0
votes
2 answers

How to get Kubernetes UI in localmachine?

I have a kubernetes cluster running in azure on 3 centos7 machines. I'm treating those machines as a bare-metal cluster to do some test. I'm using kubeadm for spinning the cluster. Now my question is how can I see the kubernetes UI in my…
kick07
  • 614
  • 1
  • 8
  • 19
0
votes
0 answers

pods are restarted automatically in the node which is added to the existing kubeadm cluster

Recently added a kubenode to the existing kubeadm cluster using kubeadm join --token (TOKEN) (MASTER IP):6443 and with --discovery-token-ca-cert-hash. The node attached successfully and it is listed in the "kubectl get nodes". Now the pods…
0
votes
0 answers

Error Running kubeadmin using vagrant in Localhost

I am trying to create a kubenetes cluster with one master and one node using Vagrant on my localhost. I have already done all the steps that is present in the official documentation at…
Himadri Ganguly
  • 715
  • 4
  • 11
  • 31
0
votes
1 answer

Unable to connect ignite pods in Kubernetes using Ip-finder

Ignite nodes are not getting connected in kubernetes cluster. I have used API method TcpDiscoveryKubernetesIpFinder and set kubernetes master Ip address explicitly as https://192.167.120.92:443 (ip address of kubernetes master node) using…
rishi007bansod
  • 1,283
  • 2
  • 19
  • 45
0
votes
1 answer

kubelet reading from wrong config file?

When I run kubelet version I get an error message ending in: error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd" But when I check the config…
Mike
  • 961
  • 6
  • 19
  • 43
0
votes
0 answers

Unable to start flannel network on worker nodes in Kubernetes

When joining worker node to cluster I am getting following error on worker node : Nov 07 14:39:58 xyz.com kubelet[43868]: W1107 14:39:58.218433 43868 conversion.go:110] Could not get instant cpu stats: different number of cpus Nov 07 14:39:58…
rishi007bansod
  • 1,283
  • 2
  • 19
  • 45
0
votes
1 answer

Using kubadm to setup a cluster on several cloud providers

I'm trying to setup a Kubernetes cluster using kubeadm on two machines from two different cloud providers. These are the steps that I took: I got two ubuntu machines, one from AWS and one from Google Cloud I created a VPN and joined the two…