Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [kubernetes]

1 vote
0 answers
125 views

Kubernetes pods failing to start with “no space left on device” even though disk and inodes are available

I’m running into a strange issue in my Kubernetes cluster where some pods fail to start, and I keep getting errors like these: Normal Pulled 3.6 mins ago Container image "<container-...
Some Guy's user avatar
0 votes
0 answers
29 views

metallb-controller failing to allocate IP for ingress-nginx-controller after Kubernetes upgrades

I had a Metallb IPAddressPool configuration with two successive IP addresses in my production Kubernetes cluster. For example: ["10.30.90.92-10.30.90.93"] From Kubernetes 1.27 up to 1.31, ...
Marcio Cavalcante de Azevedo's user avatar
0 votes
1 answer
54 views

Istio Ambient mode for JWT authentication with Auth0

What I'm trying to achieve: RequestAuthentication with Auth0 Whitelist /allowed-path (no JWT token required) Require a valid JWT token for all other paths Here is my configuration: apiVersion: ...
Sean's user avatar
  • 111
1 vote
0 answers
111 views

Why am I having a Synology CSI driver issue? “Error: connection.go:154] Connecting to unix:///csi/csi.sock”

I've been trying to get this driver to work on my K3s (Kubernetes) cluster for around 2 days now without any luck. I followed the repo guide and several others only but can't get it to work. My ...
Mr Twig's user avatar
  • 11
0 votes
1 answer
84 views

Web app not reachable via nginx proxy manager

Configured nginx-proxy-manager and hello-world fastapi app using K8S on Docker desktop PS C:\Users\91893\Programming\docker\k8s\hello-world> kubectl get services NAME TYPE ...
Dinesh's user avatar
  • 151
0 votes
0 answers
49 views

Kubernetes pods unable to ping each other

I have created a small kubernetes cluster (6 nodes) using kubeadm and flannel as the CNI in an openstack project. This is my first time using more than a single node kubernetes cluster. I set up the ...
Natan's user avatar
  • 143
0 votes
0 answers
43 views

KafkaConnector fails to auto-create topics while KafkaConnect creates its own successfully (Strimzi + Debezium + Avro + Oracle)

I'm working in a Kubernetes environment where we deploy Kafka and related services using a custom Helm chart. Here's the stack: Kafka via Strimzi Operator: 0.46.0, deployed in KRaft mode, version 4.0....
Sebastian Sommerfeld's user avatar
0 votes
0 answers
108 views

kubernetes Multus CNI causing routing issue on pod networking

I have deployed k8s with calico + multus cni for additional high performance network. Everything is working so far but I have noticed dns resolution stopped working because when I set default route ...
Satish's user avatar
  • 420
1 vote
1 answer
211 views

Error: stat /mnt/data: no such file or directory when deploying Backstage's Postgres Kubernetes pod

I'm attempting to deploy a local version of backstage on minikube for testing purposes on a WSL instance running Ubuntu 24.04 following the instructions here: https://backstage.io/docs/deployment/k8s/ ...
NotARealPerson's user avatar
0 votes
0 answers
105 views

How to provide up-to-date certificates in Kubernetes / Docker containers without root?

What is the best way to update certificates in a Linux container in Kubernetes, as normally done by update-ca-certificates? They may be standard root/CA certificates, normally coming with the Linux ...
Erik Hart's user avatar
  • 101
0 votes
1 answer
76 views

Cannot Locate Active Kubernetes cluster's nginx-ingress PDB

I'm fairly new to Kubernetes but am tasked with maintaining an active cluster hosted on Azure. The Service Principal expired, and I am attempting to update it, yet the cluster cannot complete this ...
glueckgabi's user avatar
0 votes
1 answer
112 views

Why am I experiencing a weird authorization issue in Kubernetes?

I have configured this before, according to my notes I need to create two yaml files: apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding metadata: name: admin-user roleRef: apiGroup:...
user2531336's user avatar
0 votes
0 answers
79 views

