How to prepare a virtual machine in binary deployment K8s
It is believed that many inexperienced people are at a loss about how to prepare virtual machines in binary deployment K8s. Therefore, this paper summarizes the causes and solutions of the problems. Through this article, I hope you can solve this problem.
1. Architecture diagram
2. Environmental preparation
Prepare 5 2c/2g/50g virtual machines and use 10.4.7.0 Universe 24 network
Pre-install CentOS7.6 system and do basic optimization
Ministry of Security deploys bind9 and deploys self-built DNS system
Prepare the self-signed certificate environment
Install and deploy the Docker environment and deploy the Harbor private repository
3. Software allocation
4. Network configuration
Take 7-11 machine as an example, do initialization operation hostnamectl set-hostname hdss7-11cat > > / etc/sysconfig/network-scripts/ifcfg-ens33 / etc/resolv.conf on 11,12,21,22,200 computers.