Database

Rolling Update Vs Blue-Green Update

k9e4h 2022. 11. 2. 09:46

 

 

Rolling Update

- Rolling Update는 patch 버전에서 사용함

- 롤링 배포에서는 애플리케이션의 새 버전이 점차 이전 버전을 대체

- 새 버전과 이전 버전이 공존

Blue-Green ( AB Deployment )

- 두 개의 동일한 프로덕션 환경이 병렬로 작동합니다.

- 하나는 모든 사용자 트래픽(파란색으로 표시)을 수신하는 현재 실행 중인 프로덕션 환경입니다. 다른 하나는 복제품이지만 유휴 상태(녹색)
- 테스트 결과가 성공하면 애플리케이션 트래픽이 파란색에서 녹색으로 라우팅됩니다. 그러면 녹색이 새 제품이 됩니다.

- 블루-그린 배포는 트래픽 라우팅에 의존합니다. 이는 호스트에 대한 DNS CNAMES를 업데이트하여 수행할 수 있습니다. 그러나 긴 TTL 값은 이러한 변경을 지연시킬 수 있습니다.

 

참고) https://dev.to/mostlyjason/intro-to-deployment-strategies-blue-green-canary-and-more-3a3

 

Intro to deployment strategies: blue-green, canary, and more

With modern CI/CD and microservices, developers deploy more frequently, but they must avoid breaking production. We describe deployment strategies so you can deploy with confidence.

dev.to

 

참고)) kubenetes 배포 전략에 따른 명령어 흐름

https://zzsza.github.io/development/2019/01/20/kubernetes-engine-deployment/

 

반응형

'Database' 카테고리의 다른 글

Linux에 MySQL client 설치하기  (0) 2023.01.17
Oracle 여러 다중 행 Insert (Insert All)  (0) 2022.10.25
[Oracle] Describe Table  (0) 2022.06.14
[MySQL] Limit 성능  (0) 2021.07.01
MyBatis LocalDate  (0) 2021.03.24