Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [kubernetes]

Kubernetes is an open source container cluster manager.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

How does k3s expose nodeports on linux?

I am investigating connectivity issues where k3s nodeport only accepts incommoding connections on one ip/interface but not on others. During this I realized that ports exposed using k3s nodeport do ...
Diydumbster's user avatar
0 votes
0 answers
23 views

containerd to use pause image from local container runtime?

My (lab/learning) Kubernetes cluster is running with containerd as a runtime (CRI). By looking at /etc/containerd/config.toml I can see that containerd is pulling pause image from remote repository: ...
user205591's user avatar
0 votes
1 answer
21 views

Kubernetes image registry - local or remote?

My (lab/learning) Kubernetes cluster is running using containerd as a runtime (CRI). I am trying to figure out if my system does have local image registry OR the following output displays only ...
user205591's user avatar
0 votes
1 answer
86 views

calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket

calico pod on master node is in CrashLoopBackOff because of "unable to connect to BIRDv4 socket" lab@master:~$ kubectl -nkube-system get po -o wide NAME ...
user205591's user avatar
0 votes
0 answers
23 views

crictl does not show as many images as ctr

When listing images with ctr, it shows so many versions of the same images whereas crictl shows just one? Take a look at nginx. crictl shows just one but ctr sees 4 of them. Question: What is the ...
user205591's user avatar
0 votes
0 answers
25 views

How to force kubernetes cluster to use local registry?

