Questions tagged [kubelet]

The Kubernetes kubelet is the primary “node agent” that runs on each node. Questions about the kubelet are most likely OFF TOPIC FOR STACK OVERFLOW; consider asking cluster administration questions on another site like Server Fault.

The kubelet is a core part of that the primary “node agent” that runs on each node. The kubelet works in terms of a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. The kubelet takes a set of PodSpecs that are provided through various mechanisms (primarily through the apiserver) and ensures that the containers described in those PodSpecs are running and healthy. The kubelet doesn’t manage containers which were not created by Kubernetes.

Application developers rarely need to be directly concerned with the kubelet operation or administration. Most questions about the kubelet are not programming-related and are off-topic for Stack Overflow; other sites like Server Fault or DevOps Stack Exchange would be more appropriate places to ask. On-topic questions might include, for example, the Go k8s.io/kubernetes/pkg/kubelet package.

Reference: http://kubernetes.io/docs/admin/kubelet/

343 questions
4
votes
1 answer

how does kubernetes guarantee reliability of kube proxy and kubelet?

If Kube proxy is down, the pods on a kubernetes node will not be able to communicate with the external world. Anything that Kubernetes does specially to guarantee the reliability of kube-proxy? Similarly, how does Kubernetes guarantee reliability…
yuyang
  • 1,511
  • 2
  • 15
  • 40
4
votes
1 answer

Setup different Internal IP for worker nodes

I want to setup a kubernetes cluster locally where I would like to have 1 master node and 2 worker nodes. I have managed to do that but I am not able to access pods or see any logs of a specific pod because Internal IP address is the same for all…
4
votes
1 answer

K8s - add kubeadm to existing cluster

I have the cluster created many time ago without kubeadm (maybe it was kubespray, but the configuration for that also lost). Is any way exists to add nodes to that cluster or attach kubeadm to current configuration or extend without erasing by…
Theodor Losev
  • 386
  • 3
  • 3
4
votes
3 answers

kubernetes 1.12.2 failed to load Kubelet config file /var/lib/kubelet/config.yaml

Environment: Kubernetes 1.12.2 Docker 18.9.0 microk8s.kubectl $ k get all NAME READY STATUS RESTARTS AGE pod/mysql-0 1/1 Running 0 …
Kok How Teh
  • 3,298
  • 6
  • 47
  • 85
4
votes
1 answer

x509 Certificate signed by unknown authority - kubeadm

I search the previews post for this but I can't find the solution, sorry. I install metrics server on kubeadm v1.12 and I get this error from the logs: 1 master node and 1 slave node, in private network. Get…
pioupiou
  • 836
  • 2
  • 14
  • 29
4
votes
1 answer

How can I do this to approve a CSR in the Denied state?

View node status:kubectl get csr [root@kube1 ~]# kubectl get csr NAME AGE REQUESTOR CONDITION node-csr--jJF_sRckTdhoqAOYB4fEaA06Juwv32d1RFwzcbbE0c 150m system:bootstrap:gn5vla …
4
votes
1 answer

deploy fail on kubernetes: kubectl apply fail

I have tried to run this YAML fine, but I am getting the below issue 1 master 2 nodes has been configured and I ran kubectl get nodes output looks fine kubectl apply -f https://k8s.io/examples/application/deployment.yaml then I have downloaded the…
Manikandan
  • 49
  • 2
  • 6
4
votes
2 answers

Kubernetes doesn't take into account total node memory usage when starting Pods

What I see: Kubernetes takes into account only the memory used by its components when scheduling new Pods, and considers the remaining memory as free, even if it's being used by other system processes outside Kubernetes. So, when creating new…
Laylo
  • 49
  • 3
4
votes
2 answers

Does Kubernetes kubelet support Docker Credential Stores for private registries?

Docker has a mechanism for retrieving Docker registry passwords from a remote store, instead of just storing them in a config file - this mechanism is called a Credentials Store. It has a similar mechanism that are used to retrieve a password for a…
John
  • 10,837
  • 17
  • 78
  • 141
4
votes
2 answers

Kubelet failed to get cgroup stats for "/system.slice/docker.service"

Question What the kubectl (1.8.3 on CentOS 7) error massage actually means and how to resolve. Nov 19 22:32:24 master kubelet[4425]: E1119 22:32:24.269786 4425 summary.go:92] Failed to get system container stats for …
mon
  • 18,789
  • 22
  • 112
  • 205
4
votes
0 answers

Why does kubernetes produce multiple errors when CPU usage is high?

I'm using Kubernetes with GKE (one node), which is very nice to use. However, I'm experiencing multiple errors, making all the pods not responding : kubectl exec command : Error from server: error dialing backend: ssh: rejected: connect failed…
Neko
  • 171
  • 1
  • 6
3
votes
0 answers

Unable to start pod - context deadline exceeded error

We are currently trying to launch a pod on our kubernetes cluster. The pod get stuck in the Waiting state (ContainerCreating reason) forever. When getting details about the pod (kubectl describe pod pod01), the only event that's present is: Events: …
E. Jaep
  • 2,095
  • 1
  • 30
  • 56
3
votes
1 answer

Failed to validate kubelet flags: the container runtime endpoint address was not specified or empty, use --container-runtime-endpoint to set

I am trying to set up a Kubernetes master node. Every time I try to start kubelet I am getting the error message: command failed" err="failed to validate kubelet flags: the container runtime endpoint address was not specified or empty, use…
3
votes
1 answer

Why EKS can't issue certificate to kubelet after nodepool creation?

When I'm creating EKS cluster with single nodepool using terraform, I'm facing the kubelet certificate problem, i.e. csr's are stuck in pending state like this: NAME AGE SIGNERNAME REQUESTOR REQUESTEDDURATION…
3
votes
1 answer

Kubelet service is not running. It seems like the kubelet isn't running or healthy

I have configured 1 master 2 workers. after installation successfully kubernetes. It is OK with worker1 joining cluster but I can not join worker2 to the cluster because kubelet service is not running. It seems like the kubelet isn't running or…
Metin Bulak
  • 537
  • 4
  • 8
  • 30