본문 바로가기

리눅스

[kubernetes] 애플리케이션 배포 전략

728x90

애플리케이션 배포 전략

Recreate

출처URL-https://storage.googleapis.com/cdn.thenewstack.io/media/2017/11/c42fa239-recreate.gif

Rolling-Update(Ramped)

출처URL-https://storage.googleapis.com/cdn.thenewstack.io/media/2017/11/5bddc931-ramped.gif

Blue/Green

출처URL-https://storage.googleapis.com/cdn.thenewstack.io/media/2017/11/73a2824d-blue-green.gif

Canary

출처URL-https://storage.googleapis.com/cdn.thenewstack.io/media/2017/11/a6324354-canary.gif

A/B testing

출처URL-https://storage.googleapis.com/cdn.thenewstack.io/media/2017/11/5deeea9c-a-b.gif

Shadow

출처URL-https://storage.googleapis.com/cdn.thenewstack.io/media/2017/11/fdd947f8-shadow.gif

 

 

kubectl explain deploy.spec.strategy
$ kubectl explain deploy.spec.strategy
KIND:     Deployment
VERSION:  apps/v1

RESOURCE: strategy <Object>

DESCRIPTION:
     The deployment strategy to use to replace existing pods with new ones.

     DeploymentStrategy describes how to replace existing pods with new ones.

FIELDS:
   rollingUpdate	<Object>
     Rolling update config params. Present only if DeploymentStrategyType =
     RollingUpdate.

   type	<string>
     Type of deployment. Can be "Recreate" or "RollingUpdate". Default is
     RollingUpdate.

 

참고URL

- https://thenewstack.io/deployment-strategies/

- https://cloud.google.com/architecture/application-deployment-and-testing-strategies?hl=ko

- https://www.ciokorea.com/news/157642

 

728x90