Difference between revisions of "Kubelet"

From wikieduonline
Jump to navigation Jump to search
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{lc}}
 
<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
  
Line 5: Line 6:
 
  [[/var/log/kubelet.log]]
 
  [[/var/log/kubelet.log]]
  
Kubelet listen on [[Transmission Control Protocol (TCP)|port 10250]]
+
Kubelet listen on [[List of TCP ports|port 10250]]
  
  
Line 11: Line 12:
  
 
== Installation ==
 
== Installation ==
* <code>[[snap install kubelet --classic]]</code> (snap stop kubelet.daemon or snap start kubelet.daemon)
+
* <code>[[snap install kubelet --classic]]</code> (<code>[[snap stop]] kubelet.daemon</code> or <code>[[snap start]] kubelet.daemon</code>)
  
 
== Commands ==
 
== Commands ==
Line 28: Line 29:
 
* liveness probes: (<code>[[livenessProbe]]</code>)
 
* liveness probes: (<code>[[livenessProbe]]</code>)
 
* readiness probes: (<code>[[readinessProbe]]</code>)
 
* readiness probes: (<code>[[readinessProbe]]</code>)
* <code>systemctl stop snap.kubelet.daemon.service</code>
+
* <code>[[systemctl stop]] snap.kubelet.daemon.service</code>
 
* <code>[[kubectl describe pods]] | grep [[Unhealthy]]</code>
 
* <code>[[kubectl describe pods]] | grep [[Unhealthy]]</code>
  
 
== Activities ==
 
== Activities ==
* [[CKA: Understand LivenessProves and ReadinessProbes]]
+
* [[CKA v1.15: Understand LivenessProbes and ReadinessProbes]]
 +
 
 +
== News ==
 +
* 05/2022 [[Kubernetes 1.24]]: <code>[[dockershim]]</code> removed from <code>[[kubelet]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 16:32, 18 May 2022

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


/etc/kubernetes/kubelet.conf
/var/log/kubelet.log

Kubelet listen on port 10250


[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.

Installation

Commands

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


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

Networking

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

Related terms

Activities

News

See also

Advertising: