Empty your cup so that it can be filled again. —— Bruce Lee

This paper introduces

  • P2 Build a production-level Linux system
  • P3 Learn Docker in half an hour
  • P4 Write Dockerfile and upload DockerHub
  • P5 Docker SpringCloud – compose deployment
  • P6 Build Harbor private server for enterprise mirror
  • P7 K8S & Rancher is coming! Theory & Preparation
  • P8 Rancher2.3 built K8S 1.16 cluster
  • P9 Deploy Spring Cloud to Kubernetes
  • P10 Deploy Vue to Kubernetes config ingress
  • P11 Ha01-rke install Kubernetes cluster
  • P12 HA02-Helm deploys the Rancher cluster

Resources division

Rancher Server

Install rancher Server
 
docker run -d --restart=unless-stopped \
-p 8080:80 -p 8443:443 \
-e CATTLE_SYSTEM_CATALOG=bundled \
-eAUDIT_LEVEL = 3 \ rancher/rancher: v2.3.3Copy the code

Docker acceleration

 # install
 curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://2be16b36.m.daocloud.io
Copy the code

Build a K8S cluster

Deploy ngin

Ingress mapping

Load balancing

PVC mount

To be perfect…

Form a complete set of data

Please pay attention to wechat (Java-note), message: K8S for supporting information