k8s delivery and deployment case operation

The concept of a k8s

1.1 k8s

k8s is a lightweight platform for managing containerized applications and services. Automatic deployment, expansion and contraction of applications can be performed through k8s.

1.2 k8s core part

1.prod: the smallest deployment unit ; a collection of containers; shared network; life cycle is short;

2. controller: ensure the expected number of pod copies ; stateless application deployment; stateful application deployment; ensure that all nodes run the same pod, one task and scheduled task.

3.service: define a set of pid access rules.

1.3 Components of the k8s cluster

Two delivery cases

2.1 Overview of the delivery process

1. Overall process

 2. Detailed process

2.2 Step 1: Make a jar package

2.3 Step 2: Make a mirror image

2.4 Step 3: Push the image to the image container

 2.5 Step 4: Deploy the image, expose the port application

2.6 Step 5: Operation and maintenance monitoring

Guess you like

Origin blog.csdn.net/u011066470/article/details/132541843