Ingress-Nginx returns 404 when I request in NextJs server from a different namespace in kubernetes

Here's my ingress service yml file: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: ingress-service annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress....
Alopwer's user avatar
  • 101
0 votes
2 answers
185 views

Why is my MongoDB Kubernetes authentication not working?

I have a very simple MongoDB deployment in Kubernetes: apiVersion: apps/v1 kind: Deployment metadata: name: mongodb spec: replicas: 1 selector: matchLabels: app: mongodb template: ...
Marc's user avatar
  • 529
0 votes
0 answers
104 views

Why is Nginx Ingress controller giving 404 errors, although endpoints are shown correctly?

I have a bare metal kubernetes cluster. I installed the nginx-ingress controller, which is maintained from nginx, on it with the Manifests. To be able to use the "ingressClassName", I ...
Primus-Bengt Schult's user avatar
0 votes
0 answers
178 views

Client failing due to too many open connections

I am working inside a Kubernetes environment. On one pod, I am running a client that is sending a varying number of concurrent LLM inference requests to a cluster (of pods) of servers, each with their ...
codeing_monkey's user avatar
0 votes
0 answers
178 views

Error unpacking rpm package filesystem-3.16-5.el9.x86_64

When trying to build a Rocky9 image using Rootless Podman (run on Kubernetes) we are seeing the following error after running a dnf update -y: Upgrading : filesystem-3.16-5.el9.x86_64 7/189Error ...
CJW's user avatar
  • 101
1 vote
0 answers
95 views

Ping only works after arping the destination address

I have a macOS vm bridging to the mac's NIC, the openwrt router has a subnet of 192.168.54.0/24 and the vm's address is 192.168.54.15. I have a standalone kubernetes cluster on the VM with Pod cidr ...
William's user avatar
  • 721
0 votes
1 answer
199 views

Why is Prometheus stack operator is not scraping metrics from an app?

I have cluster for small demo. I need to collect metrics from cluster itself and application, that ran in. I installed helm kube-prometheus-stack and can see cluster metrics. Now I want to get metrics ...
Anatoly Kryzhanovsky's user avatar
0 votes
0 answers
83 views

MetalLB LoadBalancer issue on Raspberry Pi Kubernetes Cluster

I'm trying to run a Kubernetes cluster on a single Raspberry Pi for a personal use and so far have installed MetalLB along with Nginx to provide LoadBalancer services. This is the guide I'm trying to ...
Sitro's user avatar
  • 1
0 votes
1 answer
1k views

Cilium on Kubernetes: Unreachable Endpoints on Specific Nodes

I'm currently facing an issue with Cilium in my Kubernetes cluster where certain endpoints are unreachable on specific nodes. I'm using Cilium to manage network policies and connectivity within the ...
Couim747's user avatar
0 votes
1 answer
86 views

how to configure firewall to do a NAT

i have a k8s cluseter deployed inside a proxmox host. enter image description here everytime i deploy an app inside the cluster , i make a NodePoer service for it, ex :30001, and in order to access ...
estem estem's user avatar
0 votes
1 answer
159 views

High availability on Redis cluster in K8s

As we know in a Redis Cluster, data is divided into shards, with each shard being managed by a master node and one or more replica nodes. The problem I want to tackle is the case where master and ...
knikolov's user avatar
  • 101
0 votes
0 answers
423 views

How to pass a for loop commandline argument to kubectl exec shell when run over ssh

I am executing the following commands over ssh and then past it to kubectl exec. ssh -i 'path\to\file' user@host 'kubectl exec -i pod-name -- bash -c "du --max-depth=1 /home -h -t 10M | sort -hr &...
G.Ybamit's user avatar
1 vote
1 answer
142 views

Full cone NAT in Kubernetes

How to achieve full cone NAT connectivity inside k8s pods? I've tested NAT on EC2 (without k8s): % pystun3 NAT Type: Full Cone Different story inside pods: % kubectl run natdisco --rm -i --tty --...
onin's user avatar
  • 143
