Skip to content

fix(helm): set gateway and supervisor resource defaults #6016

Done

Description

@SDAChess

User Story

As a cluster operator running OpenShell on Kubernetes, I need resource requests and limits for the gateway and shared supervisors so that scheduling accounts for their footprint and a busy control-plane container cannot consume an unbounded share of a node.

Description

The Helm chart leaves both resources and supervisor.resources empty. Gateway renders therefore report missing CPU and memory requests and limits. Shared supervisors also lack resource budgets unless the operator supplies them.

Provide configurable defaults using the existing chart sizing guidance and the performance workgroup measurements supplied by the operator. Explain how to override them for larger sandbox counts, full gateway log tails, and supervisor failover. Preserve the ability to remove defaults explicitly. This is resource budgeting, not a change to sandbox capacity or credential architecture.

Context

Follow-up to #6013 / #6014. The existing shared-supervisor sizing guidance recommends 250m CPU and 768Mi memory requests with a 1.5Gi memory limit at 128 sandboxes per member. Performance measurements at OpenShell 624acee cover 300 sandboxes on three gateways and three shared supervisors, and separate heap profiles show gateway memory growing when its per-sandbox log tails fill. These measurements guide initial budgets; they do not establish a maximum supported workload.

Definition of Done

  • Gateway Deployment and StatefulSet render CPU and memory requests and limits by default.
  • Shared supervisors render a configurable budget consistent with the existing sizing guidance.
  • Documentation explains capacity-dependent sizing and explicit override/removal.
  • Chart tests and lint pass, and configuration scans confirm the missing resource findings are removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions