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

how kubelet calculate nodefs,imagefs? Then evict a Pod

How can I know kubelet will check which folders or any restful api I can invoke to know the current usage of nodefs and imagefs, and free usage? --eviction-hard=memory.available<200Mi,nodefs.available<5%,imagefs.available<5% \ …
Cain
  • 585
  • 1
  • 9
  • 25
0
votes
1 answer

How kubelet sync events to apiserver?

Recently I research how kubelet sync events to apiserver but I can't find where the code is.
kongshuo
  • 25
  • 6
0
votes
1 answer

After joining the slave node and adding cni slave node is not getting ready but master node is getting ready

Type Status LastHeartbeatTime LastTransitionTime Reason Message ---- ------ ----------------- ------------------ ------ …
jaya rohith
  • 191
  • 2
  • 5
  • 13
0
votes
1 answer

What is the simplest way to attach a node configuring kubelet?

I have created these files ca.cert and kubelet.service (systemd file with apiserver's IP and options). How can I simply add this new node to the cluster?
manzion_111
  • 139
  • 1
  • 1
  • 7
0
votes
1 answer

Pod has been in Pending? Is it related to cni?

centos7.5 Why is it always Pending here?Is the above etcd container not normal,Why isn’t the pod below? To start K8S's own process, you also need to install the CNI container first. [root@K8S-M1 ~]# kubectl get cs NAME STATUS …
keyi men
  • 1
  • 1
0
votes
2 answers

Can't install third kubernetes master node: Kubelet TLS bootstrapping timeout in kubeadm join

When trying to set up an HA cluster in Kubernetes 1.12 with external etcd I experienced a timeout when using the following command: kubeadm join :443 --token --discovery-token-ca-cert-hash…
albrr
  • 91
  • 2
  • 6
0
votes
1 answer

When we set new SSH key using kops for existing Kubernetes cluster, would it break anything?

We need to access the kubelet logs on our Kubernetes node (which is in AWS) to investigate an issue we are facing regarding Kubernetes error (see Even after adding additional Kubernetes node, I see new node unused while getting error "No nodes are…
mi10
  • 213
  • 3
  • 14
0
votes
0 answers

Should I install Kubelet for OpenShift?

I'm trying to download the OpenShift Origin server with this tutorial in order to be able to increase amount of memory dedicated to the build. Yet Whil following the tutorial I tried to launch the server but got an error about Kubelet. I have Ubuntu…
Alice Antoine
  • 411
  • 6
  • 17
0
votes
1 answer

how to deploy hyperkube image in a kubernetes pod?

I want to deploy hyperkube in a Kubernetes pod. I already have a Kubernetes cluster. I tried few docker images in the docker hub. But all pods are failing with some issues. I am not able to deploy hyperkube image in a Kubernetes pod.
0
votes
1 answer

ICP 1.2.0 Module failure

During the icp 1.2.0 installation process I encounter following error: TASK [kubelet : Starting Kubelet container on Worker nodes] ******************** task path: /installer/playbook/roles/kubelet/tasks/kubelet.yaml:3 Using module file…
Kim
  • 49
  • 9
0
votes
2 answers

kubelet doesn't seem to be using correct user when registering node

When kubelet tries to start on my Kubernetes worker nodes, I'm getting messages like this in the system log: May 25 19:43:57 ip-10-240-0-223 kubelet[4882]: I0525 19:43:57.627389 4882 kubelet_node_status.go:82] Attempting to register node…
Giles Thomas
  • 6,039
  • 2
  • 33
  • 51
0
votes
1 answer

RBAC authorization forbidding me to assign roles and depoyments

I'm running a two-node cluster on CentOS 7 with latest version of Kubernetes. Can't seem to do anything after setting it up.. This is the error I encounter whenever I want to create a deployment from the master: Error from server (Forbidden): error…
0
votes
0 answers

when we create pod, it has error that is Node did'n have enough resource: pods

when i create pod, it has error that is nodes didn't have enough resource:pods ,requested : 1, used : 0, capacity :0. But after 200ms, the other pod create successful. So i don't know the reason for the failure of the first pod.
woniu
  • 1
0
votes
1 answer

How kubelet schduler work?

I have understood how Kubernetes scheduler works. The kubernetes scheduler only create and assign pods, but the actually running pod is the kubelet's job. How kubelet schedules the containers in the pods? (Handler request from outside). Is it the…
Jing
  • 1
  • 1
  • 1
0
votes
1 answer

Install openiscsi initiator on kubelet

I have created a 3 node azure kubernetes cluster using the following commands az group create --name ResourceGroup --location canadacentral az provider register -n Microsoft.ContainerService az provider register -n Microsoft.Compute az provider…
Jay
  • 51
  • 1
  • 6