How Shuffle scaling on Kubernetes works today and when teams need it
A SOC that sees queued executions or slow app containers on a Shuffle cluster on Kubernetes usually has a runtime problem before it has a server problem. Shuffle splits its platform in two. The server side is the frontend, the Go backend API on port 5001 and the OpenSearch document database that stores workflows, executions and saved app credentials. The runtime side is Orborus, which polls the backend for jobs, starts a worker for each workflow execution, and that worker starts the app containers the workflow calls. Most scaling decisions therefore land on the runtime side: how many Orborus nodes exist, how many executions each one runs at once, and how much CPU and memory the app containers receive. Before changing replica counts, confirm which side is slow by checking whether jobs wait in the backend queue or whether workers start but stall while their app containers run.
Autoscaling should be treated as a limit to confirm, not a default. The Shuffle documentation for the Kubernetes architecture describes Helm-based deployment, but the scaling behavior your version supports, including whether the Orborus and worker pods can be safely scaled by a Horizontal Pod Autoscaler and what metric it should watch, is a question to put to Shuffle's documentation and your own test cluster. Plan on static replica counts for the backend, frontend and Orborus, set from observed load, and treat any autoscaler as a change that needs a load test first. The same caution applies to the OpenSearch cluster, which the Shuffle configuration docs recommend running as a cluster for high availability and which should be sized separately from the runtime.
The decision a team needs to make is whether the bottleneck is concurrency, resource limits or the cache. If executions queue while worker CPU is idle, increase Orborus capacity or spread load across more runtime nodes. If app containers are slow or evicted, the constraint is the resource presets applied to each app deployment, which should be reviewed before adding nodes. Record queue depth, pod restarts and node pressure over a normal business week and a peak period. Those figures, not a general sizing rule, should drive the replica and preset changes described in the rest of this page.
How Orborus, workers, app containers and the backend fit on Kubernetes
The diagram starts with a user or trigger reaching the frontend and the backend API on port 5001, which stores workflow state in OpenSearch. Orborus polls the backend for jobs, starts a worker for each workflow execution, and the worker starts app containers for each action. Memcached sits inside the cluster as an optional shared cache. Check that backend and frontend replicas, Orborus replicas and app resource presets are sized separately, and that the cluster boundary matches where your credentials and data are allowed to live.
Components, hand-offs and the cluster boundary for Shuffle on Kubernetes.
Which scaling lever fits which symptom
Orborus polls the Shuffle backend for jobs, starts a worker for each workflow execution, and the worker starts the app containers. Adding Orborus nodes adds runtime capacity, and the configuration docs recommend more than one Orborus node so workflows keep running if one fails. Backend and frontend replicas are a separate lever that affects API and UI load.
- More Orborus nodes: add runtime capacity and a second runtime for failover. Fits when executions queue while cluster nodes have spare CPU and memory.
- Backend and frontend replicas: the docs recommend scaling these across all servers in a high availability layout. Fits when the UI or API responds slowly while runtimes are healthy.
- Trade-off: every extra replica needs shared state, shared files and network reachability to the same OpenSearch and backend services.
- Limit: extra replicas do not fix an app that is slow internally or a workflow with long sequential steps.
- Check: whether queued executions drain after the change, using the health and log views described in the architecture and configuration docs.
Before changing replica counts, confirm which values your chart version exposes for Orborus and backend replicas.
Shuffle apps run as versioned Docker containers, so on Kubernetes each app container is scheduled like any other pod. Resource requests tell the scheduler how much CPU and memory to reserve, and limits cap what the container can use. A preset packages those values so every run of a given app class gets the same allocation.
- Requests: reserve capacity on a node. Fits apps that are starved when many executions share a node.
- Limits: set the ceiling. A container that exceeds its memory limit is terminated by the kubelet, which shows up as restarts in the execution output.
- Per-app presets: match heavy apps, such as those parsing large API responses or log exports, without inflating every other app.
- Trade-off: generous presets waste cluster capacity, while small ones cause restarts and failed actions.
- Measure first: observe real container usage during representative executions before fixing numbers.
Ask your team to record the preset names and values in version control, since the right numbers depend on your apps and data volumes.
Shuffle documents Kubernetes deployment with Helm charts. Managing app deployments through Helm keeps the definitions in values files that you can review, version and apply the same way in each environment. The main gain is repeatability: a change is one reviewed diff, not a set of manual edits across clusters.
- Values files per environment: keep shared settings in one file and environment differences in another, so a test cluster and a production cluster differ only where intended.
- Release history and rollback: Helm records revisions, so a bad change can be reverted to a known release.
- Drift control: manual edits made with kubectl are overwritten on the next upgrade, which is useful for audit trails but surprising if nobody expected it.
- Version alignment: the chart, the Shuffle version and the app images must be compatible. Confirm this in the release notes before each upgrade.
- Image pinning: decide with your change process whether app and platform images are pinned to specific tags or follow a tag, and record that choice.
Before adopting this approach, confirm which chart version matches the Shuffle release you run and how the chart handles existing app deployments.
Memcached is an optional shared cache. The configuration docs list it as part of the high availability layout for a shared cache, and it matters most when several backend replicas serve the same data. Its placement decides whether the backends and the workers that depend on it can reach it reliably.
- Optional by default: a single-server or small installation may not need it. Add it when you run several backend replicas and want them to share cached data.
- Network reachability: backends and any components that query the cache must reach the Memcached service. Check Kubernetes network policies and service names before deployment.
- Placement across nodes: run Memcached as a cluster service so it is not tied to one node, but confirm the expected behavior with your chosen deployment model.
- Failure behavior: confirm in the configuration docs how the backend behaves when the cache is unavailable, so you know whether a Memcached restart causes slow responses or errors.
- Sizing: confirm memory and connection settings with the configuration docs for your version rather than copying values from another deployment.
Before deploying, verify the service name, network path and cache failure behavior in a test cluster.
Configuration options for Shuffle workloads on Kubernetes
This table groups the settings that control worker and app capacity, Memcached and encryption secrets on a Shuffle Kubernetes deployment, with when each fits and what changing it risks. The supplied sources do not give exact Helm key names, so confirm each key in the chart version you deploy before you edit values.
| Setting area | What it controls | When it fits | Risk of changing it |
|---|---|---|---|
| Orborus replicas | Number of Orborus runtime nodes that poll the backend for workflow jobs and start workers | Add a second node when a single runtime is a failure point or queues grow faster than one runtime clears them | Replicas on the same cluster share capacity, so extra replicas do not help if the node pool is full; confirm placement rules first |
| Backend and frontend replicas | How many backend API and frontend pods serve requests | Scale when the backend API is the bottleneck and OpenSearch can handle the added connections | Several backends need shared files (NFS in the docs), so a replica change without shared storage can cause inconsistent behavior |
| Resource requests and limits | CPU and memory the scheduler reserves for each pod and the ceiling it can use | Set requests so the scheduler places pods predictably; set limits to contain runaway workflows | Limits set too low can throttle or kill workers mid-execution; limits set too high hide noisy neighbors |
| App container presets | Default resources given to app containers that a worker starts for each action | Use presets when apps have known footprints, such as heavy enrichment or large API responses | Presets apply to every run of the app, so a high preset multiplies cluster load under concurrency |
| Orborus concurrency and timeouts | How many workflows a runtime runs at once and how long executions may run | Tune after reading CPU and queue symptoms, before adding nodes | High concurrency with tight limits can exhaust node memory; confirm the setting names in your chart |
| Memcached enablement and placement | Whether a shared cache is deployed and which network it is reachable from | Enable when several backends or workers need a shared cache, as the configuration docs recommend for HA | Workers in a different network zone may not reach the cache; memory limits that are too small evict entries |
| Encryption modifier secret | The SHUFFLE_ENCRYPTION_MODIFIER value used to encrypt saved app credentials in OpenSearch | Set once at install from a managed secret store and keep it identical across all backends | Losing or changing it breaks every saved app authentication, so store and back it up before any upgrade |
| Secret storage in the cluster | How the modifier and other credentials reach pods | Use encryption at rest and least-privilege RBAC, per Kubernetes secrets guidance | Kubernetes Secrets are unencrypted in etcd by default, so unprotected values in values files expose them |
How to set up static replicas and app presets in your cluster
This sequence takes a cluster from a confirmed Kubernetes version to a Shuffle deployment with pinned chart and image versions, fixed Orborus and worker replica counts, app resource presets and optional Memcached. It finishes with test executions that give you a documented baseline before you decide whether autoscaling is needed.
Confirm the Kubernetes version and support window
The platform team checks the Kubernetes releases page and records which minor version the cluster will run and when it reaches end of life. Pick a version that is still maintained for the planned life of the deployment. Confirm the control plane and every node agree with the Kubernetes version skew policy, which requires the API server to be upgraded one minor version at a time and allows kubelets to lag by up to three minor versions. Done when the version decision is written down and kubectl get nodes shows every node on a supported version.
Deploy the Shuffle chart with pinned versions
The platform engineer installs the Shuffle Helm chart described in the architecture documentation and pins both the chart version and the Shuffle image tag to a release the team has tested in a non-production cluster. Avoid floating tags such as latest in production. Store the SHUFFLE_ENCRYPTION_MODIFIER value in a Kubernetes Secret and back it up, because losing or changing it breaks all saved app authentications. Done when helm list shows the pinned chart version, all pods reach Running, and the backend answers on port 5001 from inside the cluster.
Set Orborus and worker replica counts
The platform engineer sets the Orborus replica count in the chart values, using at least two instances so workflows keep running if one fails, as the configuration documentation recommends for high availability. Confirm the exact value keys in the values file for your chart version rather than copying them from older examples. Set the worker and backend replica counts to match your expected concurrency and the number of servers available. Done when kubectl get deployments shows desired and ready counts matching, and the Orborus logs show each instance polling the backend without repeated errors.
Configure app resource presets
The platform engineer sets CPU and memory requests and limits for the app containers that Shuffle starts for each action, based on the heaviest apps in your workflows. Start with conservative presets and raise them only when test runs show throttling or memory pressure. Confirm with Shuffle whether the chart offers horizontal autoscaling for workers in your version, and treat static replicas as the baseline until you have measured behavior. Done when kubectl describe on a running app pod shows the expected requests and limits and no pods are rejected for insufficient resources.
Deploy Memcached if multiple backends need it
The platform engineer deploys Memcached only when you run several backend replicas that need a shared cache, as the configuration documentation describes it as optional. Place the Memcached service where backend and worker pods can reach it, and check any network policies that might block the connection. Size its memory with the workload in mind and confirm the connection settings with the Shuffle configuration documentation for your version. Done when backend and worker pods connect to the Memcached service and the backend logs show no cache connection errors.
Verify with test executions and cluster metrics
The security automation engineer runs a test workflow that fans out to several apps at the same time, then runs it again at the planned peak concurrency. Confirm every execution completes and that results match what the apps return. Review pod CPU and memory usage, and check Kubernetes events for OOMKilled or eviction messages that show a preset is too small. Record these results as the baseline for your scaling decisions. Done when test executions complete at peak concurrency, no pods restart from resource pressure, and the baseline is saved with the chart and image versions used.
Why autoscaling is a limit to confirm before you rely on it
Plan Shuffle capacity on Kubernetes as a fixed set of replicas and resource presets until you have confirmed otherwise with Shuffle. The Shuffle documentation describes static replica counts for the backend, frontend and Orborus, and presets that set resources for app containers. It does not document horizontal autoscaling of workers or app containers as a supported pattern. A Kubernetes HorizontalPodAutoscaler attached to a worker deployment may start pods, but that does not mean Shuffle will route new executions to them or size app containers the way you expect. Before you build a scaling policy around it, ask Shuffle directly whether your chart version supports it, and test the behavior in a non-production cluster with the exact chart and image tags you plan to run.
The trade-off is between over-provisioning and queue delay. Extra static replicas keep workflows starting quickly during bursts, but they consume node capacity and cost money every hour they sit idle. Too few replicas and a low concurrency setting cause executions to wait in the queue, which shows up as delayed playbooks rather than errors. Treat the replica count and the Orborus concurrency setting as one decision. Raising replicas without raising concurrency, or the reverse, can leave capacity unused or move the bottleneck elsewhere. Record the values you chose, the queue behavior you observed under peak load, and the node headroom left for app containers.
Write down the check you will repeat after each chart upgrade: confirm the documented replica and preset values still apply, confirm any autoscaling object is either unused or explicitly tested, and measure queue wait and CPU during a representative run. If the answer from Shuffle is unclear for your version, plan for manual scaling with a documented change procedure and a named owner who can adjust replicas during an incident.
Security controls for the cluster that runs Shuffle
The Shuffle backend, Orborus and the app containers it starts all depend on the Kubernetes cluster beneath them. The controls below cover the secrets Shuffle depends on, the secrets Kubernetes stores, who can read them, how app pods are constrained and what to assess the cluster against.
Protect the encryption modifier
Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256, using the value of SHUFFLE_ENCRYPTION_MODIFIER. If that value is lost or changed, every saved app authentication stops working. Store it in a secret manager with a documented backup, set it before the first workflow is saved, and rehearse restoring it into a test namespace before any upgrade or cluster rebuild.
Shuffle configuration docsEncrypt Kubernetes Secrets at rest
Kubernetes stores Secrets unencrypted in etcd by default. Any Secret that holds Shuffle database credentials, registry pull tokens or app settings is readable by anyone with direct etcd access or a copy of an etcd backup. Confirm that encryption at rest is enabled for the Secrets resource in your distribution, and check whether your etcd snapshots are encrypted too.
Kubernetes Secrets practicesRestrict secret list and watch access
Read access to Secrets is broader than it looks. Listing or watching Secrets in a namespace returns their values to the caller. Grant the Shuffle backend, Orborus and any operator service accounts only the specific Secrets they mount, and review which human roles can list Secrets. Audit role bindings after each Helm upgrade, since chart updates can add service accounts.
Secrets good practicesApply Pod Security Standards to app pods
Shuffle apps run as versioned containers started on demand, and a compromised or badly built app image can run with more privilege than it needs. Apply the Pod Security Standards at the namespace where app workloads run, starting with the baseline profile and moving toward restricted where the app images allow it. Test each app preset after the label change, because some vendor images expect to run as root.
Pod Security StandardsLimit Docker socket and runtime access
Orborus starts app containers through a container runtime, and a mounted Docker socket gives its holder control over the host. Confirm in the Shuffle deployment docs how your chosen Kubernetes setup launches app containers, then decide whether that path needs host access at all. Keep privileged settings off the Shuffle pods, separate app execution from the backend namespace and record every exception.
Assess the cluster against CIS benchmark
The CIS Kubernetes Benchmark lists configuration checks for control plane, worker nodes and policies. Run a benchmark scanner against the cluster that hosts Shuffle, record each failed check with a reason and an owner, and keep the results with your change records. Treat the benchmark as a reference for your own assessment, since passing it does not certify the Shuffle deployment or its apps.
CIS Kubernetes BenchmarkQuestions buyers ask before scaling Shuffle on Kubernetes
Can our internal team scale Shuffle on Kubernetes without a partner?
Yes, if your team already runs production Kubernetes and has someone who owns Helm releases, identity and secrets. The Shuffle work itself is configuration of static worker replicas, resource presets and app deployments, but it sits on top of your cluster. The questions that decide ownership are whether you have a tested etcd backup plan, how your team handles the Kubernetes version skew policy during upgrades, and whether anyone has time to run load tests before a playbook volume increase. If those are gaps, a partner can fill them, but the platform knowledge should stay with your team after handover.
What drives the effort and cost of scaling Shuffle on Kubernetes?
Effort follows the state of your cluster and the size of your app catalog more than the Shuffle settings themselves. The main drivers are:
- Cluster readiness: whether the cluster is highly available, runs a supported Kubernetes minor version and has a working etcd backup.
- Identity: how users and service accounts authenticate to the cluster and to Shuffle's single sign-on.
- Secrets: how the
SHUFFLE_ENCRYPTION_MODIFIERvalue and app credentials are stored and rotated. - Testing: how many workflows must be proven under load before and after the change.
- App catalog size: how many app images need presets, versioning and Helm-managed deployments.
Costs are mostly one-time design and rollout work, with recurring effort for upgrades and testing. Ask any quote to split these components.
How long does a Shuffle Kubernetes scaling rollout take?
Duration depends on scope, so no single figure applies. A narrow change, such as adjusting worker replicas on an existing cluster, is shorter than a rollout that adds cluster capacity, changes identity or moves app deployments to Helm. Scope drivers include the number of environments, the number of apps needing presets, whether change windows are limited, and how much load testing is required. Ask for a written plan with phases and acceptance checks, and confirm which milestones depend on your change approvals. Current Shuffle release information is available in the v2.3.0 release, published on September 28, 2026, which you should check against your pinned version before planning.
What do we need to provide for a Shuffle Kubernetes engagement?
Plan to provide four things before work starts:
- Cluster access: a non-production cluster for design and testing, plus scoped production access under your change process.
- Change windows: agreed times for worker replica changes, Helm releases and any control plane work.
- Test data: representative workflows, sample app inputs and non-sensitive execution data so load and regression tests reflect real use.
- Named owners: people who approve identity, secrets and network decisions.
Confirm whether your security team requires its own review of Helm charts and service accounts. These requirements should be written into the scope so they are not discovered during rollout.
Does Shuffle autoscale its workers and apps on Kubernetes today?
Not in a way you should plan around. The Shuffle documentation for Kubernetes uses Helm charts with statically set worker replicas and resource presets for app deployments, so capacity changes are made by an operator. Before relying on any autoscaling behavior, confirm the current chart options and Shuffle release notes in the version you pin. Also confirm how Orborus concurrency interacts with extra replicas, and whether Memcached and OpenSearch can absorb the added load. Your rollout should include a documented manual scaling procedure and load tests so capacity changes do not depend on an unverified feature.
Which Kubernetes version should we target for Shuffle?
Target a Kubernetes minor version that is still within upstream support on the date you go live. As of September 2026, the Kubernetes project maintained 1.37, 1.36 and 1.35, with 1.35 ending on February 28, 2027 and 1.37 ending on October 28, 2027. Upstream releases arrive about three times per year, and patch support for recent versions lasts roughly one year, so an upgrade plan is part of the scope rather than a later task. Apply the version skew policy when you upgrade the control plane and nodes, and confirm that your chosen distribution is a certified offering.
What does a rollback look like if scaling causes failures?
A rollback should restore the previous Helm release, worker replica count and resource presets, and confirm that Orborus is still polling and workflows finish. Keep the prior chart values in version control so the rollback is a known command, not a reconstruction. Also check that the SHUFFLE_ENCRYPTION_MODIFIER value has not changed, because the Shuffle configuration documentation warns that changing it breaks saved app authentications. Ask the implementation team to document the rollback steps and rehearse them in a non-production cluster before the production change window.
How DeployOpen scopes, delivers and supports Shuffle on Kubernetes
DeployOpen plans, builds, documents and supports Shuffle on Kubernetes inside infrastructure you control, starting from your current worker load, app inventory and cluster standards. Each engagement is fixed-scope, with the worker, app and Memcached decisions agreed in writing before any change reaches your cluster.
How we scope
- Review current Orborus concurrency, worker replica counts and queue symptoms before proposing any change to Helm values
- List every app your workflows call and record its resource needs, image source and version pin
- Confirm the Kubernetes version, cluster distribution and Memcached placement your platform team requires
- Agree deliverables, testing evidence and timelines in a written scope before work starts
How we build
- Set static worker replicas and app resource presets in Helm values under version control
- Deploy Memcached only where the cache design requires it, with network policy for worker access
- Test workflow runs under representative load and record latency, failures and pod restarts
- Document each setting, its reason and the change procedure for later tuning
How we hand over
- Deliver Helm values, manifests and a runbook covering scaling changes and rollback steps
- Walk your platform and security teams through pod security settings, secrets handling and app image provenance
- Record the autoscaling limits that apply today so your team knows which steps remain manual
- Provide a test plan your team can rerun after each Shuffle or Kubernetes upgrade
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Review worker and app resource settings when Kubernetes minor versions move through their support window
- Retest app deployments and Memcached connections after each Shuffle release you adopt
- Keep documentation current with each change made under the retainer

