Home / Companies / Pulumi / Blog / Post Details
Content Deep Dive

How we implemented ConfigMap revisions in Kubernetes using Pulumi and Argo Rollouts

Blog post from Pulumi

Post Details
Company
Date Published
Author
Matan Baruch
Word Count
1,439
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

Deploying applications in Kubernetes using canary strategies with Argo Rollouts presents challenges due to the lack of native ConfigMap revision support, which can cause older pods to fail when ConfigMaps are deleted during updates. This issue is exacerbated on platforms like AWS Spot instances, where pods may be replaced unexpectedly. A solution was developed using Pulumi's ConfigMapPatch and Kubernetes owner references to implement a custom ConfigMap revision system. By leveraging Kubernetes' garbage collection and ReplicaSet owner references, this system ties ConfigMaps to ReplicaSets, enabling automatic cleanup and providing revision-like behavior. This approach ensures that older ConfigMaps remain accessible during canary deployments, enhancing resilience and minimizing the need for manual intervention. The solution is particularly beneficial for managing ConfigMap lifecycles in environments that require reliable configuration availability during deployment transitions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 30 930 177 84 -40%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.