Questions tagged [kubernetes]
Kubernetes is an open source container cluster manager.
206
questions
0
votes
0
answers
14
views
DNS resolution failure for traefik forward auth middleware in kubernetes 1.29.x cluster
I am using traefik 2.10.1 to do a auth middleware, this is the middleware config look like:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: jwt-token-auth
namespace: reddwarf-pro
...
0
votes
0
answers
10
views
how to export different version of ingress route
When I using this command to export kubernetes 1.29 ingress route:
kubectl get ingressroute -o yaml --all-namespaces > ingress-route.yaml
but i just seem one api version's ingress route:
...
0
votes
0
answers
5
views
"extension-apiserver-authentication": the object has been modified; please apply your changes to the latest version and try again
When I tried to use this command to restore some configmap to kubernetes cluster:
kubectl --kubeconfig=/Users/xiaoqiangjiang/.kube/admin.conf apply -f reddwarf-configmap.yaml -v=9
the kubernetes ...
0
votes
1
answer
15
views
could not the kubernets configmap
In kubernetes 1.29.x cluster. Fisrt make sure the namespaces contains configmap:
➜ migration kubectl get configmaps -n reddwarf-cache
NAME DATA AGE
cruise-redis-...
0
votes
0
answers
8
views
can not found the redis statefulset pvc define in kubernetes redis statefulset yaml
Today when I tried to rename the statefulset pvc name in kubernetes, and could not found the pvc define, this is the kubernetes yaml define:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ...
0
votes
0
answers
27
views
Running shell commands in Jenkins kubernetes container
Im just trying to execute shell commands in a Jenkins kubernetes container from a pipeline. Getting the below error
11:30:35 cp: can't stat '/home/jenkins/agent/workspace/builds/<project>/...
0
votes
0
answers
15
views
How do deal with kubeadm init failing with rpc error: code = Unknown desc = malformed header: missing HTTP content-type?
Upon running this:
kubeadm init --pod-network-cidr=10.244.0.0/16 --cri-socket=unix:///run/containerd/containerd.sock --v=5
I get the following error:
[kubelet-finalize] Updating "/etc/kubernetes/...
0
votes
0
answers
15
views
how to make kubernetes certificate works for the internet
I have installed kubernetes 1.29.6 using this command in CentOS 8:
kubeadm init \
--apiserver-advertise-address 0.0.0.0 \
--apiserver-bind-port 6443 \
--cert-dir /etc/kubernetes/pki \
--control-plane-...
0
votes
0
answers
21
views
The kubernetes API server didn't start when using kubeadm to init kubernetes 1.29 cluster in Debian 12
I'm using this command to init a single node Kubernetes cluster (version 1.29.6) in Debian 12 (the Cloud Server config is 2CPU core, 4GB RAM):
kubeadm init --apiserver-advertise-address 0.0.0.0 --...
0
votes
1
answer
14
views
Persisting Docker container logs in Kubernetes?
We have an application running in a Docker container, within Kubernetes, but because of certain limitations we can't change the application to log to stdout & stderr. This means when the app fails ...
0
votes
0
answers
69
views
Ubuntu 22.04 / Kubernetes & DNSMasq
I have DNSMasq and Kubernetes running on a series of Ubuntu 22.04 virtual machines.
After installing any CNI (in this case, Cilium), when CoreDNS attempts to startup, I get a crash loop with the ...
0
votes
0
answers
25
views
Need help on freeze and unfreeze a kubernetes pod
I want to freeze and unfreeze a specific kubernetes pod.
Below are the steps which I've tried:
With the help of kubectl exec -it command entered into the pod.
Verified the processes in that pod. One ...
0
votes
0
answers
34
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 ...
0
votes
0
answers
50
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:
...
0
votes
1
answer
24
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 ...