Difference between revisions of "Kubelet"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(85 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Kubelet is responsible for running containers on the node
+
{{lc}}
 +
<code>kubelet</code> process in [[Kubernetes]] is responsible for running containers on the node
 +
* Configuration: <code>[[/etc/kubernetes/kubelet.conf]]</code>
 +
* GitHub: https://github.com/openshift/origin/tree/master/vendor/k8s.io/kubernetes/pkg/kubelet
 +
* Logs:
 +
** <code>[[/var/log/kubelet.log]]</code>
 +
** [[GKE]]: <code>[[gcloud logging read projects/your-project/logs/kubelet]]</code>
 +
* 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>)
 +
* [[Kubelet logs]]: [[docker logs kubelet]]
  
  /var/log/[[kubelet.log]]
+
== Commands ==
 +
  [[systemctl start]] snap.kubelet.daemon.service
 +
[[systemctl stop]] snap.kubelet.daemon.service
  
Kubelet listen on port [[10250]]
+
[[snap start]] [[kubelet]].daemon
 +
Started.
 +
systemctl status snap.kubelet.daemon.service
  
 +
== [[Kubernetes networking|Networking]] ==
 +
The [[Container Network Interface (CNI)]] plugin is selected by passing <code>[[kubelet]]</code> the <code>--network-plugin=cni</code>
 +
 +
== Errors ==
 +
* <code>[[The kubelet on the node ip-123.123.123.123 is not healthy]]</code>
  
 
== Related terms ==
 
== Related terms ==
* liveness probes: (<code>livenessProbe</code>)
+
* [[Pod Lifecycle Event Generator (PLEG)]]
* readiness probes: (<code>readinessProbe</code>)
+
* Liveness probe: (<code>[[livenessProbe]]</code>)
 +
* Readiness probe: (<code>[[readinessProbe]]</code>)
 +
* <code>[[systemctl stop]] snap.kubelet.daemon.service</code>
 +
* <code>[[kubectl describe pods]] | grep [[Unhealthy]]</code>
 +
* [[Kubelet Container Runtime Interface (CRI)]]
 +
* <code>[[systemctl status kubelet]]</code>
 +
* <code>[[gcloud logging read]]  projects/yourproject/logs/kubelet</code>
 +
* [[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 ==
* [[CKAD: Understand LivenessProves and ReadinessProbes]]
+
* [[CKA v1.15: Understand LivenessProbes and ReadinessProbes]]
 +
 
 +
== News ==
 +
* 05/2022 [[Kubernetes 1.24]]: [[Dockershim removed from kubelet]]
  
 
== See also ==
 
== See also ==
* {{K8s}}
+
* {{kubelet}}
 +
* {{Kubernetes components}}
  
  
 
[[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: