The original deployment

  1. Local package
  2. Upload server
  3. Java -jar xxx.jar

Jenkins + server

  1. Jenkins compilation
  2. Jenkins executes the server script
  3. The server pulls the latest package
  4. Server launcher

Jenkins + server

  1. Jenkins compilation
  2. Jenkins executes the server script
  3. Server launcher

jenkins+docker

  1. Jenkins compilation
  2. Upload the Docker server
  3. The server pulls the image
  4. Server running

Local + k8s

  1. Native compilation
  2. Upload the Docker server
  3. Call the K8S interface locally
  4. K8s runs the service

jenkins+k8s

  1. Jenkins compilation
  2. Upload the Docker server
  3. Call the K8S interface locally
  4. K8s runs the service