How to set up rolling deployments with CircleCI
Blog post from CircleCI
A rolling deployment is a method used to update live application instances in batches, ensuring that the application continues to serve traffic without interruption. This approach is especially effective with Kubernetes, which has rolling deployments as its default strategy, ensuring old pods are only terminated when their replacements are ready. The tutorial explores implementing a rolling deployment using Kubernetes and automating it within a CircleCI pipeline, focusing on maintaining zero downtime by configuring Kubernetes manifests with maxSurge and maxUnavailable settings. It details setting up a pipeline where CircleCI builds Docker images, applies Kubernetes manifests, and monitors the deployment process, including rollback and post-deployment monitoring. The tutorial also discusses troubleshooting common deployment issues such as readiness probe failures and outlines the process for setting up a rollback pipeline to revert to previous application versions if needed.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Kubernetes | 29 | 2,306 | 381 | 103 | +25% |
| Secrets Management | 1 | 1,821 | 338 | 111 | +22% |
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.