Deploying Kubernetes on bare metal with Rancher 2.0

Contents Install Rancher server Create a Kubernetes cluster Add Kubernetes nodes Install StorageOS as the Kubernetes storage class Understand Nginx Ingress in Rancher Install Rancher Create a VM with Docker and Docker Compose installed and install Rancher 2.0 with docker compose: Rancher docker-compose file: docker-compose.yaml Run these commands to install Rancher with docker compose: git clone https://github.com/polinchw/rancher-docker-compose cd rancher-docker-compose docker-compose up -d Create your Kubernetes cluster with Rancher Install a custom Kubernetes cluster with Rancher. Use the ‘Custom’ cluster. Add Kubernetes nodes and join the Kubernetes cluster Run the following commands on all the VMs that your Kubernetes cluster will run on. The final docker command will have the VM join the new Kubernetes cluster. Replace the –server and –token with your Rancher server and cluster token. Download the kub config file for the cluster After you download the kub config file you can use… Leggi tuttoDeploying Kubernetes on bare metal with Rancher 2.0