Brief description:
Using the Rke tool, on the 192.168.3.161 machine, create a kubernetes cluster with two nodes (192.168.3.162 and 192.168.3.163). Rke automatically creates KUBE_CONFIG_CLUSTER.YML configuration files in the/home/user directory.
On another server (192.168.3.160), run the Rancher Server 2.0 container. After running, use the https://192.168.3.160 address to access Rancher Server 2.0 preview. (Note: No longer the previous 8080 port)
In the Rancher2.0 page, import the Rke generated cluster and run as follows:
Run:
01-Launch Rancherserver V2.0.0-ALPHA16 version
02-Login to Rancherserver v2.0 preview-The default username and password are admin
03-Add a k8s cluster that already exists
04-Select read from file, config file in user home directory of Rke deployment machine
05-rke automatically generated kube_config_cluster.yml files in the user's home directory on successfully deployed machines
06-contents of the imported Kubeconfig file after reading from a file
07-Status-clusters after importing Rke kubernetes cluster
08-Status-nodes after importing Rke kubernetes cluster
09-State-node Drivers after importing Rke kubernetes cluster
10-Status-catalogs after importing Rke kubernetes cluster
11-Status-users after importing Rke kubernetes cluster
Dashboard panel for 12-rke-cluster clusters
Namespaces of 13-rke-cluster Cluster
Nodes of 14-rke-cluster cluster
01-Launch Rancherserver V2.0.0-ALPHA16 version
02-Login to Rancherserver v2.0 preview-The default username and password are admin
03-Add a k8s cluster that already exists
04-Select read from file, config file in user home directory of Rke deployment machine
05-rke automatically generated kube_config_cluster.yml files in the user's home directory on successfully deployed machines
06-contents of the imported Kubeconfig file after reading from a file
07-Status-clusters after importing Rke kubernetes cluster
08-Status-nodes after importing Rke kubernetes cluster
09-State-node Drivers after importing Rke kubernetes cluster
10-Status-catalogs after importing Rke kubernetes cluster
11-Status-users after importing Rke kubernetes cluster
Dashboard panel for 12-rke-cluster clusters
Namespaces of 13-rke-cluster Cluster
Nodes of 14-rke-cluster cluster
Reference Links:
RANCHER2.0 Preview Version official website introduction
http://rancher.com/rancher2-0/
Rancher2.0 Release Notes on GitHub (version v2.0.0-alpha16)
Https://github.com/rancher/rancher/releases/tag/v2.0.0-alpha16
Rancher2.0 importing local Rke kubernetes cluster plots