0 votes
0 answers
19k views

What does this kubectl log mean: "Defaulted container xxx out of: xxx, xxx (init) "?

When I run kubectl exec -ti "$1" -- sh to enter into my docker contains, sometime I see the log shows "Defaulted container xxx out of: xxx, xxx (init) ", e.g. //enter into my php-...
Qiulang 邱朗's user avatar
0 votes
1 answer
296 views

Why does a NodePort service on docker desktop for macos not actually bind to a port?

For a while, I've used a NodePort service in my kubernetes in docker desktop on an M3 macbook. It's worked fine until today. Now, it's stopped working, giving me an error when trying to connect: (venv)...
Jon Watte's user avatar
  • 907
3 votes
0 answers
385 views

Why do I get this error when trying to run Kuberentes/K3s: "setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed"

Today I noticed I my Kuberentes/K3s cluster has a problem. On the node that was defined in my ~/.kube/config file the API server was not running, so I could not use kubectl. I studied the logfiles and ...
Marc's user avatar
  • 529
0 votes
0 answers
1k views

Kubectl get pods ERROR: couldn't get current server API group list: Get "LINK": tls: first record does not look like a TLS handshake

My K8s cluster is running on Azure VM. I'm facing with a TLS error when I try to get something from a cluster. However the config of k8s is correct and it has the public IP I need, also it has all the ...
vayuprog's user avatar
-1 votes
1 answer
186 views

Not possible to update Helm AWS TargetGroupBinding

