Skip to content

feat(chart): support restricted namespaces and quotas #330

Closed

Description

@uniqueg

Why?

Clusters that enforce Pod Security restricted and a ResourceQuota on limits.cpu (e.g. CERIT-SC, elixir-cloud-aai/generic-issues#122) refuse TESK's task pods today. tesk-api and tesk-core gain the settings for security contexts and resource limits (blocked-by issues); the chart has to expose them, so a Node can run TESK in such a namespace without asking its operators for exceptions.

How?

  • Chart values (camelCase, as the chart's other values): security contexts for taskmaster and executor pods (pod and container), resource requests/limits for taskmaster, filer and the executors' default; defaults as in the components; a documented "restricted" preset (runAsNonRoot, seccompProfile: RuntimeDefault, allowPrivilegeEscalation: false, capabilities.drop: [ALL]) that stays opt-in, because some clusters refuse RuntimeDefault (CSC Rahti).
  • Schema checks for the new values.
  • Smoke test in CI: kind, a namespace with pod-security.kubernetes.io/enforce=restricted and a ResourceQuota with limits.cpu, the preset on, a task with an input and an output reaching COMPLETE.
  • Docs: a "Restricted clusters and quotas" section in the deployment guide; the values in the configuration reference; upgrade notes.
  • Bump tesk-api and tesk-core to the releases that contain the settings.

Acceptance criteria

  • Default values render the same objects as before (apart from the new default limits, documented in the upgrade notes).
  • The smoke test passes in a restricted, quota'd namespace.
  • Docs updated.

Activity

  1. self-assigned this
    on Nov 21, 2026
  2. added
    priority: high
    status: blocked
    type: feature
    workload: days
    ecp-wp4: M4.4
    on Nov 21, 2026
  3. added
    status: in progress
    and removed
    status: blocked
    on Nov 21, 2026
  4. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 21, 2026
  5. moved this from In progress to Done in ELIXIR On-Cloudon Nov 22, 2026
  6. removed
    status: in progress
    on Nov 23, 2026
  7. added this to the v0.5.0 milestone on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: M4.4priority: hightype: featureworkload: days

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions