15. Notes
Note: For clusters installed by kubeadm, the certificate validity period is one year by default. The kube-apiserver, kube-scheduler, kube-controller-manager, etcd of the master node all run as containers. It can be viewed through kubectl get po -n kube-system.
The difference between startup and binary is that
The configuration files of kubelet are in /etc/sysconfig/kubelet and /var/lib/kubelet/config.yaml. After modification, the kubelet process needs to be restarted
ipvs[root@k8s-master01 ~]# ls /etc/sysconfig/kubelet
/etc/sysconfig/kubelet
[root@k8s-master01 ~]# ls /var/lib/kubelet/config.yaml
/var/lib/kubelet/config.yaml
The configuration files of other components are in the /etc/kubernetes/manifests directory, such as kube-apiserver.yaml. After the yaml file is changed, kubelet will automatically refresh the configuration, that is, restart the pod. The file cannot be created again
[root@