All Questions
Tagged with kubernetes kubeadm
138
questions
1
vote
0
answers
24
views
Bad gateway return with k8s traefik ingress when firewalld is enable
Here is the definition of my problem.
I have a single node kubeadm cluster running on fedora cloud 40 VMs with vagrant.
I activated firewalld with this configuration:
kubernetes
sources: 10.0.0.0/8 ...
0
votes
0
answers
32
views
k8s : Calico node is not coming up
I am trying to bring up k8s cluster with calico. Calico node install-cni container is not coming up
root@stage:/etc# kubectl version
Client Version: v1.28.10
Kustomize Version: v5.0.4-0.20230601165947-...
0
votes
0
answers
69
views
Running into NodeHasDiskPressure using kubeadm with containerd (invalid capacity 0 on image filesystem)
I have a setup with the default configuration of containerd, containerd config default. I have also set SystemCgroup = true since this installation is on arch linux (and their docs mentioned this). ...
0
votes
0
answers
57
views
How to Generate and Revoke Kubernetes Admin Config Files in a Kubeadm Cluster?
I have a Kubernetes cluster set up using kubeadm, and currently, developers can access and deploy using the default admin config file. However, I need to generate a new admin config file and revoke ...
0
votes
0
answers
91
views
kubelet.service: Failed at step EXEC spawning /usr/bin/kubelet: No such file or directory
I am new to Kubernetes, And I am trying to run kubelet and I am facing huge difficulties. Need your help I tried to remove Kubernetes, and reinstall completly, but kubelet doesn't run at all.
...
0
votes
0
answers
88
views
Tried to set up a K8 cluster from scratch on Ubuntu 22 but the kubelet is failing to register nodes
The kubelet service shows the below error
Apr 05 14:13:06 estk8worker0 kubelet[90209]: E0405 14:13:06.863258 90209 kubelet_node_status.go:92] "Unable to register node with API server" err=&...
0
votes
0
answers
78
views
Kube-apiserver Unable to authenticate the requests, All workers NotReady Status
All of the workers status are NotReady.
Kubelet on worker node shows below problem.
Inspecting one of the workers kubelet shows below.
Seems to be kubelet cannot access kube-apiserver
$ curl -k ...
0
votes
1
answer
193
views
How to configure Ipv6 subnets for kubeadm setup of Kubernetes on a vlan?
I'm not understanding how to setup global ipv6 addressing for the pod network in a new dual stack kubernetes cluster.
My isp gives me an ipv6 subnet of: 2001:1234:1234::/48 for example
I have 3 vlans ...
1
vote
0
answers
66
views
Can I change controlPlaneEndpoint after kubernetes initialization?
I'm new to kubernetes and this is my kubernetes version info
kubeadm version: &version.Info{
Major:"1",
Minor:"27",
GitVersion:"v1.27.3",
GitCommit:"...
2
votes
1
answer
193
views
Why does kubeproxy, apiserver and etcd not need CNI plugins to start?
I have initiated a k8s cluster on a server with the below configuration:
OS: Ubuntu 2022 LTS
Container Runtime: containerd
CNI: Absoloutley nothing installed!
Cluster initiator: Kubeadm
init-...
0
votes
1
answer
181
views
How to make kubeadm init work with external CAs?
I am trying to bootstrap a Kubernetes cluster using my own Certificate Authorities (CAs). I am following the Kubernetes Hardening Guide, which recommends having separate CAs for etcd and the rest of ...
1
vote
1
answer
77
views
In kubernetes DNS queries fail between nodes
I have an issue with kubernetes and coreDNS that I am not able to solve.
System information
1 master + 2 workers
Red Hat Enterprise Linux release 9.3 (Plow)
k8s: v1.28.7
flannel: v0.24.2
coreDNS: v1....
0
votes
0
answers
43
views
Error "The connection to the server was refused - did you specify the right host or port?"
I'm new to K8s. I'm configuring a K8s cluster on EC2 and I've started by installing docker, then started:
systemclt start docker
Installed kubeadm on the EC2 instance:
(https://v1-28.docs.kubernetes....
0
votes
0
answers
229
views
Kubernetes Cluster Initialization Fails with Kubeadm and CRI-O on Ubuntu 22.04
I am setting up a Kubernetes cluster on Ubuntu Server LTS 22.04 using Vagrant, with Kubernetes version 1.28.7 and CRI-O 1.28.2 as the container runtime. I'm encountering an issue when initializing the ...
0
votes
0
answers
218
views
Kubernetes won't pick up new certificate, x509 certificate expired
kubectl version Client Version: v1.20.4 Server Version: v1.20.15
At the end of January we renewed our external certificates that we use for the applications on the system (as opposed to the kubeadm ...
0
votes
1
answer
166
views
kubeProxy unable to get node ip
I currently running a k8s cluster setup where I have 3 master nodes and 3 worker nodes installed with Kubeadm. Each one of the master nodes is responsible for managing a worker node. In one of my ...
1
vote
0
answers
175
views
How to initialize kubeadm in a non-default network interface?
I have been trying to set-up Kubernetes in my university server which has two network interface. The default interface (10...*) is connected to my university network and there is another interface (...
0
votes
0
answers
67
views
nerdctl sees that a lot of k8s mirrors produce a lot of empty tags
BUG REPORT
Versions
kubeadm version (use kubeadm version):
v1.28.6
Environment:
Kubernetes version (use kubectl version):
v1.28.6
Cloud provider or hardware configuration:
vsphere
OS (e.g. from /...
0
votes
3
answers
83
views
error with connecting to an external kubernetes cluster
I installed the kubernetes cluster using kubeadm, everything is fine on the servers themselves, the master and worker node are visible
--apiserver-cert-extra-sans=*.*.201.87
I make a connection from ...
1
vote
2
answers
3k
views
Kubeadm and kubectl - connection refused
I deployed a basic cluster on two virtual machines (kvm) with one being designated as master with control plane on it using kubeadm init - everything sees to be starting correctly, but when I try to ...
0
votes
0
answers
801
views
Failed to get the info of the filesystem with mountpoint" err="unable to find data in memory cache" mountpoint="/var/lib/containerd/io.contain
I am tried to join the new node into kubernetes cluster:
kubeadm join 172.29.217.209:6443 --token jew814.e5iofd6qdz26d9q --discovery-token-ca-cert-hash sha256:...
0
votes
0
answers
137
views
New VM is not getting attached to K8S Cluster using kubeadm join command
I have K8s cluster of 1 master and 2 Worker node working fine, having OS Rocky Linux.
I added one more VM of same OS and installed all dependencies such as docker, containerd, kubelet, kubeadm, ...
0
votes
0
answers
69
views
How to use cert-manager to manage kubeadm-installed cluster client auth certificates
I have a kubernetes cluster which is installed and managed using kubeadm. kubeadm manages the CA for all cluster certificates and therefore when creating certificates for operator authentication, this ...
0
votes
1
answer
162
views
not able to setup kubernetes cluster using kubeadm
trying to setup kubernetes cluster using kubeadm, master node is in ready state but when i give kubeadm join token command to worker node its saying tc not found in system path and its getting timed ...
3
votes
1
answer
967
views
Kubernetes cluster via kubeadm - CoreDNS buffer size too small / Pods network problems
I am new to deploying on-premise Kubernetes clusters. I managed to deploy one using kubeadm with weave CNI.
Internet connection inside Pods is somewhat sluggish / non-working. I am trying to deploy ...
0
votes
0
answers
293
views
How can I add my workers to my Kubernetes cluster I created with kubeadm?
I have three VMS I created with vagrant that can communicate with each other. Following through a video and also K8s official documentation on creating a cluster with kubeadmn. The master node has ...
0
votes
1
answer
163
views
Kubespray: impossible to install k8s version v1.26.x on Openstack
Using kubespray v2.22.0 to install k8s version v1.26.5 on Openstack, installation fails during kubeadm token creation
After checking kubelet log, I notice kubelet crashs with following error message: &...
0
votes
1
answer
6k
views
The connection to the server 172.31.58.39:6443 was refused - did you specify the right host or port?
I have created 3 nodes on aws ec2. In these three nodes, I have one master node with type t2.medium and 2 worker nodes with type t2.micro
I'm facing an issue The connection to the server 172.31.58.39:...
0
votes
1
answer
321
views
Why do kubernetes components enter a crash loop back-off when server restarts after installation?
I have installed kubernetes on a single-node server using kubeadm. I have found that by performing the installation in a specific order everything gets up and running fine. This includes the main kube ...
0
votes
3
answers
2k
views
Unable to Install Kubelet, Kubeadm Because It Requires Later Version of Cri-Tools
-1
I am taking a Coursera class for CKA Prep and as part of that we are provisioning an instance of a node on Amazon EC2, installing the container runtime (which is containerd in this case) and now I ...
0
votes
0
answers
1k
views
Error retrieving resource lock kube-system/kube-controller-manager: Connection Refused - Kube Controller Manager
LOGS Kube controller Manager
Fetching last 1000 lines of logs from kube-controller-manager-raspberrypi pod in kube-system namespace: ...
0
votes
0
answers
136
views
Custer does not start. etcd and kube-apiserver do not start. Kubelet starts
After a blackout, the cluster does not start.
3 workers + 2 Control Planes.
Installed with kubeadm. Version 1.27.1
containerd 1.6.22
Ubuntu 22.04.3 LTS
It has been running fine for more than one year, ...
0
votes
0
answers
51
views
extraPortMappings for kubeadm
I am be able map my NodePort service to localhost using a configuration file like this:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraPortMappings:
- ...
0
votes
1
answer
201
views
kubernetes control plane goes down often
I did setup a kubernetes cluster using kubeadm. Somehow kubectl refuses to connect to that cluster in non-periodic occasions with an error message as in the following;
The connection to the server 192....
0
votes
2
answers
1k
views
Unable to initialize Kubernetes cluster upon sudo kubeadm init line command
Trying to deploy Kubernetes on AWS EC2 instance. I'm seeing the following errors/warning when running sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --ignore-preflight-errors=all
Errors:
[WARNING ...
1
vote
0
answers
393
views
Dual Stack Kubernetes cluster assigning single stack IPs to pods & services
I am creating a dual stack Kubernetes cluster with kubeadm, and installing Calico. I am using the below configuration file for kubeadm:
apiVersion: kubeadm.k8s.io/v1beta3
kind: InitConfiguration
...
0
votes
1
answer
2k
views
kubeadm config images pull fails
I am trying to install k8s on a new machine running Ubuntu 20.04 using containerd and kubeadm is failing to load the images:
# kubeadm config images pull --kubernetes-version=1.21.0 --image-repository ...
0
votes
1
answer
611
views
Kubeadm - Kubernetes: Failed to fetch https://packages.cloud.google.com/apt/dists/kubernetes-xenial/main/binary-arm64
I am trying to deploy kubernetes (kubeadm cluster) on ARM64 based Ubuntu 20.04 virtual machine.
I am getting the follwoing error when deploying kubeadm:
xxx@controller01:~$ sudo mkdir -p /etc/apt/...
0
votes
0
answers
734
views
Kubernetes connection refuses often
I have configured Kubernetes using kubeadm in cent os stream 9. When I issue kubectl commands i am getting this error often
The connection to the server xx.xxx.xx.xx:6443 was refused - did you ...
-1
votes
1
answer
2k
views
Why does kubernetes readiness probe fail, when manually calling the exec command returns success code?
I used kubeadm to deploy a bare-metal cluster with one control plane node and one worker node on the same LAN. After initializing the cluster (kubeadm init on the cp and kubeadm join on the worker ...
0
votes
1
answer
990
views
Error checking external CA condition for ca certificate authority
Not sure how to solve the problem with the certificates, maybe someone has encountered this problem?
kernel
uname -a
Linux node2 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64 ...
0
votes
0
answers
209
views
Multi cloud provider kubernetes cluster pod logs got timeout
Hi all i have master node in digital ocean and worker node in google cloud, nodes are connected using public ip of master node and pods are in running status but when i run kubectl logs i'm getting ...
0
votes
0
answers
875
views
kubeadm : unable to register node with api server x509 certificate signed by unknown authority kubeadm
I am trying to create a K8S cluster in HA. I have created 2 VMs, one acting as a load balancer and the second as the master node.
The load balancer has a simple NGINX server with the following ...
0
votes
1
answer
312
views
kubeadm not creating controller-manager.conf when using external CA
I'm trying to initialise a kubernetes cluster using kubeadm, unfortunately this isn't working as expected. This is the kubeadm config file:
apiVersion: kubeadm.k8s.io/v1beta2
kind: ...
2
votes
2
answers
13k
views
Error in configuration: context was not found for specified context: kind-kind
This is my skaffold.yaml file:
apiVersion: skaffold/v2alpha3
kind: Config
deploy:
kubeContext: kind-kind
kubectl:
manifests:
- ./infra/k8s/*
build:
local:
push: false
artifacts:
...
0
votes
1
answer
392
views
Kubeadmin: Why do we need to upgrade the kubelet and kubectl seperately?
Kubeadmin is a tool to manage and maintain the Kubernetes cluster. Based on the Kubernetes Doc, there are rough four steps to upgrade the controlplane node.
upgrade the version of kubeadmin itself
...
20
votes
10
answers
44k
views
failed to run Kubelet: validate service connection: CRI v1 runtime API is not implemented for endpoint
I have installed kubelet 1.26.0 on Ubuntu 22.04 using apt install kubelet command, but when I try journalctl -xeu kubelet I get the following result:
░░
░░ The unit kubelet.service has entered the '...
2
votes
1
answer
9k
views
It seems like the kubelet isn't running or healthy. [kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with erro
I am trying to do sudo kubeadm init of kubeadm 1.26.0 on an Ubuntu 22.04 machine. But I get the following result:
[init] Using Kubernetes version: v1.26.0
[preflight] Running pre-flight checks
[...
0
votes
1
answer
2k
views
kubeadm 1.25 init failed on Debian 11 with containerd -> connection refused
I try to init a kubernetes master node running on a Debian GNU/Linux 11 (bullseye) system with kubeadm version 1.25.4-00.
I followed the official guideline on kubernetes.io. I installed containerd and ...
0
votes
0
answers
4k
views
Kubelet node not found
I'm trying to set up a kubernetes cluster. My kubeadm init times out with The kubelet is unhealthy due to a misconfiguration of the node in some way. Looking at Kubelet I find that is continuously ...