foreword
As we all know, for some reason, it is impossible to successfully deploy k8s clusters in China through official methods. Here are several ways to deploy in China.
Deployment method
So far I know of the following ways:
There are many online tutorials and mirror packages for offline mirroring using kubeadmin
Through vendor integration, such as: rancher
here recommends a blog: CentOS7 environment to install Kubernetes four stepsDirectly use k8s, a public cloud platform like Alibaba Cloud. As long as you have money, you can do it with one click :)
To install through the yum official repository, you need to enable the
extras
repository.
However, the versions inside are relatively old. The latest version is only version 1.5.2. It is not convenient for people who want to learn new things, such as k8s role management, helm, etc., so it is not recommended to use them.Install it in the form of a binary package. Here is a repo recommended: The documentation in kubeasz
is also rich and clear, which is very helpful for beginners.