Difference between revisions of "Kubelet"

From wikieduonline
Jump to navigation Jump to search
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
  
  [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.
+
  [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 ==
 
== Installation ==
* <code>[[snap install kubelet --classic]]</code> (<code>[[snap stop]] kubelet.daemon</code> or <code>[[snap start]] kubelet.daemon</code>)
+
* 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
  
  
Line 39: Line 39:
  
 
== See also ==
 
== See also ==
 +
* {{kubelet}}
 
* {{Kubernetes components}}
 
* {{Kubernetes components}}
 
* {{K8s}}
 
* {{K8s}}

Revision as of 21:42, 19 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: