Questions tagged [kubeadm]

10 questions
3
votes
3 answers

kubelet connecting to docker.sock instead of containerd.sock

Kubernetes version: latest Installation method: kubeadm Host OS: debian9 container runtime: containerd Kubelet fails when starting and after inspecting the logs using journalctl -xeu kubelet i see that it tries to connect to the docker.sock socket…
hamzahda
  • 31
  • 2
2
votes
1 answer

containerd: Unable to overwrite sandbox image

System Ubuntu 22.04.01 kubeadm v1.25.4 containerd 1.6.10 Description I'm trying to setup k8s 1.25.4 with a private docker repository and the containerd runtime. I followed the docs to overwrite the sandbox image in…
danteu
  • 21
  • 1
  • 2
2
votes
2 answers

Error from server (Forbidden): error when retrieving current configuration of: Resource: "apps/v1, Resource=deployments",

I integrate the existing kubernetes cluster to the gitlab instance (omnibus). I get the below error in the deployment stage of CI/CD pipeline: Error from server (Forbidden): error when retrieving current configuration of: Resource: "apps/v1,…
Majid Rajabi
  • 123
  • 1
  • 1
  • 5
2
votes
2 answers

How to introduce(join) new worker node to an existing k8s cluster with selective scheduling only

Given a working Kubernetes cluster consisting of a master and some workers. We need to add a node to run a very specific pod and be part of the cluster for networking reasons. Then being largely ignored for later pod creation by the master. Adding…
RooSoft
  • 123
  • 5
1
vote
1 answer

Kubenetes new Pods/Deployments/Resources stuck in pending state forever without error

I have a local Kubernetes cluster setup using kubeadm. Everything was working fine a few days back but now I've got a strange problem. Whenever I add new resources be it a deployment or pod, it never gets scheduled and is forever stuck in Pending…
1
vote
1 answer

How do I modify the environment variables of a Kubernetes cluster?

I created my cluster through kubeadm. Before the creation of the cluster I set an environment variable ~/.bashsrc. The variable I set is NO_PROXY. When the cluster is created this variable gets picked up and is applied to all pods. I now want to add…
1
vote
1 answer

Failed to install kubernetes on centos

Following the official documentation, I have an error when trying to install kubernetes cluster yum package. I am on Centos 7 using yum. So I run this commands: cat <
french_dev
  • 171
  • 1
  • 2
  • 7
1
vote
1 answer

kubeadm init fails when using cri-o

I've been following this doc to deploy kubernetes https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/ After launching the "kubeadm init" command and during its excecution, this is the output: [kubelet-check] The…
0
votes
1 answer

How to deploy an nginx ingress to a kubeadm cluster

I'm attempting to set up my own bare-metal Kubernetes cluster composed of a control plane (VPS 149.62.186.95) and a worker node (VPS 149.62.189.139). Both my VPS are running Ubuntu 22.04 with 2 vCPUs and 4GB vRAM. After installing Kubernetes…
-1
votes
1 answer

while installing Kubernetes package related error occur, image attached how i can solve it ? (all ports are open)

Here's an inline link to install kubernetes https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
Deepika
  • 1
  • 2