table of Contents
1, rancher Introduction
2, installation requirements
2.1 Operating System Requirements and Docker
2.2 Hardware Requirements
Requires 2.3Rancher port in communication with a user cluster
3, a single node installation
4, rancher web interface
Log in to the web interface rancher 4.1
Custom Cluster 4.2
4.3 Import Creating good cluster
Along with a variety of functions:
Built-CI / CD line
Alarms and log collection function
Multi-cluster management function
Integrated Rancher Kubernetes Engine (RKE)
Integration with the cloud Kubernetes services (such as GKE, EKS, AKS)
2, installation requirements
2.1 Operating System Requirements and Docker
HA Cluster
Single node
docker run -d --restart=unless-stopped \
-p 80:80 -p 443:443 \
-v /usr/local/rancher:/usr/local/rancher \
rancher/rancher:latest
4, rancher web interface
4.1 access the web interface
Login through IP host of
Settings need to access the URL address
Add a cluster
Build your own cluster
You can customize the RKE cluster, you can also import your own cluster has been built.
4.2 Customizing a first cluster
Set custom cluster name, select the version you want to install the cluster.
Select the required network policy
According to their own needs settings
After selecting the master node you need to install to run the following command master node
Node running the following command at work
After all containers can see good run the following interface, that your cluster has been good
At this point the custom cluster is complete.
4.3 Import Creating good cluster
Just define a cluster name
Copy the following two commands in the master node is running, run the first command, because it is self-signed certificate will be reported x509 errors, execute the following command to skip a mistake like
When you see the master node
In rancher interface to see
It means that the import was successful!
Note: Due to the time the operation is not shot, the picture is back up, so do not care about the content of the picture, as long as you can see the corresponding map!