minikube is a local single-node cluster, and is useful for testing kubernetes local development, the following are specific installation methods are binary packages.
Installation Docker
Installation centos following:
the sudo yum the install-CE Docker
Mirror accelerate
foreign Docker image library are either inaccessible or access is very slow. Ali cloud image library using accelerated.
step 1: Create /etc/docker/daemon.json file and add the following:
{
"Registry-Mirrors": [ "https://xxxxx.mirrors.aliyuncs.com"]
}
If there are other image library, there may be added to the value of registry-mirrors is an array;
step 2: Restart docker service
sudo /etc/init.d/docker restart
Installation kubectl
can be downloaded directly from the kubernetes library, as follows:
1, visit the official website github: https: //github.com/kubernetes/kubernetes/releases
2, find the release version you want to use, there are similar "in the last line of each release version of CHANGELOG-1.15.md " click hyperlinks to enter my mouth a new choice. The client is the same way, see above. ;
3, and then enter the "Client Binaries" area;
4, selection and matching of the target machine to download binaries;
5, decompression, into the / usr / local / bin directory;
AnSo minikube
First, remember that Ali cloud released minikube address: https: //github.com/AliyunContainerService/minikube
latest version release minikube catalog downloaded from, then:
chmod + the X-minikube
mv minikube / usr / local / bin
Start minikube virtual machine:
minikube Start
View cluster information using a client kubectl
kubectl cluster-info
[Send you a maximum of $ 1000 Ali cloud spree, Come and pick it ~]