My kubernetes cluster (LAB) is cut off today from the internet. Apparently because of that none of my pods can startup (no problem with pods in kube-system though): Normal Pulling 40m (x4 ...
user205591's user avatar
1 vote
1 answer
22 views

kubernetes cluster - only crictl can actually see containers (containers assets)

In my kubernetes (v1.28.7), docker uses containerd as underlying container management engine. (I guess I can call it Container Runtime Interface - CRI? ). This is how I assume that (look at the last ...
user205591's user avatar
0 votes
0 answers
32 views

difference between admin.conf and super-admin.conf in K8s

I recently initiate kubernetes 1.29.0 and in the /etc/kubernetes/ path I found super-admin.conf file. Does anyone know the difference between admin.conf and super-admin.conf?
Emad Khavaninzadeh's user avatar
0 votes
1 answer
50 views

How do I close a stuck nfs connection

I use an external nfs server to mount a home directory into a kubernetes container. Sporadically when deleting the container, the nfs connection gets stuck in "waiting to close". The fallout ...
Daxcor's user avatar
  • 21
0 votes
1 answer
20 views

what does {} in containers section in kubernetes mean?

I want to know what resources: {} in pod.spec.containers.resources in Kubernetes means?
Emad Khavaninzadeh's user avatar
0 votes
0 answers
18 views

Firewalld is running, I can acccess unallowed kubernetes exposed port?

I have a Kubeadm based Kubernetes cluster. Firewalld is running on all nodes on the cluster. I expose a nginx service via NodePort service, that on theory should be accessible via all nodes on the ...
teoman's user avatar
  • 101
0 votes
1 answer
27 views

ISP Search Parameter in resolve.conf

I will try to explain this right, not a linux guru! About a week ago suddenly started getting a 401 when sending requests, seems that on our kubernetes cluster when it hits the one node that has a ...
Julie's user avatar
  • 1
0 votes
0 answers
39 views

CentOS Stream 9 sda, sdb keep swapping OpenShift 4

I have an issue with the disks detection order on my OpenShift nodes. My hypervisor is configured to have the disk with a smaller capacity, containing the CentOS image, as the first bootable disk. ...
Diegunio's user avatar
0 votes
0 answers
39 views

Unable to setup RKE2 slave node

I am trying to install RKE2 in MicroOS KVM and XEN Container Host from openSUSE MicroOS - Get openSUSE I am provisioning my VM with the followings combustion script that follows Quick Start | RKE2 #!/...
SuseDiktator's user avatar
0 votes
1 answer
33 views

Kubernetes cannot join server cluster

I have two OpenSUSE Micro Leap 5.5 VMs in the same network called m0.k8b.intranet.domain and m1.k8b.intranet.domain. Both are clean Preconfigured images from https://get.opensuse.org/leapmicro/5.5/. ...
Delfin's user avatar
  • 150
1 vote
0 answers
230 views

Need to fully understand 'violates PodSecurity "baseline:latest": hostPath volumes'

We have been running Kubernetes 1.13 for quite a while in onprem clusters. We're now upgrading them to 1.24. There is one service that attempted to deploy on the new cluster that is failing with the ...
David M. Karr's user avatar
-2 votes
1 answer
50 views

Cannot create 2 columns with TMUX

This seems create a bunch of rows with a single column. I am trying to create 2 columns, and then all the rows needed. #!/usr/bin/env bash ( unset TMUX export session_uuid="$(uuidgen)" ...
Alexander Mills's user avatar
0 votes
1 answer
38 views

pods in kube-system namespace in CrashLoopBackOff; Yet, cluster seems to work

Cluster information: Kubernetes version: v1.28.2 Cloud being used: Virtualbox Installation method: Kubernetes Cluster VirtualBox Host OS: Ubuntu 22.04.3 LTS CNI and version: calico CRI and version: ...
user205591's user avatar
0 votes
0 answers
9 views

calico kube-controller on worker node

I have one master node and two worker nodes for my kubernetes cluster.my question is that why is calico kube-controller is on worker1 of my cluster? shouldn't that component be on master node?
Emad Khavaninzadeh's user avatar
0 votes
0 answers
31 views

failed to create a secret in kubernetes

I’m trying to create a secret in kubernetes : sudo kubectl create secret generic regcred --from-file=.dockerconfigjson=/root/.docker/config.json --type=kubernetes.io/dockerconfigjson then I got this ...
estem estem's user avatar
0 votes
0 answers
21 views

How to access to a kubenetes pod from outside using proxmox(Virtualisation solution)

I have a proxmox host(@ip=231.25.36.12),inside I have installed a kubernetes cluseter, this cluster consists of 3 vms(these VMs are not routable I mean they are accessible just from proxmox node, they ...
estem estem's user avatar
0 votes
2 answers
37 views

Pod situation after lack of resource on a node

I have two worker nodes on my cluster. On each one, there are five pods. If one of my worker nodes fails, what would happen to five pods running on that node if we don't have enough resources for them ...
Emad Khavaninzadeh's user avatar
0 votes
0 answers
32 views

what is none tag image in kubernetes?

I want to know why we have none tag image for every image except the original image? [root@worker ~]# nerdctl -n k8s.io images REPOSITORY TAG IMAGE ID CREATED ...
Emad Khavaninzadeh's user avatar
0 votes
2 answers
69 views

How to make 3 VMs connect with each other as well as internet without using bridged adapter in Virtualbox?

How can I make 3 VMs connect with each other as well as internet without using bridged adapter in Virtualbox? I don't want to use bridged adapter because I use WiFi and this combination often doesn't ...
achhainsan's user avatar
0 votes
0 answers
16 views

what happened to the worker node in the kubernetes cluster by token expiry?

My question is the worker node is disconnected from our cluster by token expiry? because my token expired but when i executed "kubectl get node" command,i saw worker node in my list.
Emad Khavaninzadeh's user avatar
1 vote
0 answers
100 views

kube-apiserver is gone

System details: Kubernetes version: 1.20.1 Host OS: Ubuntu 20.04.4 LTS I have started it today my Kubernetes Lab (on VirtualBox) and any kubectl command ends up like this: $ kubectl get nodes -o ...
user205591's user avatar
1 vote
1 answer
248 views

calico/node is not ready: BIRD is not ready: BGP not established with 10.0.0.1

I am configuring Kubernetes in a cloud environment. I configured the cluster using the following command. kubeadm init \ --apiserver-advertise-address=172.16.100.10 \ --pod-network-cidr=100.100.0.0/16 ...
Tim's user avatar
  • 11
1 vote
0 answers
40 views

minikube and ingress-dns issues with fedora and virtualbox?

I followed that setup instructions (I'm new to K8s) https://minikube.sigs.k8s.io/docs/handbook/addons/ingress-dns/ I enabled ingress-dns and that Ok. I added dns=dnsmasq in NetworkManager.conf I ...
thiebaut fischer's user avatar
0 votes
1 answer
191 views

Mount a filesystem in a K8S pod without privileged

I have a K8S deployment loading a volume as raw block (through volumeDevices): apiVersion: apps/v1 kind: Deployment ... spec: replicas: 1 ... containers: - name: somepod image: ubuntu:latest ...
Liquid's user avatar
  • 51
0 votes
1 answer
105 views

Kubernetes Namespace Stuck in 'Terminating'

I'm encountering an issue where a Kubernetes namespace is stuck in the 'Terminating' state. Running kubectl get ns cattle-monitoring-system -o json|jq produces error messages related to custom.metrics....
karlsebal's user avatar
  • 815
0 votes
0 answers
82 views

Could not open display using Kubernetes service URL

I'm working on launching graphical applications on a k8s cluster. My configuration is the following : In a 1st pod, I running a X-server & a VNC Server spec: containers: - name: test-x-...
Ptiseb's user avatar
  • 101
0 votes
1 answer
143 views

multiple commands in linux shell

I have just come across an article describing process of installing containerD runtime and I'm a little dubious about the command mentioned, maybe a typo but I want to get clarity on it. The command ...
JayD's user avatar
  • 103
0 votes
1 answer
177 views

MetalLB External IP via interface without any IP - can't add route with specific gateway

I have a cluster of dedicated servers physically connected to switch to which my housing provider routes several public IPv4 addresses in same /24 subnet (I am only allowed to use about 14 public IPv4 ...
Petr's user avatar
  • 1,731
0 votes
0 answers
20 views

with blue/green k8s deployments, switching active color doesn't make the hpa scale up pods

I imagine this will be difficult to put into a context people outside my organization will understand, as k8s architectures are widely different. We use blue/green deployments for our services, and we ...
David M. Karr's user avatar
1 vote
1 answer
137 views

kubectl timeouts when reaching a cluster in VPN

I have a very strange issue - my kubectl cli cannot reach a cluster inside a VPN. My context: os archlinux kubectl Client Version: v1.28.1 (latest) curl to the api endpoint works well from my pc ...
sashok_bg's user avatar
  • 111
0 votes
0 answers
49 views

How to set permissions on NFS export to be able to write to it when using it in an SC and PVC on Kubernetes?

I deployed Minikube on a Debian based distribution (LMDE) and exported a folder from host using nfs-kernel-server. /srv/nfs-volume1 *(rw,sync,no_subtree_check) Then I followed these instructions to ...
Joysn's user avatar
  • 151
0 votes
0 answers
41 views

Create OVS bridge on host via Kubenetes POD

I've created a Daemonset: apiVersion: apps/v1 kind: DaemonSet metadata: name: kube-ovs namespace: kube-system labels: app: ovs spec: selector: matchLabels: name: kube-ovs ...
cybercoder's user avatar
0 votes
1 answer
47 views

cgroups between containers

I am trying to find out a way to move a process back to the original cgroup after I moved it to a new cgroup under my hierarchy. The situation is k8s cluster, I have a pod on a node (container) and I ...
Aviram's user avatar
  • 1
1 vote
0 answers
134 views

Why I can not ping my minikube pod?

If I try ping 10.244.120.100 -c 2 it shows packet loss PING 10.244.120.100 (10.244.120.100) 56(84) bytes of data. ^C --- 10.244.120.100 ping statistics --- 2 packets transmitted, 0 received, 100% ...
MikiBelavista's user avatar
1 vote
0 answers
143 views

failed to run Kubelet: failed to get docker version: Cannot connect to the Docker daemon at unix when using kubernetes 1.21

Today when I start the kubelet 1.21 using this command systemctl start kubelet in CentOS 7.6, shows error: Aug 04 18:41:21 k8smasterone kubelet[4835]: I0804 18:41:21.205953 4835 server.go:440] &...
Dolphin's user avatar
  • 607
0 votes
0 answers
64 views

Bash script or the like to erase env values that host secrets once used to initialized app in a kubernetes container

I have a flask app that runs in a kube cluster. It does all the right things by using kube secrets to set the env values required to initialize the application. There are some env values I suspect ...
Edmund's Echo's user avatar
0 votes
0 answers
169 views

'curl' command works intermittently

I am trying to install and configure a high availability RKE2 cluster (Rancher Kubernetes Engine 2). My architecture consists of 4 VMs: one with DNS and LoadBalancer configured, another with the ...
Karima FATHI's user avatar
0 votes
0 answers
153 views

Host key verification failed when using rsync in kubernetes pod

when I tried to use this command to copy some files from remote machine to kuberetes pod using rsync: sshpass -p "password" rsync [email protected]:/root/a.dmg /app/a.dmg the commmand ...
Dolphin's user avatar
  • 607
0 votes
0 answers
48 views

How to install miniconda to Jupyterhub in Kubernetes?

I used this instruction to install Jupyterhub to Kubernetes cluster (chart version 2.0.0). But it doesn't contain Conda (but other images, that is not for k8s, do have it). How can I install miniconda ...
Timur's user avatar
  • 31
0 votes
0 answers
78 views

Kubernetes rancher provisioner security context error

I'm trying to implement local-path provisioner from Rancher.io in my Kubernetes cluster. This is a single node k8s cluster, installed on NixOS, for test purposes. I followed the Rancher's procedure: ...
ramius's user avatar
  • 853
0 votes
1 answer
453 views

cannot join to master node using kubeadm join

I am trying to set up a kubernetes cluster and running this command on my worker node kubeadm join server:port --token xxx --discovery-token-ca-cert-hash sha256:xxxx and the error i have is Found ...
noob_coder's user avatar
0 votes
0 answers
84 views

aws efs and container caps to be able to run `mount nfs` inside the container manually

I'm running a pod inside aws eks 1.26. I need to mount aws efs via kubectl exec operation and fail if the POD is not started with privileged container. What priviliges are required for the container ...
DmitrySemenov's user avatar
0 votes
0 answers
100 views

How to switch between k3s and minikube?

I have both k3s and minikube installed. If I try kubectl config get-contexts got WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube ...
MikiBelavista's user avatar
0 votes
1 answer
1k views

How to fix "error: unknown command "join" for "kubectl""

Im trying to join a worker node to a Kubernetes cluster using the kubectl join command. Attempted to fix the issue by running the command below. To fix this issue, you need to update the kubectl ...
Ric L.'s user avatar
  • 1
2 votes
0 answers
389 views

Why does buildah fail mounting overlays?

I am running buildah(quay.io/containers/buildah) in a gitlab CI/CD pipeline(kubernetes pod), but it fails building images. buildah bud . returns: mount /var/lib/containers/storage/overlay:/var/lib/...
iaquobe's user avatar
  • 311