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
342
questions
20
votes
1
answer
45k
views
I encountered when executing kubeadm init error issue [closed]
I encountered as below when executing sudo kubeadm init
Help me~~
$ sudo kubeadm init
[init] Using Kubernetes version: v1.24.1
[preflight] Running pre-flight checks
[WARNING SystemVerification]...
1
vote
1
answer
5k
views
Add new control plane node got failed k8s 1.21.0 [closed]
I want to add a new control plane node into the cluster.
So, I run in an existing control plane server:
kubeadm token create --print-join-command
I run this command in new control plane node:
kubeadm ...
-1
votes
1
answer
15k
views
kubeadm init failing while initializing a Kubernetes cluster [closed]
execution logs from kubeadm init
VM OS Version - RHEL 8.2 (4.18.0-193.el8.x86_64)
Docker Version - 19.03.8
Kubernetes Version - 1.18.0
H/W Configuration - 4 CPU and 16 GB RAM (90% available)
$$...
0
votes
1
answer
628
views
Changing kube-controller-manager.yaml with minkube [closed]
I want to add some flags to change sync periods. can I do it with minikube and kubectl? Or will I have to install and use kubeadm for any such kind of initialization? I refered the this link.
I ...
4
votes
1
answer
9k
views
kubeadm init error: kubeadm timed out waiting for the condition [closed]
I try execute
kubeadm init --apiserver-advertise-address 49.232.211.230 --pod-network-cidr=10.244.0.0/16 -v=9
print log:
[wait-control-plane] Waiting for the kubelet to boot up the control plane as ...
-1
votes
1
answer
339
views
What is the difference between kubeadm join and kubernetes api node creation [closed]
I noticed that we can create node by Kubernetes API
What is the difference between Kubeadm join and this api?
Is it possible to create a new worker node only by Kubernetes Api (without kubeadm)?
11
votes
1
answer
15k
views
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 ...
0
votes
3
answers
3k
views
How to programatically get value printed by Kubernetes in --discovery-token-ca-cert-hash after using kubeadm init [closed]
I have this specific use case, in which we remotely create Kubernetes clusters on a significant number of machines. When we run kubeadm init at the end the join commands gets printed as:
kubeadm join [...
0
votes
1
answer
258
views
How to check pre-version for kubeadm cluster
For some reason, I can not easily get the k8s.gcr.io containers in my server. The workaround is to fetch containers locally and then move it to my server. My question is how to pre-get all messages of ...
16
votes
1
answer
60k
views
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 ...
0
votes
2
answers
687
views
Equivalent of kind load or minikube cache in kubeadm
I have 3 nodes kubernetes cluster managing with kubeadm. Previously i used kind and minikube. When I wanted make deployment based on docker image i just need make:
kind load docker-image in kind or,
...
3
votes
1
answer
2k
views
minikube start - howto modify KubeletConfiguration passed to kubeadm?
I would like to set the value KubeletConfiguration.cpuCFSQuota = false in the config.yaml passed to kubeadm when launching minikube to turn off CPU resource checking, but I have not managed to find ...
1
vote
1
answer
892
views
Error: unknown api groups settings.k8s.io from kube-apiserver
I am using
kubeadm version: &version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:&...