k8s-install
- Kubectl: commndline tool
- kubelet
- Kubeam: help set up a cluster
Control Plane Components
Master control-plane node: the machine where the control plane components run, including etcd (the cluster database) and the API Server (which the kubectl command line tool communicates with).
- Kube-apiserver: The API server is the front end for the Kubernetes control plane.
The main implementation of a Kubernetes API server is kube-apiserver.
-
kube-scheduler
-
kube-controller-manager
-
etcd
-
Coredns
Node components: Node components run on every node, maintaining running pods and providing the Kubernetes runtime environment.
- Kubelet: control containers in a pod.
- Kube-proxy: control service, network
- container runtime
安装步骤参考:
https://www.hyhblog.cn/2021/02/17/deployment-manual-k8s-for-newbee/
https://blog.csdn.net/ACE_GJH/article/details/116173822
单机需要特别允许 master 节点也可以调度 node
kubectl taint nodes --all node-role.kubernetes.io/master-