Загрузка...

K8s rolling vs blue-green — which is safer?

Rolling update or blue-green — which Kubernetes deploy strategy is actually safer?

Rolling update kills pods one at a time. A new v2 pod boots, takes traffic, then the next v1 dies. For 2-3 minutes both versions serve users at once. If v2 adds a new database column, v1 still runs the old query against it. A bad deploy means another rolling update to roll back — another mixed window.

Blue-green spins up a parallel v2 stack alongside v1. You test it, then flip the load balancer in one second. Bad deploy? Flip it back. Instant rollback. The catch: you pay for double the compute during the cutover.

The rule → rolling for stateless services that tolerate brief mixing. Blue-green for risky changes, schema migrations, or cert rotations.

Music: Markvard - Time [NCS Release] (NoCopyrightSounds)
https://ncs.io

#kubernetes #devops #k8s #deployment #shorts #programming

Видео K8s rolling vs blue-green — which is safer? канала ProCode
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять