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

kubelet was unhealthy after install k8s from Rancher catalog

Have three hosts to run Rancher cluster. Rancher: 1.6.10 Kubernetes: 1.7.7 Install k8s from catalog on master host. Set orchestration=true and etcd=true labels to two Rancher agent hosts. After the k8s stack finished, only the kubelet went wrong.…
online
  • 4,919
  • 10
  • 32
  • 47
0
votes
1 answer

kubelet.exe on Windows Server Core (1709): unable to read physical memory

I've built kubelet, kube-proxy off master branch of kubernetes repository and when running kubelet.exe without any parameters I'm getting the following error: error: failed to run Kubelet: unable to read physical memory I'm building offmaster as…
marius-O
  • 395
  • 3
  • 15
0
votes
1 answer

kubelet reading from wrong config file?

When I run kubelet version I get an error message ending in: error: failed to run Kubelet: failed to create kubelet: misconfiguration: kubelet cgroup driver: "cgroupfs" is different from docker cgroup driver: "systemd" But when I check the config…
Mike
  • 961
  • 6
  • 19
  • 43
0
votes
2 answers

Cannot curl kubelet read-only port

I have a heapster pod running on one of the nodes in my Kubernetes cluster. It is able to get http://:10255/stats/summary just fine, but whenever it runs the same get request on another node, it cannot. When I run curl from…
Ryan
  • 1,131
  • 3
  • 13
  • 17
0
votes
1 answer

Kubernetes "Unable to register node" with cloud-provider=aws

I'm trying to run kubelet with --cloud-provider=aws flag but it fails with the following error: kubelet_node_status.go:107] Unable to register node "ip-172-28-68-69.eu-west-1.compute.internal" with API server: nodes…
Vasily Yanov
  • 91
  • 1
  • 10
0
votes
1 answer

Failed to start Kubernetes API Server duo to unknown reason

the service is not starting and the listener is not activated on port 8080. here is my kubernetes…
0
votes
1 answer

Kubernetes Master Server is failing to become up and running

Installed kubeadm v1.6.0-alpha, kubectl v1.5.3, kubelet v1.5.3 Executed command $kubeadm init, to bring the Kubernetes Master up. Issue observed: Stuck with the below log message Created API client, waiting for the control plane to become…
0
votes
2 answers

k8s: Error pulling images from ECR

We constantly get Waiting: ImagePullBackOff during CI upgrades. Anybody know whats happening? k8s cluster 1.6.2 installed via kops. During upgrades, we do kubectl set image and during the last 2 days, we are seeing the following error Failed to…
padlar
  • 375
  • 1
  • 4
  • 13
0
votes
1 answer

What is the purpose of kubelet tls certificates

I see that kubelet is creating a pair of self-signed certificates in /var/run/kubernetes/: # ll /var/run/kubernetes/ total 8 -rw-r--r--. 1 root root 1164 iul 6 05:38 kubelet.crt -rw-------. 1 root root 1679 iul 6 05:38 kubelet.key Those are used…
cristi
  • 2,019
  • 1
  • 22
  • 31
0
votes
2 answers

Cannot start api server after doing modifications

I was able to successfully configure K8S cluster. But later I wanted allow annolymous access to kub apiserver so I added following parameters to /kube-apiserver.yaml - --insecure-bind-address=0.0.0.0 - --insecure-port=8080 But when I restarted the…
ycr
  • 12,828
  • 2
  • 25
  • 45
0
votes
2 answers

Kubelet CoreOs FlexVolume plugin

I have a DigitalOcean flexVolume on CoreOS. I am following this documentation for CoreOS from TonyZou. Note that CoreOS mounts /usr as read-only so instead you'll want to add --volume-plugin-dir=/etc/kubernetes/volumeplugins to KUBELET_ARGS in…
Katlock
  • 1,200
  • 1
  • 17
  • 41
0
votes
1 answer

kubelet fails to start with rocket

I would like to request advice from the Kubernetes community on the Kubelet problem I described in https://github.com/rkt/rkt/issues/3647. Please find brief summary of the issue copied here and the full details in the Github link above. Summary I…
ppavlov
  • 117
  • 1
  • 1
  • 14
0
votes
1 answer

How to create a docker cluster with MQ without Kubernetes

How to create a docker cluster with MQ without Kubernetes ? or with kubernetes is also fine , but has any one configured this before ? if so can you please help me out ?
0
votes
1 answer

kubelet not deleting old containers

I'm running the kubelet 1.5.4 and finding that even when I run low on disk space it will not delete old containers. I have may exited containers, over an hour hold: $ sudo docker ps -a | grep 'Exited (0) About an hour' | wc -l 78 But the kubelet…
Andy Smith
  • 3,308
  • 4
  • 26
  • 34
0
votes
2 answers

Does the kube-apiserver expect the presence of kube-proxy?

I've been running my kubernetes masters separate from my kubernetes nodes. So I have kube-apiserver, kube-scheduler and kube-controllermanager running on a server without kubelet, kube-proxy or flannel. So far this has worked perfectly. However,…
Andy Smith
  • 3,308
  • 4
  • 26
  • 34
1 2 3
22
23