Questions tagged [kubernetes]

Kubernetes is an open source container cluster manager.

kubernetes (pronounced koo-ber-neh-tees from its greek origin of "helmsman") or "k8s", is a system for automating deployment, scaling, and management of applications in container groups on clusters of hosts. Originally donated by Google, it is now open-source but available from several commercial vendors.

Also, see stackexchange's What does Kubernetes actually do?

200 questions
2
votes
0 answers

kube-apiserver consumes a lot of memory. How can I find out the reason?

I've noticed that kube-apiserver consumes a lot of memory resources. This leads to some terrible issues related kubernetes cluster work: in some cases, kubernetes API doesn't work. How can I find out the reason why this process consumes a lot of…
VladF
  • 53
2
votes
1 answer

Output: Running scope as unit run-2863.scope. mount.nfs: access denied by server while mounting

when I mount a nas in kubernetes pod, shows this error: MountVolume.SetUp failed for volume "nfs-hades-mysql-pv1" : mount failed: exit status 32 Mounting command: systemd-run Mounting arguments: --description=Kubernetes transient mount for…
Dolphin
  • 609
1
vote
0 answers

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 wide The connection to the server master:6443 was…
1
vote
0 answers

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] "Kubelet version" kubeletVersion="v1.21.9" Aug 04…
Dolphin
  • 609
1
vote
0 answers

Is it possible to get the "schema" for a k8s Kind from the cluster itself?

We currently use a pretty ancient version of k8s, v1.13.12 (although I just heard we may be upgrading to 1.24 soon). It is often very frustrating to be certain what this k8s version supports, as the official docs only go as old as 1.23. Is there…
1
vote
1 answer

How to list all allowed actions I can perform in kubernetes?

I've been granted access to a k8s cluster in k8s, and I'd like to see what privileges I have in the cluster, like creating/deleting pods and other such kind of actions. So far I know a command to check a particular action like: kubectl auth can-i…
1
vote
2 answers

How to change kubernetes cluster name?

I am new to kubernetes. The default cluster name is Kubernetes and I want to rename it to something more meaningful. Can anybody help?
1
vote
0 answers

what privillege should I give to the kubernetes nfs mount path

when I start the postgresql in kubernetes cluster, the log look like this: postgresql 07:00:48.68 postgresql 07:00:48.68 Welcome to the Bitnami postgresql container postgresql 07:00:48.68 Subscribe to project updates by watching…
Dolphin
  • 609
1
vote
0 answers

Problem to implement route forwarding method

I have developed one application using minikube and one pod. I am using IPVS mode here. The application works when I have used Masq forwarding methods. But it does not work for route forwarding methods. Should I need to configure anything when I am…
1
vote
1 answer

Minimal amount of etcd instances

I think about installing an as small as possible kubernetes setup on scaleway. The idea is to prepare myself with a kind of MVP that is able to run my applications components and turn it into a full blown redundant setup when usage grows. The…
Marged
  • 701
0
votes
0 answers

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 reason that ctr sees more image versions than…
0
votes
0 answers

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 over 42m) kubelet Pulling image…
0
votes
0 answers

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?
0
votes
1 answer

what does {} in containers section in kubernetes mean?

I want to know what resources: {} in pod.spec.containers.resources in Kubernetes means?
0
votes
1 answer

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: containerd://1.7.2 Cluster contains with 1 Master…
1
2 3