Project overview
- Client
- Confidential client (under NDA)
- Industry
- Software and technology
- Role
- Principal DevOps Engineer (sole engineer on the platform workstream)
- Scope
- EKS design, GitOps delivery, autoscaling, backup and upgrade process
Business challenge
- Services were deployed with ad hoc kubectl commands, so the live cluster differed from what was in Git.
- Resource requests and limits were guesses, causing both wasted capacity and evictions.
- Cluster upgrades were avoided because nobody trusted the process, leaving the version behind.
Existing infrastructure
- A self-managed cluster built by hand, with node configuration that differed between nodes.
- Manifests duplicated across environments with small, undocumented differences.
- No tested backup of cluster resources or persistent volumes.
Architecture
Engineering approach
- Define the cluster, networking and node groups in Terraform, so the platform itself is reproducible.
- Adopt a separate configuration repository where each environment is an overlay of shared Helm charts.
- Let ArgoCD reconcile the cluster from Git, with automated sync for staging and reviewed promotion for production.
- Set resource requests and limits from observed usage, and add horizontal and node autoscaling.
- Schedule Velero backups, test restores, and document a repeatable upgrade procedure.
Technologies used
- Amazon EKS
- Kubernetes
- Terraform
- ArgoCD
- Helm
- Kustomize
- Velero
- Prometheus
- Grafana
Security considerations
- RBAC is limited per team, and cluster access is through SSO instead of shared credentials.
- Pod security standards and network policies restrict workload behavior.
- IAM roles for service accounts replace node-wide cloud permissions.
- Container images are scanned in CI, and secrets come from a managed secret store.
Implementation
- Platform Terraform-defined EKS cluster, node groups, ingress and core add-ons.
- GitOps ArgoCD installed, configuration repository structured, first services migrated.
- Right-size Resource policies and autoscaling tuned from Prometheus data.
- Protect Velero schedules, restore test and documented recovery steps.
- Operate Upgrade runbook rehearsed in staging, then production, with team handover.
Results and improvements
Technical improvements
- Git is the source of truth, and drift is visible and corrected by the controller.
- Rollback is a Git revert instead of an improvised command sequence.
- Resource settings are based on measurement, reducing both waste and evictions.
- Cluster upgrades and restores are rehearsed processes.
Lessons learned
- Keep the first GitOps structure simple. Complex app-of-apps layouts can be added later.
- Resource tuning needs at least a few weeks of real usage data.
- A restore test finds problems that a backup report never shows.