<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o" -->

---
title: What are Blue Green Deployments in Kubernetes? | daily.dev
description: Blue-green deployments in Kubernetes involve running two versions of an application side-by-side, with one serving production traffic while the other undergoes...
canonical: https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: What are Blue Green Deployments in Kubernetes? | daily.dev
og:description: Blue-green deployments in Kubernetes involve running two versions of an application side-by-side, with one serving production traffic while the other undergoes...
og:url: https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o
og:image: https://api.daily.dev/og/posts/tOdVzng7o.png
og:image:alt: What are Blue Green Deployments in Kubernetes?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# What are Blue Green Deployments in Kubernetes?

**[Spacelift](https://daily.dev/sources/spacelift)** · [@lonyless](https://daily.dev/lonyless) · 12 min read · 56 upvotes · 0 comments

## Summary

Blue-green deployments in Kubernetes involve running two versions of an application side-by-side, with one serving production traffic while the other undergoes testing. This deployment strategy enhances safety by allowing thorough testing before promoting new versions to production. Implementing blue-green deployments can be done manually using Kubernetes Services or through tools like Argo Rollouts and Flux CD. Although beneficial in terms of safety and rollback capabilities, the approach can be resource-intensive and costly. Alternatives such as canary or rolling updates may be more suitable depending on specific requirements.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spacelift.io/blog/blue-green-deployment-kubernetes>

---

Tags: [#devops](https://daily.dev/tags/devops), [#kubernetes](https://daily.dev/tags/kubernetes), [#cicd](https://daily.dev/tags/cicd)

[View this post on daily.dev](https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"What are Blue Green Deployments in Kubernetes?","url":"https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o"},"datePublished":"2024-07-04T04:27:57.460Z","dateModified":"2024-10-05T18:00:10.332Z","description":"Blue-green deployments in Kubernetes involve running two versions of an application side-by-side, with one serving production traffic while the other undergoes...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0a7067dbfa2dea4fa6c90d5f3c2cb9a3?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/0a7067dbfa2dea4fa6c90d5f3c2cb9a3?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Spacelift","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Victor Batista","url":"https://daily.dev/lonyless","image":"https://avatars.githubusercontent.com/u/48859696?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2340}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/what-are-blue-green-deployments-in-kubernetes--todvzng7o","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":56},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,kubernetes,cicd","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spacelift","item":"https://daily.dev/sources/spacelift"},{"@type":"ListItem","position":3,"name":"What are Blue Green Deployments in Kubernetes?"}]}
```

