Build K8S Cluster on AWS Cloud
Create a new EC2
T2.medium
The operating system is CentOS 7.5.1804 (x86x64)-with AWS_CLI_SSM and HVM-ami-0229f1a332c972082
The security team is fully open and can surf the Internet.
System initialization
Yum install-y vim
Yum install-y git
Yum install-y wget
Setenforce 0
Sed-I's etc/selinux/config for Eng.
Install docker
Yum install-y docker
Systemctl enable docker.service
Systemctl start docker.service
Configure yum Feed
Cat > / etc/yum.repos.d/kubernetes.repo