Project Name
GitOps Edge Deployment for a 500-Store Retail Chain: Rollout Time from Days to Under 1 Hour
![]()
A national retail chain operating 500+ brick-and-mortar stores was pushing application updates by SSH’ing into store devices one by one. A single nationwide rollout consumed an entire sprint. There was no audit trail, no rollback capability, and no way to detect when a store had drifted from the intended configuration. With plans to expand beyond 700 locations, the DevOps team knew the manual approach would not survive the growth. Ksolves replaced the fragile SSH-based pipeline with a GitOps-driven architecture powered by Rancher Fleet and K3s, transforming a multi-day manual process into a fully auditable, parallel deployment across every store in under one hour.
- Manual Per-Store Deployments Consuming Entire Sprints: Engineers SSH'd into individual store devices sequentially, pushing application updates by hand. A single nationwide rollout across 500+ stores consumed 5 to 10 business days, and the operational burden grew linearly with every new store opening.
- Zero Audit Trail: No system recorded who deployed what version to which store or when. When incidents occurred, teams had no way to determine the precise state of any given store, making root-cause analysis guesswork and compliance reporting impossible.
- Configuration Drift Across Locations: Ad-hoc manual changes accumulated over months, causing store environments to diverge. Identical applications behaved differently from one store to the next, creating unpredictable failures that consumed engineering hours on diagnosis rather than resolution.
- Error-Prone Manual Processes: Typing mistakes, skipped steps, and incomplete rollouts were common. Human error became the single largest source of production incidents, directly impacting store operations and customer experience.
- No Rollback Capability: When a bad update reached stores, reverting meant manually re-deploying the previous version to each affected location, another multi-day exercise with no guarantee of completeness.
- No Path to Scale: As the chain expanded from 300 to 500+ locations, the DevOps team had no automated pipeline to absorb the growth. Every new store opening added to an already unsustainable operational debt.
Ksolves designed and implemented a fully automated GitOps pipeline, placing Git at the centre of the deployment workflow and eliminating manual touchpoints from code commit to store rollout. Rancher Fleet serves as the central multi-cluster orchestration controller. K3s, a lightweight CNCF-certified Kubernetes distribution, runs as the runtime on every store's edge device. The governing principle was declarative infrastructure: the desired state lives in Git, the controller reconciles reality to match it, and every change is auditable by design.
- Rancher Fleet GitOps Controller: Manual SSH workflows were replaced with a declarative Git-driven deployment model. Every application manifest, Helm chart, and cluster configuration lives in a single Git repository. Fleet watches the repository, detects changes, and orchestrates deployments across all 500+ K3s clusters without human intervention.
- K3s Lightweight Edge Clusters: K3s was deployed on each store's edge device, providing the full Kubernetes API surface with containerd as the container runtime while running comfortably on the low-power hardware typical of retail edge environments.
- Helm Charts for Application Packaging: Every application was standardised as a versioned Helm chart, enabling consistent deployments across all stores. Fleet bundles Helm charts with per-cluster overlay values managed through Kustomize, so each store gets the correct configuration without duplicating chart definitions.
- Automated Drift Detection and Reconciliation: Fleet continuously compares the live state of every K3s cluster against the desired state defined in Git. Any unauthorised change or configuration drift is automatically detected and corrected within the next reconciliation cycle, ensuring every store always matches the declared state.
- Git-Native Rollbacks: Rolling back a problematic release became a single Git operation. Revert the commit and push. Fleet detects the change and orchestrates the rollback across every affected store automatically, restoring the entire fleet to a known-good state in under an hour.
- Centralised Observability: Rancher's multi-cluster dashboard provides a single view showing the health, version, and drift status of all 500+ edge clusters, giving platform engineers real-time visibility into which stores are running which versions and whether any cluster has deviated from the desired state.
Technology Stack
| Category | Technology |
|---|---|
| GitOps Orchestration | Rancher Fleet |
| Edge Runtime | K3s |
| Application Packaging | Helm, Kustomize |
| Source of Truth | Git |
| Container Orchestration | Kubernetes |
- Days to Under 1 Hour: Fleet's parallel reconciliation pushes updates to all 500+ K3s clusters simultaneously, completing a full nationwide rollout in under 60 minutes, down from an entire sprint of manual SSH-based work.
- 100% Deployment Auditability: Every deployment event, including who committed the change, what was changed, which stores received it, and when, is captured immutably in Git history and Fleet's cluster state records, delivering complete auditability where none existed before.
- Configuration Drift Eliminated Across 500+ Stores: Fleet's continuous reconciliation loop detects and auto-corrects any deviation from the declared Git state within minutes, ensuring every store runs identical configurations regardless of any local change.
- Deployment Errors Reduced by Over 90%: Standardised Helm charts and automated GitOps workflows removed the human-error surface from the deployment process, eliminating the single largest source of production incidents across the store network.
- Full Rollback Capability Established: A single Git revert triggers Fleet to orchestrate a fleet-wide rollback to any previous known-good state, completing in under an hour with full confidence across all 500+ locations.
“We went from days of manual store updates to under an hour for the entire fleet. The GitOps pipeline gives us complete confidence. Every store is always in the state Git says it should be, and we can prove it.”
– Head of Platform Engineering, National Retail Chain
Ksolves delivers GitOps and DevOps consulting services for retail and enterprise organisations managing edge deployments across large, distributed infrastructure.
Before this engagement, the chain’s DevOps team was spending entire sprints on manual store deployments with no audit trail, no rollback capability, and growing configuration drift across 500+ locations. After deploying Rancher Fleet and K3s, nationwide rollouts are complete in under one hour, every deployment is fully auditable, and the platform is ready to scale to 700+ stores without any increase in operational overhead.
The GitOps edge deployment pattern built here is directly replicable across any retail chain, logistics network, or distributed enterprise managing application updates across large fleets of edge devices.
Managing deployments across hundreds of locations manually?
If Your Store Fleet is Growing Faster Than Your Deployment Pipeline Can Handle, We Can Help You!