I have a helm chart that contains a TargetGroupBinding {{- range $v := .Values.targetBindings }} apiVersion: elbv2.k8s.aws/v1beta1 kind: TargetGroupBinding metadata: name: {{ include "...
James Gedny's user avatar
1 vote
0 answers
60 views

Increase Kubernetes performance [closed]

I have a test native Kubernetes installed on a Debian VM. I use it as a test machine for development for 16 Spring Boot microservices. I use this resources configuration into Helm chart for every Pod: ...
Peter Penzov's user avatar
0 votes
1 answer
484 views

Docker Desktop local Kubernetes not creating pods setup not completed

May-2024 Docker Desktop v4.30.0 I installed Docker Desktop and enabled Kubernetes. I have a config file generated in my .kube folder and it updates certificates when I click the "Reset ...
Scala Enthusiast's user avatar
1 vote
0 answers
3k views

k3s/kubernetes add additional IP to cluster TLS/SSL certificate

I setup a k3s/kubernetes cluster with 3 nodes. All node have the roles control-plane,etcd,master. So far so good, and everything works like expected. For testing/playing around, i installed on all 3 ...
Marc's user avatar
  • 529
1 vote
0 answers
141 views

Deploy Keycloak on Native Kubernetes

I want to deploy Keycloak on Native Kubernetes cluster v1.29.2. I tried this: Deployment: kubectl create -f https://raw.githubusercontent.com/keycloak/keycloak-quickstarts/latest/kubernetes/keycloak....
Peter Penzov's user avatar
1 vote
1 answer
247 views

Terraform `aws_eks_node_group` Ready But Create Never Completes

I have a terraform setup where I create a new launch template and a node group. Without the launch template everything works correctly. With the launch template, the nodes become ready but the node ...
bulletshot60's user avatar
0 votes
2 answers
683 views

psycopg.OperationalError: connection failed: password authentication failed for user "awx"

Running into an error with my Ansible AWX local setup. This was working before but, after I recreated the pods when trying to debug another issue, I now get the error psycopg.OperationalError: ...
eia92's user avatar
  • 63
0 votes
1 answer
49 views

Issue pulling a docker container from an organization into kubernetes

Where I work we have docker premium accounts and I have setup a basic failover site for one of our servers docker.io/organization/failover:latest. I am attempting to pull this into a kubernetes ...
Thaylin's user avatar
-2 votes
1 answer
329 views

Why path on Windows is not recognized? error: the path "./m.yml" does not exist

I must install some kubectl things on Windows Tried both kubectl apply -f ./m.yml error: the path "./m.yml" does not exist and kubectl apply -f m.yml Got the same. Dir command shows 03/11/...
Richard Rublev's user avatar
1 vote
0 answers
534 views

Kubernetes environment installation with Ansible

I write a ansible playbook for Kubernetes environment (timedata, swap, modules, containerd, kubeadm, kubelet, kubectl, vs). When I run the playbook, all operations in it are successful. But when I ...
thargalin's user avatar
0 votes
1 answer
1k views

Cannot execute bash script even though +x exists

I'm having trouble getting a gitlab-runner to execute tasks and not sure what I am doing wrong. This is running in Kubernetes but probably not related to Docker or Kubernetes or anything else. /bin/...
brainwash's user avatar
  • 121
0 votes
1 answer
2k views

How to get kube-ps1 working in the Warp terminal on MacOSX?

I'm trying to move from iterm2 to warp, but one thing that I can't get working, which is quite crucial for me, is the kube-ps1 project. What it does is to make the current Kubernetes context visible ...
Johan's user avatar
  • 103
1 vote
0 answers
86 views

ImagePullBackOff issue bitnami rabbitmq-exporter, k8s

We are facing an issue that fails to download the bitnami/rabbitmq-exporter from Dockrhub. kubectl get statefulset rabbitmq -o yaml name: rabbitmq - name: RABBIT_URL value: http://...
santosh baruah's user avatar
3 votes
0 answers
2k views

New Rancher installation: Waiting for Kubernetes API to be available

After having problems with connectivity in my old (working completely fine until it didn't) Rancher installation in my homelab, I decided to reinstall my single-node Rancher installation on k3s (...
Taxel's user avatar
  • 131
1 vote
1 answer
456 views

How to change editor for OpenShift to Visual Studio Code?

I need to change my proxy settings for OpenShift. Therefore I can edit them like: oc edit proxy.config.openshift.io cluster Now, I don't want to use edit but rather VS Code. I found that changing the ...
jmizv's user avatar
  • 143
1 vote
0 answers
154 views

Kubernetes Environment Setup on VirtualBox to learn CI/CD Pipeline (DevSecOps)

I am just planning to learn K8s. I am interested in learning about its interconnected technologies, such as the CI/CD pipeline and devsecops. I know all of them are broad topics. But I believe the ...
zakadmin's user avatar
1 vote
1 answer
10k views

Why k3s install failed? Job for k3s.service failed because the control process exited with error code

I installed k3s on Ubuntu 22.04 curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --flannel-backend none" K3S_TOKEN=prokupljejbb sh -s - [INFO] Installing k3s to /usr/local/bin/k3s [...
MikiBelavista's user avatar
2 votes
1 answer
4k views

How to configure multiple old desktops as Kubernetes cluster?

I have been accruing some old gaming PCs that my friends no longer need, and I would like to turn them into a place to run Kubernetes clusters. I am hoping to come up with a somewhat high availability ...
drjellybean's user avatar
0 votes
1 answer
626 views

K8S Cert-manager wont add DNS01 RFC2136 Challenge for a primary zone in a less privilege sub zone (DNS REFUSED)

Apologies ahead, this is likely to be a misunderstanding on my part, but for the life of me I can not see the reasons why cert-manager is trying to write to the primary zone and not the subzone per ...
James A R Brown's user avatar
0 votes
1 answer
184 views

No such file or directory: '/lib/modules/5.2.0/modules.builtin'

I'm trying to install Kubernetes cluster using Kubespray. I get this error during script run time: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ...
Peter Penzov's user avatar
1 vote
0 answers
377 views

"pids cgroup controller not found" error when trying to create k3s node

I am trying to create a k3s node on my QNAP NAS using the "Container Station" (= QNAP Docker runtime). Unfortunately the container crashes with the error FATA[0003] pids cgroup controller ...
JoCa's user avatar
  • 111

1
2 3 4 5