Skip to main content

 ๐Š๐ฎ๐›๐ž๐ซ๐ง๐ž๐ญ๐ž๐ฌ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐ž๐ง๐ญ ๐’๐ญ๐ซ๐š๐ญ๐ž๐ ๐ข๐ž๐ฌ


๐Ÿš€ Deploying in Kubernetes isn’t just about putting new code into production — it’s about doing it safely, without downtime or issues.


That’s why deployment strategies are important — the right one helps you avoid problems and keep everything running smoothly.


If you’re a DevOps Engineer, SRE, or just starting with Kubernetes, here’s a simple guide to 6 popular deployment methods — with tips and pros & cons ๐Ÿ‘‡


๐Ÿ”น ๐Ÿ. ๐‚๐š๐ง๐š๐ซ๐ฒ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐ž๐ง๐ญ๐ฌ

 ๐Ÿ›ฃ️ Route a small % of live traffic (like 20%) to the new version before a full rollout.

 ✅ Safer rollout with real user testing

 ❌ Requires monitoring + traffic splitting tools

 ๐ŸŸข Downtime: No

 ๐Ÿ“Œ Use it when you want to test updates in production without fully committing.


๐Ÿ”น ๐Ÿ. ๐๐ฅ๐ฎ๐ž-๐†๐ซ๐ž๐ž๐ง ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐ž๐ง๐ญ๐ฌ

 ๐ŸŸฆ Old version (Blue) + ๐ŸŸฉ New version (Green) in parallel

 ๐Ÿ“ Shift all traffic to Green once validated

 ✅ Instant rollback by switching back

 ❌ Double infra cost & complexity

 ๐ŸŸข Downtime: No

 ๐Ÿ“Œ Use it when uptime is critical and rollback speed matters.


๐Ÿ”น ๐Ÿ‘. ๐€/๐ ๐“๐ž๐ฌ๐ญ๐ข๐ง๐ 

 ๐Ÿ‘ฅ Route users to different versions based on segments (e.g., region, device)

 ✅ Great for feature validation & experimentation

 ❌ Needs complicated setup to send users to the right version, and users might see different experiences.

 ๐ŸŸก Downtime: Not applicable

 ๐Ÿ“Œ Use it to test features with specific user groups before full rollout.


๐Ÿ”น ๐Ÿ’. ๐‘๐จ๐ฅ๐ฅ๐ข๐ง๐  ๐”๐ฉ๐๐š๐ญ๐ž

 ♻️ Replace old pods gradually with new ones

 ✅ Built-in Kubernetes strategy, no downtime

 ❌ Late detection = widespread issues

 ๐ŸŸข Downtime: No

 ๐Ÿ“Œ Use it when you want to upgrade progressively but simply.


๐Ÿ”น ๐Ÿ“. ๐‘๐ž๐œ๐ซ๐ž๐š๐ญ๐ž ๐’๐ญ๐ซ๐š๐ญ๐ž๐ ๐ฒ

 ❌ Stop the old version completely before starting the new one

 ✅ Clean and simple for basic apps

 ❌ Downtime & user disruption

 ๐Ÿ”ด Downtime: Yes

 ๐Ÿ“Œ Use only if your app doesn’t support running multiple versions at once.


๐Ÿ”น ๐Ÿ”. ๐’๐ก๐š๐๐จ๐ฐ ๐ƒ๐ž๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐ž๐ง๐ญ

 ๐Ÿ‘ป Mirror real traffic to a new version without exposing it to users

 ✅ Performance testing under real load

 ❌ Doesn’t test user interaction, uses more resources

 ๐ŸŸข Downtime: No

 ๐Ÿ“Œ Use it to validate backend performance safely before rollout.


๐Ÿ” ๐๐ฎ๐ญ ๐ก๐ž๐ซ๐ž’๐ฌ ๐ญ๐ก๐ž ๐›๐ข๐  ๐ฉ๐ข๐œ๐ญ๐ฎ๐ซ๐ž:

 Choosing a strategy isn’t just technical — it’s about ๐ฒ๐จ๐ฎ๐ซ ๐š๐ฉ๐ฉ’๐ฌ ๐ญ๐จ๐ฅ๐ž๐ซ๐š๐ง๐œ๐ž ๐Ÿ๐จ๐ซ ๐ซ๐ข๐ฌ๐ค, ๐œ๐จ๐ฌ๐ญ, ๐œ๐จ๐ฆ๐ฉ๐ฅ๐ž๐ฑ๐ข๐ญ๐ฒ, ๐š๐ง๐ ๐ฎ๐ฌ๐ž๐ซ ๐ž๐ฑ๐ฉ๐ž๐œ๐ญ๐š๐ญ๐ข๐จ๐ง๐ฌ.


