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,872 questions
0
votes
0
answers
35
views
How to get kubernetes to add all its internal DNS entries to our DNS server
I have a PowerDNS server running in my cluster.
I would like Kubernetes to add/update DNS entries in the DNS server to reflect all services or any domains that would be used within the cluster.
This ...
0
votes
1
answer
24
views
How can I resolve mbind: Operation not permitted in MySQL/Percona XtraDB containers on Kubernetes when all capabilities are dropped?
I’m running MySQL (and Percona XtraDB) in Kubernetes under a very restrictive securityContext:
securityContext:
allowPrivilegeEscalation: false # no new privileges
capabilities:
drop:
...
0
votes
0
answers
46
views
Forward Kubernetes configmap environment variables to pod internal SSH server
I have created a pod using RHEL9 ubi9-init image. I added envFrom term in the K8s yaml file for the pod that imports environment variables from the K8s configmap. The running pod /proc/1/environ has ...
0
votes
1
answer
42
views
Forcing an init Container to terminate after 30 seconds
I am trying to setup a deployment for wireguard using image linuxserver/wireguard:latest
Now, my volume mount for config is still empty and I would like that on initialisation i populate it by default ...
0
votes
0
answers
39
views
Where can I find Kubernetes webhook logs?
I am writing a K8S webhook that modifies a deployment object to add some environment variables.
In K8S Dynamic Admission Control docs, the API shows status object with code and message like this:
{
&...
0
votes
1
answer
23
views
Can't install SecretProiderClass CRD in AWS EKS
In my AWS EKS Cluster, I need to access a secret in my AWS SecretManager. To that end, I'm trying to apply a SecretProviderClass that looks like:
apiVersion: secrets-store.csi.x-k8s.io/v1
kind: ...
0
votes
0
answers
29
views
pods with ipv6 addresses cannot be accessed via ipv6 on nodes k8s/calico environment
I tried to add ipv6 to the k8s cluster, ipv6 already added, but the issue is that the pod is not accessible through ipv6 by the node where the pod resides, but it is accessible through ipv4, the ...
0
votes
0
answers
9
views
Can i Set the change-casue while applying in the [kubectl rollout undo deployment nginx]
kubectl rollout undo deployment nginx
i found the manual entire to set description is there any command to set desc.
kubectl annotate deployment nginx
kubernetes.io/change-cause="Rolled back to ...
0
votes
0
answers
55
views
Kubespray Calico Controller, CoreDNS and DNS Autoscaler cannot find host
I am trying to use Kubespray to create a kubernetes cluster on three nodes. This is currently resulting in the Calico Kube Controller, CoreDNS and DNS Autoscaler nodes crashing because they cannot ...
0
votes
0
answers
10
views
How to best define in ArgoCD reusable ClusterRole for different namespaces and jobs?
I have the same Job as a bash script that needs to check for multiple different applications that need storage whether storage application is running already.
What would be the best-practice be, with ...
0
votes
1
answer
66
views
Helm Install Error of Flux Operator: No matches for kind FluxInstance in version fluxcd.controlplane.io/v1
I am trying to install Flux Operator using Helm install from the docs here
helm install flux-operator oci://ghcr.io/controlplaneio-fluxcd/charts/flux-operator \ --namespace flux-system
Note: I have ...
0
votes
1
answer
121
views
Preventing HPA Auto-Scaling during Kubernetes deployments when using custom metrics
We have an app that automatically sets up Kubernetes HPA to our customers.
We are now using metrics from Prometheus as targets to HPA. These metrics are exported from our Java applications using the ...
0
votes
0
answers
17
views
How to ensure a rancher managed virtual machine will be assigned to a certain host?
I have a 4-node HarvesterHCI cluster up and running. One node is equipped with dedicated hardware (GPU) which is not present on the other 3 nodes. Rancher is installed as the management solution to ...
0
votes
1
answer
117
views
CoreDNS in Kubernetes intermittent NXDOMAIN
We have a small selfhosted microk8s kubernetes cluster where CoreDNS (v1.6.6) provides the domain name resolution for the pods. A few days ago we run into the problem that some DNS request an ...
0
votes
0
answers
58
views
Cilium API Gateway vs Envoy Gateway
I'm looking to replace my NGINX Ingress with either Cilium API Gateway or Envoy Gateway. I have a strict requirement for implementing maintenance windows using one of these tools. During a maintenance ...