🤖 CoderWorkspacePool: ship the autoscaler admission policy

Offen
#462 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
kubernetes, yaml

Rechercherichtung

Start with the workspace pool how-to's "Grant access" section, which holds the ValidatingAdmissionPolicy example, and with plan workspace-13.md sections 7.3 and 16 item 8. Move that policy into a manifest under config/. Done means the policy refuses an HPA or KEDA ScaledObject targeting a pool unless its author can update coderworkspacepools/scale, and the Kind test passes.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Idea

Ship the ValidatingAdmissionPolicy from the workspace pool how-to ("Grant access") as a manifest under config/. The policy refuses an HPA or a KEDA ScaledObject that targets a pool unless its author can update that pool's coderworkspacepools/scale. Today it is a docs example, tested once in Kind.

Trigger: users adopt the docs example. The HPA controller and KEDA can resize every pool, so anyone who can create an HPA in a namespace can resize a pool up to 100 (plan section 7.3).

Plan workspace-13.md sections 7.3 and 16 item 8.

Refs #153


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh

Vorherrschende Sprache
Go
Sterne
5
Forks
3
Ø Merge
2 Std. 49 Min.
Gemergte PRs (30 T.)
206

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus coder/coder-k8s

Alle Issues in coder/coder-k8s

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.