Questions tagged [kubernetes]
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.
2,773 questions
Score of 1
2 answers
12095 views
Kubernetes services timing out on accessing pods on different workers
I'm trying to stand up a pair of kubernetes workers on EC2 instances, and running into a problem where the service does not appear to "see" all of the pods that it should be able to see.
My ...
Score of 0
0 answers
23 views
graphana dashboards show no data for "Pods Memory usage" and "Pods CPU usage"
I'm unable to see data for PODS memory, network and cpu usage under Prometheus grafana dashboard.
I'm running this kubernetes cluster inside minikube on windows.
Here is the query..
sum (rate (...
Score of 0
1 answer
24 views
Unable to add Prometheus rule
I'm unable to add the following alert rule to Prometheus alert rules. Any idea what's wrong with this alert rule?
- alert: KubernetesPodNotHealthy
expr: sum by (namespace, pod) ...
Score of 5
2 answers
11527 views
Kubeadm 1.24 with containerd. Kubeadm init fail (centos 7)
I try to install a single node cluster on centos 7, with kubadm 1.24 and with containerd,
i followed the installation steps,
and i did:
containerd config default > /etc/containerd/config.toml
and ...
Score of 0
1 answer
469 views
k8s cron job using helm chart and docker
Two Helm chart for managing db cron jobs and monitoring cron jobs separately . Which k8s components can i use ? as k8s deprecated CronJob kind from v1.25, https://kubernetes.io/docs/reference/using-...
Score of 1
0 answers
36 views
AKS/K8S: Increase Windows container C: filesystem size
We are migrating a container workload to AKS which previously ran onprem under Docker Swarm.
The containers are spun up, process jobs from a queue, post their results to a service elsewhere on the ...
Score of 1
1 answer
13721 views
Trouble with DNS resolution on and Microk8s cluster
My microk8s cluster is running on a centos8 vm and I have some issues with DNS resolution of my pods. Nameserver are at x.x.x.101 and x.x.x.100 both are ping able from within the pods and I can also ...
Score of 0
1 answer
3579 views
How do you check load balancer method "algorithm" for a nginx ingress controller?
I do have an ingress controller load balancer in my Kubernetes Cluster, how do I know if my load balancer run which algorithm? and what happens if my load balancer is not working or the algorithm is ...
Score of 0
0 answers
45 views
Map uid/gid of mount to specific uid/gid in kubernetes
Kubernetes supports user namespaces, and apparently supports id-mapped mounts. Tools like podman allow for using id-mapped mounts via the idmap option to --mount, but there doesn't appear to be ...
Score of 3
2 answers
13735 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 ...
Score of 0
1 answer
815 views
Modsecurity Logs - DetectionOnly vs On (Enforce)
I need some help with ModSecurity logs in our Kubernetes environment. We have an ingress controller in place, and all traffic flows through it. I have enabled ModSecurity/Owasp using config maps, and ...
Score of 1
1 answer
8477 views
Kubernetes - Find per core statistics for the pod
I would want to find the per core usage statistics for my Kubernetes pod.
In my Linux host/in the Kubernetes node, I use mpstat to find the statistics like below.
In my case, I assign 2.5 CPUs to the ...
Score of 0
1 answer
145 views
How to get Calico CNI working if I already removed CNI (flannel)
I am trying to familiarize myself with Kubernetes internals so I started with a simple 1-node setup through nixos's roles. It, by default, installs flannel CNI plugin.
The thing I wanted to do is
...
Score of 0
0 answers
87 views
Vault Agent Injector: How to render secrets to a path without overwriting existing files there?
I'm trying to deploy PgAdmin4 to Kubernetes. I have a custom config_local.py that contains an oauth2 client secret. I have the contents of config_local.py stored in Vault. Ideally, I'd have the ...
Score of 0
2 answers
1232 views
Is it possible to route all traffic from a set of kubernetes pods through another pod acting as a VPN client?
I am a newbie in kubernetes, so I apologise if this turns out to be trivially documented elsewhere. It may be that I did not search the right terms.
Say I have three pods in my cluster for three ...