You are not logged in.

#1 2020-12-10 01:11:48

csj
Member
From: Taipei, Taiwan
Registered: 2009-11-02
Posts: 9

Kubernetes wiki installation section

in wiki: https://wiki.archlinux.org/index.php/Ku … stallation
mentioned that

When creating a Kubernetes cluster with the help of kubeadm, install kubeadm and kubelet on each node.

why control plane(master node) need kublet installed?

Both control-plane and regular worker nodes require a container runtime for their kubelet instances which is used for hosting containers. Install either containerd or cri-o to meet this dependency.

why control plane(master node) need container runtime installed?

Above two instruction seems not match as offcial architecure.

Last edited by csj (2020-12-10 09:05:01)

Offline

#2 2020-12-10 06:53:01

lahwaacz
Wiki Admin
From: Czech Republic
Registered: 2012-05-29
Posts: 696

Re: Kubernetes wiki installation section

Please edit your post and remove the large image. See https://wiki.archlinux.org/index.php/Co … s_and_code

Instead, you can link to wherever you found it.

Offline

#3 2020-12-10 07:45:54

apollo22
Member
Registered: 2018-04-13
Posts: 32

Re: Kubernetes wiki installation section

It's not. You should refer to kubernetes documentation on the subject, not archwiki.

Offline

#4 2020-12-10 09:04:30

csj
Member
From: Taipei, Taiwan
Registered: 2009-11-02
Posts: 9

Re: Kubernetes wiki installation section

I found the package group is a little confusing too:
kubernetes-control-plane contains kubelet

Last edited by csj (2020-12-10 09:05:34)

Offline

#5 2020-12-10 09:10:47

Omar007
Member
Registered: 2015-04-09
Posts: 367

Re: Kubernetes wiki installation section

The Control Plane consists of a few software components which itself can be run and managed using kubelet instead of manually installed directly onto the machine.
In that case, all the machines part of your cluster require kubelet and a container runtime, not just the machines that function as worker nodes. Using kubeadm is also well documented on the K8S website; https://kubernetes.io/docs/setup/produc … l-kubeadm/

Aside from that, a machine set up to run the control plane can itself also function as a worker node if you either 1) have the control plane installed directly onto the machine and a kubelet on that same machine as a cluster member or 2) when you have the control plane running with kubelet and 'untaint' the master node to allow pods to be scheduled on the master node's kubelet.
For a live production environment you should keep these workloads separated though.

Last edited by Omar007 (2020-12-10 09:12:22)

Offline

Board footer

Powered by FluxBB