Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

3

Kubernetes - , , . Kubernetes, , .

, . , .

   Kubernetes

, Kubernetes.

(Pod) . , .

Kubernetes

, . Kubernetes , . .

Kubernetes , , - . - . , .

.


1: Rolling Restart

1.15, Kubernetes . Kubernetes .

kubectl rollout restart deployment [deployment_name]

. - , .

kubectl rollout restart deployment

2:

- , . , :

kubectl set env deployment [deployment_name] DEPLOY_DATE="$(date)"

env , [deployment_name] , DEPLOY_DATE="$(date) .

DEPLOY_DATE

3.

, , . :

kubectl scale deployment [deployment_name] --replicas=0

, , :

kubectl scale deployment [deployment_name] --replicas=1

, Kubernetes , .

, Kubernetes . , . kubectl get pods, .

--replicas

Kubernetes - , , , .

, , , .