// Why this matters
Helm deployments of AWX, RudderStack and RabbitMQ look trivial in the quick-start and are anything but in production. The quick-start gives you pods; production needs durable storage, real secrets, TLS, resource limits and a plan for the next upgrade. The gap between the two is where most incidents come from.
These tools also have something in common: they are the plumbing that other systems depend on. Automation runs through AWX, events flow through RudderStack, work queues sit in RabbitMQ. When they fail, other teams notice. Getting the deployment pattern right once and reusing it is far cheaper than doing each one differently.
// The problem
Charts are written for the widest audience, so defaults are conservative and incomplete. Persistence may be off, resource requests absent, a bundled database enabled that you would never run in production and credentials set to values documented in the README. Copying the whole default values file into your repository hides the handful of lines you actually changed and makes upgrades painful.
Secrets are the second problem. Many charts want passwords in values, which means they end up in git, in CI logs and in the Helm release history. Rotating them then requires an upgrade and a redeploy.
Operators add another twist. AWX is not a chart in the usual sense: the operator watches an AWX custom resource and builds the deployment itself, so tuning means editing the custom resource rather than Helm values. Mixing the two mental models is a frequent source of confusion.
// The solution
The pattern is the same for every tool. Create a namespace and the secrets first, with a script or an external secrets controller, and pass only their names into values. Write a small override file containing only what differs from defaults, with a comment for each line saying why. Keep one file per environment layered over a common base, and pin chart and image versions.
For RabbitMQ the key production settings are a persistent volume, at least three replicas for quorum queues, a PodDisruptionBudget, memory limits that match the high-watermark and clustering through the Kubernetes peer discovery plugin. For RudderStack the backend, transformer and database each need their own sizing; the workspace token comes from a secret and the data plane service needs TLS in front. Where the chart bundles Postgres, move to a managed database or at least a separate StatefulSet with backups.
AWX is installed by the operator chart and then configured with an AWX resource. That resource sets the ingress, the admin password secret, the project data volume and the number of web and task replicas. Because the task pods spawn job pods, Kubernetes RBAC and resource quotas matter as much as the web UI.
The Rasa stack on GKE separates the Rasa server, the action server and the model storage. Models are trained in CI, stored in a bucket and loaded by the server at start, so the chat pods are stateless. I considered baking models into the image, which is simpler, but retraining then forces a rebuild and a rollout for every small change.
- Choosepick chart or operator and read its values reference
- Preparenamespace, storage class, pre-created secrets
- Valueswrite a minimal override file, not a copy of defaults
- helm diff gate gatereview rendered changes before any upgrade
- Installhelm upgrade --install with --atomic
- Exposeingress or LoadBalancer with TLS
- Probesmoke test the real workflow, not just pod status
- Operatebackups, upgrades, rollback
- Pinchart and image versions in git
- Secretscreated out of band, referenced by name
- Renderhelm template to review output
- Diff gate gatehelm diff against the live release
- Applyhelm upgrade --install --atomic
- Smoke testrun a real workflow
- Rollbackhelm rollback on failure
// Before you start
- A Kubernetes cluster (GKE shown) with a default StorageClass and an ingress controller
- kubectl 1.29 or newer, Helm 3.14 or newer and the helm-diff plugin
- A managed PostgreSQL instance for tools that support an external database
- DNS and TLS certificates, for example through cert-manager
- Understanding of PersistentVolumeClaims and Kubernetes secrets
// Step-by-step implementation
01 Prepare the namespace and secrets
Create everything the charts will reference before installing them. Secrets are generated here and never appear in a values file. In larger setups an external secrets controller replaces this script, but the contract, a secret with a known name and keys, stays the same.
Label the namespace so network policies and quotas can target it later.
02 RabbitMQ with persistence, quorum and a disruption budget
Start from the Bitnami chart and override only what matters. Three replicas with persistent volumes give quorum queues a majority; a PodDisruptionBudget stops a node drain from taking two at once. The memory limit should be above the high-watermark or the broker blocks publishers.
Credentials come from the existing secret created in the previous step.
03 RudderStack with an external database and TLS
The data plane has a backend and a transformer. The workspace token is mandatory and comes from the secret; the chart default stores event data in a bundled Postgres, which is fine to prove the pipeline and not fine for a system of record. Point it at a managed instance and keep the chart's Postgres off.
On a cloud provider the service type LoadBalancer is the simplest ingress path, with TLS terminated at the load balancer through an annotation or at an ingress controller.
04 AWX through the operator
Install the operator chart once per cluster, then declare an AWX custom resource. Everything operational lives in that resource: ingress, admin secret, replicas and the project volume. Do not try to patch the generated Deployments, the operator will revert them.
Set resource requests for task and web separately, because job execution is spiky and easily starves the UI.
05 A Rasa stack on GKE with models outside the image
Two deployments, the Rasa server and the action server, plus an event broker and a tracker store. The Rasa pods download the model from a bucket at start and share nothing on disk, so they scale and roll freely. GKE workload identity lets the pods read the bucket without key files.
The model path is a value, so promoting a new model is a values change and a rollout, not an image build.
06 Layer environments over a shared base
Keep a base values file with everything environment-independent and one small file per environment for sizes, hostnames and replica counts. Helm merges them in order, so the diff between staging and production is a readable twenty lines.
A wrapper script makes the order impossible to get wrong and always runs the diff first.
07 Smoke test the workflow, not just the pods
Pods can be Ready while the system is useless: a queue that rejects publishes, an event pipeline with a bad token, an AWX instance that cannot run a job. Finish every release with one real operation per tool and fail the pipeline if it does not work.
Keep these checks in the repository; they double as documentation of what working means.
// How to verify it works
- Run
helm list -n data-toolsand confirm every release is deployed with the pinned chart version. - Run
kubectl -n data-tools get pvcand confirm all claims are Bound on the intended storage class. - Run
kubectl -n data-tools exec rabbitmq-0 -- rabbitmq-diagnostics check_runningand confirm success on all three nodes. - Log in to AWX through the ingress hostname and launch a trivial job template; confirm it succeeds.
- Send a test event to RudderStack and confirm it reaches its destination; ask the Rasa API for a reply to a sample message.
// Design decisions and trade-offs
- Wrap upstream charts in a thin umbrella chart so overrides live in one reviewed values file
- Keep secrets out of values; reference pre-created Kubernetes secrets by name
- Pin chart and image versions and upgrade with helm diff in the loop
- Use external managed PostgreSQL when the tool allows it, bundled Postgres only for small installs
- Set resource requests, PodDisruptionBudgets and storage classes explicitly rather than trusting chart defaults
// Pitfalls and lessons learned
- Copying the whole default values file into git buries real changes and makes chart upgrades a merge nightmare.
- Putting passwords in values leaks them into release history; use existing secret references.
- RabbitMQ memory limit below the high-watermark causes publisher blocking that looks like an application bug.
- Patching operator-generated Deployments is futile; edit the custom resource instead.
- An unpinned
latestimage tag makes helm rollback restore a manifest that no longer matches reality. - Bundled Postgres in the chart is easy to leave on; it has no backups and dies with the PVC.
- Skipping
--atomicleaves half-installed releases that need manual cleanup before the next attempt.
// Frequently asked questions
How do I deploy AWX on Kubernetes?
Install the AWX Operator with Helm, then create an AWX custom resource that sets hostname, ingress, admin secret and storage. The operator builds the deployment for you.
How do I keep secrets out of Helm values?
Create Kubernetes secrets separately and reference them with the existingSecret options most charts provide, or use an external secrets controller.
Is the bundled PostgreSQL in these charts fit for production?
Rarely. Use a managed database or a properly backed-up StatefulSet; the bundled one is for evaluation.
How do I run a Rasa chatbot on GKE?
Deploy the Rasa and action servers with the Rasa chart, keep models in a bucket loaded at start, and use workload identity for read access.
Why use helm diff?
It shows exactly what an upgrade will change before it happens, which catches accidental value changes and chart default shifts. See the same discipline in Who Deploys the Deployer? Terraform-Bootstrapped FluxCD.
// The outcome
Each tool installs from a single command and a values file that can be reviewed, diffed and reverted. Upgrades became routine rather than an event, and the clients could rebuild the stack in another cluster without our help.
// Where to take it next
- Move releases to GitOps so the diff happens in a pull request, as in Who Deploys the Deployer? Terraform-Bootstrapped FluxCD.
- Add backups for each database and test a restore.
- Instrument the stack with the monitoring from Amazon EKS with Prometheus and Grafana: Cluster, Helm Monitoring Stack and App Packaging.
- Replace the generate-secrets script with an external secrets controller backed by Vault, see Vault as the Control Plane: A Five-Tier Key Model with Locking.