Our Kubernetes experts operate more than 250 workloads in production, on AKS and EKS, for business clients. Kubernetes delivers a lot when well operated and charges dearly when it is not. What follows summarizes the decisions we repeat and the mistakes we avoid.
Cluster architecture
Node pools per profile. One pool for general-purpose services, another for high-memory workloads, another for batch tasks. Each pool has its own machine size and scaling limits. Batch workloads can use lower-cost machines.
Traffic entry and certificates. We use Gateway API with an actively maintained controller, because ingress-nginx was retired in 2026. Certificates are issued and renewed automatically, and routing rules are versioned with each service.
Secrets. A cloud vault synchronized with the cluster, with no secrets in repositories and no YAML files holding passwords.
Network. Policies that allow only the necessary traffic between namespaces. Access to the database and brokers over private networking.
Several regions. When a platform serves more than one region, data and latency are handled per region. The decision to replicate comes from the business and from data regulation, and the assessment records it.
Helm and delivery
Each service has a chart with per-environment values. The pipeline deploys with helm upgrade, uses readiness and liveness probes and rolls back when verification fails. We standardize the chart so that the 30th service enters the cluster with a few lines of configuration. See how this connects to Azure DevOps and CI/CD.
Scaling with HPA
The HorizontalPodAutoscaler scales the number of pods. Three practical rules:
- Set correct requests. HPA on CPU measures usage relative to the request. A wrong request produces wrong scaling.
- Scale workers on the queue. For RabbitMQ consumers, queue depth or age is a better signal than CPU. We use KEDA or custom metrics.
- Combine with node autoscaling. New pods need room. The node autoscaler adds and removes machines according to demand.
We use PodDisruptionBudget to keep availability during upgrades and topologySpreadConstraints to spread replicas across zones.
Observability
Metrics. Prometheus collects cluster and service metrics, and Grafana shows dashboards per service: request rate, errors, latency and saturation.
Logs. Structured, centralized logs with a correlation ID across services.
Traces. OpenTelemetry on critical services, to follow a request across several components.
Alerts. Every alert has an owner and a runbook. We prefer a few alerts that demand action to many that nobody reads.
Cost
A cluster without cost governance grows silently. Our method:
- Measure usage per namespace and per service.
- Adjust requests and limits based on real data, not guesses.
- Use node autoscaling and shut down test environments outside working hours.
- Review storage, old images and traffic between zones and regions.
- Deliver a monthly report that explains the bill.
On the clusters we operate, this work included cost studies across services.
Security
Minimal images scanned for vulnerabilities, containers that do not run as root, permissions per service account, admission policies and regular Kubernetes version upgrades. Upgrading the cluster is routine, with a plan and a window, and not an event.
Working with a Brazilian team
Our engineers are based in Brazil, in time zones that overlap with the US working day, and we communicate in English.
How we deliver in weeks
- Our own boilerplates. Infrastructure-as-code modules, charts, Grafana dashboards and alerts, ready and tested in production.
- AI agents with senior review. Agents write manifests and review changes. Senior engineers approve every change.
- The same team from assessment to deploy. The person who gathers requirements builds the cluster and follows the operation.
- Fixed scope after the assessment. The free assessment produces the design and a timeline in weeks.
Common mistakes we find
Default requests and limits. Without real values, the scheduler stacks pods on a few nodes and the rest sit idle. We measure usage and adjust.
One namespace for everything. It isolates poorly and complicates cost and permissions. We separate by team or domain.
Missing or identical probes. Without readiness, traffic reaches pods that are not ready yet. Without liveness, stuck pods do not restart. Each service has both, with distinct criteria.
Data on the pod disk. State needs a persistent volume or an external service. Production databases and brokers live in the cluster or in a managed service, depending on the case, with tested backup.
Postponed upgrades. Old Kubernetes versions lose support and accumulate risk. We upgrade in cycles, test environment first.
Migrating from VMs to the cluster
We start with a low-risk service, validate pipeline, network and monitoring, and migrate the rest in waves. Each wave has a rollback plan. The old and the new application coexist until traffic has fully moved.
Related
This work is part of our Kubernetes and DevOps consulting. See the case Regina Festas, which runs on Kubernetes with staging and production. Request the free assessment.