Editing Kubelet

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{lc}}
 
{{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
* 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]]
+
[[/etc/kubernetes/kubelet.conf]]
 +
[[/var/log/kubelet.log]]
 +
 
 +
Kubelet listen on [[List of TCP ports|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 ==
 +
* Ubuntu: <code>[[snap install kubelet --classic]]</code> (<code>[[snap stop]] kubelet.daemon</code> or <code>[[snap start]] kubelet.daemon</code>)
  
 
== Commands ==
 
== Commands ==
 
  [[systemctl start]] snap.kubelet.daemon.service
 
  [[systemctl start]] snap.kubelet.daemon.service
 
  [[systemctl stop]] snap.kubelet.daemon.service
 
  [[systemctl stop]] snap.kubelet.daemon.service
 +
  
 
  [[snap start]] [[kubelet]].daemon
 
  [[snap start]] [[kubelet]].daemon
Line 21: Line 25:
 
== [[Kubernetes networking|Networking]] ==
 
== [[Kubernetes networking|Networking]] ==
 
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>
 
== Errors ==
 
* <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 probes: (<code>[[livenessProbe]]</code>)
* Liveness probe: (<code>[[livenessProbe]]</code>)
+
* readiness probes: (<code>[[readinessProbe]]</code>)
* Readiness probe: (<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>
* [[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]]
 
  
 
== Activities ==
 
== Activities ==
Line 51: Line 36:
  
 
== News ==
 
== News ==
* 05/2022 [[Kubernetes 1.24]]: [[Dockershim removed from kubelet]]
+
* 05/2022 [[Kubernetes 1.24]]: <code>[[dockershim]]</code> removed from <code>[[kubelet]]</code>
  
 
== See also ==
 
== See also ==
 
* {{kubelet}}
 
* {{kubelet}}
 
* {{Kubernetes components}}
 
* {{Kubernetes components}}
 +
* {{K8s}}
  
  
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: