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

kubedns container cannot connect to apiserver

I've been trying to setup a k8s cluster using RPi3b+ following the instructions here (Using kubeadm). I gave up on weave and switched to flannel for the CNI. However, now I'm getting the the following errors from kube-dns: pi@k8s-master-1:~ $…
Neil Johnson
  • 151
  • 7
0
votes
1 answer

how to recreate all the resources from a Weave Net manifest?

Because some of my pods get stuck, I want to recreate a DaemonSet and a few security-related resources created by Weave Net plugin during kubeadm bootstrap. I used the kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl…
X. Wang
  • 973
  • 1
  • 11
  • 21
0
votes
2 answers

kubernetes cluster ip unreachable

I try to access to my deployment but can't reach NodePort net. curl 10.99.12.214:30991 curl: (7) Failed connect to 10.99.12.214:30991; Aucun chemin d'accès pour atteindre l'hôte cible kubectl get ep NAME ENDPOINTS …
zonko
  • 31
  • 3
  • 9
0
votes
1 answer

RBAC authorization forbidding me to assign roles and depoyments

I'm running a two-node cluster on CentOS 7 with latest version of Kubernetes. Can't seem to do anything after setting it up.. This is the error I encounter whenever I want to create a deployment from the master: Error from server (Forbidden): error…
0
votes
0 answers

Pod not response properly

I have a local(without cloud provider) cluster made up of 3 vm the master and the nodes, I have created a volume with a nfs to reuse it if a pod die and is reschedule on another nodes, but i think same component not work well: I use to create the…
Cristian Monti
  • 145
  • 1
  • 2
  • 12
0
votes
2 answers

hostname doesn't get updated in kubectl get nodes command after hostname change

I changed the hostname on one of the nodes and ended up in this when I issue a kubectl get nodes. How can I update this [root@grs-testkubemaster01 ~]# kubectl get nodes NAME STATUS ROLES AGE …
sbolla
  • 671
  • 3
  • 22
  • 39
0
votes
3 answers

Want (internal) name for service while running nginx ingress controller kubernetes

Using kubeadm with a two-node cluster on VirtualBox Centos7 VMs. I have an app written in R and a mysql database each in their own pods. I've successfully followed instructions to setup nginx ingress controller so that the app can be reached…
anweb
  • 63
  • 8
0
votes
1 answer

Install Jenkins using Helm in Kubernetes (kubeadm)

First of all, I have Kubernetes cluster behind the proxy environment. I have three servers, master, node1, and node2. I installed Jenkins using below command. Create jenkine-project namespace and then helm install --name jenkins -f…
hokwang
  • 659
  • 2
  • 9
  • 22
0
votes
0 answers

Kubernetes through proxy

In order to setup a kuberntes cluster with kubeadm i had to go through our proxy, so before kubeadm init i export the no_proxy variables: export no_proxy=ip_master,ip_node export NO_PROXY=$no_proxy,ip_master,ip_node Now i installed kubernetes…
BOUKANDOURA Mhamed
  • 941
  • 1
  • 9
  • 25
0
votes
1 answer

Setting up kubeadm cluster with ubuntu and pi

I have been trying to bring up a kubernetes cluster with master on ubuntu (laptop) and worker node on pi3 using kubedm. All the installations on both machines went well. After running: kubeadm init --ignore-preflight-errors Swap…
0
votes
2 answers

Kubernetes service unreachable from master node on EC2

I created a k8s cluster on AWS, using kubeadm, with 1 master and 1 worker following the guide available here. Then, I started 1 ElasticSearch container: kubectl run elastic --image=elasticsearch:2 --replicas=1 And it was deployed successfully on…
DanielSP
  • 349
  • 3
  • 13
0
votes
1 answer

install and run kubeadm in ubuntu 16.04

I am using ubuntu 16.04 and I am newbie k8s. I am following this official document. https://kubernetes.io/docs/setup/independent/install-kubeadm/ # apt-get update # apt-get install -y docker.io # apt-get update && apt-get install -y…
hokwang
  • 659
  • 2
  • 9
  • 22
0
votes
3 answers

kubeadm init stuck with proxy and forbidden errors

I have spent two days trying to initialize my master node for kubernetes on my virtual machine. I have no idea what the issue is, i am getting a few "forbidden" and "connection refused" errors I also have setup my http_proxy env var as follows: $…
Sartigan
  • 185
  • 3
  • 12
0
votes
2 answers

Kubeadm init stops at image pulling

I'm having some troubles with initializing the master using kubeadm.. I'm trying to follow https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/ . I installed docker, kubelet, kubeadm and kubectl. Now I executed kubeadm init, but it…
Morishiri
  • 874
  • 10
  • 23
0
votes
0 answers

Kubernetes Pod always in Container Creating State

I have three node cluster and somehow it is ending up in a situation where pod is always in ContainerCreating state. NAME READY STATUS RESTARTS AGE i-have-no-sa 0/1 ContainerCreating…
Manish Jindal
  • 293
  • 3
  • 11