✅ Want quick feedback? Try ๐‚๐š๐ง๐š๐ซ๐ฒ.

✅ Need ultra-safe rollback? Go with ๐๐ฅ๐ฎ๐ž-๐†๐ซ๐ž๐ž๐ง.

✅ Running experiments? Use ๐€/๐ ๐ญ๐ž๐ฌ๐ญ๐ข๐ง๐ .

✅ Just want to keep it simple? Stick with ๐‘๐จ๐ฅ๐ฅ๐ข๐ง๐  ๐”๐ฉ๐๐š๐ญ๐ž๐ฌ.

✅ Testing under load? Use ๐’๐ก๐š๐๐จ๐ฐ ๐๐ž๐ฉ๐ฅ๐จ๐ฒ๐ฆ๐ž๐ง๐ญ๐ฌ.

✅ Okay with downtime? Only then consider ๐‘๐ž๐œ๐ซ๐ž๐š๐ญ๐ž.


๐Ÿ’ฌ What deployment strategy do you use most often — and why?

 Drop your experience or tips in the comments ๐Ÿ‘‡



Comments

Popular posts from this blog

Quick Guide to VCF Automation for VCD Administrators

  Quick Guide to VCF Automation for VCD Administrators VMware Cloud Foundation 9 (VCF 9) has been  released  and with it comes brand new Cloud Management Platform –  VCF Automation (VCFA)  which supercedes both Aria Automation and VMware Cloud Director (VCD). This blog post is intended for those people that know VCD quite well and want to understand how is VCFA similar or different to help them quickly orient in the new direction. It should be emphasized that VCFA is a new solution and not just rebranding of an old one. However it reuses a lot of components from its predecessors. The provider part of VCFA called Tenenat Manager is based on VCD code and the UI and APIs will be familiar to VCD admins, while the tenant part inherist a lot from Aria Automation and especially for VCD end-users will look brand new. Deployment and Architecture VCFA is generaly deployed from VCF Operations Fleet Management (former Aria Suite LCM embeded in VCF Ops. Fleet Management...
  Issue with Aria Automation Custom form Multi Value Picker and Data Grid https://knowledge.broadcom.com/external/article?articleNumber=345960 Products VMware Aria Suite Issue/Introduction Symptoms: Getting  error " Expected Type String but was Object ", w hen trying to use Complex Types in MultiValue Picker on the Aria for Automation Custom Form. Environment VMware vRealize Automation 8.x Cause This issue has been identified where the problem appears when a single column Multi Value Picker or Data Grid is used. Resolution This is a known issue. There is a workaround.  Workaround: As a workaround, try adding one empty column in the Multivalue picker without filling the options. So we can add one more column without filling the value which will be hidden(there is a button in the designer page that will hide the column). This way the end user will receive the same view.  
  "Cloud zone insights not available yet, please check after some time" message on Aria Automation https://knowledge.broadcom.com/external/article?articleNumber=314894 Products VMware Aria Suite Issue/Introduction Symptoms: The certificate for Aria operations has been replaced since it was initially added to Aria Automation as an integration. When accessing the Insights pane under  Cloud Assembly  ->  Infrastructure  ->  Cloud Zone  ->  Insights  the following message is displayed:   "Cloud zone insights not available yet, please check after some time." The  /var/log/services-logs/prelude/hcmp-service-app/file-logs/hcmp-service-app.log  file contains ssl errors similar to:   2022-08-25T20:06:43.989Z ERROR hcmp-service [host='hcmp-service-app-xxxxxxx-xxxx' thread='Thread-56' user='' org='<org_id>' trace='<trace_id>' parent='<parent_id>' span='<span_id>'] c.v.a.h.a.common.AlertEnu...