Difference between revisions of "Kubelet"

From wikieduonline
Jump to navigation Jump to search
 
(38 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
<code>kubelet</code> process in [[Kubernetes]] is responsible for running containers on the node
 
<code>kubelet</code> process in [[Kubernetes]] is responsible for running containers on the node
 
* Configuration: <code>[[/etc/kubernetes/kubelet.conf]]</code>
 
* Configuration: <code>[[/etc/kubernetes/kubelet.conf]]</code>
 +
* GitHub: https://github.com/openshift/origin/tree/master/vendor/k8s.io/kubernetes/pkg/kubelet
 
* Logs:
 
* Logs:
 
** <code>[[/var/log/kubelet.log]]</code>
 
** <code>[[/var/log/kubelet.log]]</code>
** [[GKE]]: <code>gcloud logging read projects/your-project/logs/kubelet</code>
+
** [[GKE]]: <code>[[gcloud logging read projects/your-project/logs/kubelet]]</code>
 
* Port: <code>kubelet</code> listen on [[List of TCP ports|port 10250]]
 
* Port: <code>kubelet</code> listen on [[List of TCP ports|port 10250]]
  
 
* Installation Ubuntu: <code>[[snap install kubelet --classic]]</code> (<code>[[snap stop]] kubelet.daemon</code> or <code>[[snap start]] kubelet.daemon</code>)
 
* Installation Ubuntu: <code>[[snap install kubelet --classic]]</code> (<code>[[snap stop]] kubelet.daemon</code> or <code>[[snap start]] kubelet.daemon</code>)
 +
* [[Kubelet logs]]: [[docker logs kubelet]]
  
 
== Commands ==
 
== Commands ==
Line 20: Line 22:
 
The [[Container Network Interface (CNI)]] plugin is selected by passing <code>[[kubelet]]</code> the <code>--network-plugin=cni</code>
 
The [[Container Network Interface (CNI)]] plugin is selected by passing <code>[[kubelet]]</code> the <code>--network-plugin=cni</code>
  
== Logs ==
+
== Errors ==
[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp 127.0.0.1:10248: connect: [[connection refused]].
+
* <code>[[The kubelet on the node ip-123.123.123.123 is not healthy]]</code>
  
 
== Related terms ==
 
== Related terms ==
 +
* [[Pod Lifecycle Event Generator (PLEG)]]
 
* Liveness probe: (<code>[[livenessProbe]]</code>)
 
* Liveness probe: (<code>[[livenessProbe]]</code>)
 
* Readiness probe: (<code>[[readinessProbe]]</code>)
 
* Readiness probe: (<code>[[readinessProbe]]</code>)
Line 32: Line 35:
 
* <code>[[gcloud logging read]]  projects/yourproject/logs/kubelet</code>
 
* <code>[[gcloud logging read]]  projects/yourproject/logs/kubelet</code>
 
* [[Kubernetes controller manager]]
 
* [[Kubernetes controller manager]]
 +
* <code>[[Conditions:]]</code> <code>[[kubelet is posting ready status. AppArmor enabled]]</code>
 +
* <code>[[--kubelet-insecure-tls]]</code>
 +
* [[Kubelet conditions]]: <code>[[MemoryPressure]]</code>
 +
* <code>[[Node-pressure Eviction]]</code>
 +
* <code>[[kubectl get events]] [[Starting kubelet]]</code>
 +
* <code>[[cloud-node-lifecycle-controller]]</code>
 +
* <code>[[kind: KubeletConfiguration]]</code>
 +
* <code>[[oom_score_adj]]</code>
 +
* [[Kubelet stopped posting node status.]]
 +
* [[DNSConfigForming kubelet warning]]
 +
* [[Kubelet Resource Metrics Endpoint]]
 +
* <code>[[Scheduled]], [[Pulling]], [[Pulled]], [[Created]], [[Started]], [[Unhealthy]], [[Killing]]</code>
  
 
== Activities ==
 
== Activities ==
Line 37: Line 52:
  
 
== News ==
 
== News ==
* 05/2022 [[Kubernetes 1.24]]: <code>[[dockershim]]</code> removed from <code>[[kubelet]]</code>
+
* 05/2022 [[Kubernetes 1.24]]: [[Dockershim removed from kubelet]]
  
 
== See also ==
 
== See also ==
 
* {{kubelet}}
 
* {{kubelet}}
 
* {{Kubernetes components}}
 
* {{Kubernetes components}}
* {{K8s}}
 
  
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 09:42, 1 May 2024

kubelet process in Kubernetes is responsible for running containers on the node

Commands[edit]

systemctl start snap.kubelet.daemon.service
systemctl stop snap.kubelet.daemon.service
snap start kubelet.daemon
Started.
systemctl status snap.kubelet.daemon.service

Networking[edit]

The Container Network Interface (CNI) plugin is selected by passing kubelet the --network-plugin=cni

Errors[edit]

Related terms[edit]

Activities[edit]

News[edit]

See also[edit]

Advertising: