feat(platform): add priority-classes app with low/power/medium/high classes #174

Merged
unkinben merged 1 commits from feat-priority-classes into main 2026-05-26 23:41:55 +10:00
Owner

Summary

  • New apps/base/priority-classes/ app with four PriorityClass objects managed via the platform ArgoCD project
  • Adds apps/overlays/*/priority-classes to the platform ApplicationSet generator
  • Adds priority-classes namespace to platform AppProject destinations (required even for cluster-scoped resources)
Class Value PreemptionPolicy Intent
low 100 Never Background work; evictable, won't preempt others
power 100 Never Compute-heavy but expendable (e.g. AI/ML workloads)
medium 10000 PreemptLowerPriority Standard services
high 100000 PreemptLowerPriority Critical services; preempts lower-priority pods

PriorityClass is already in the platform project's clusterResourceWhitelist so no project policy changes were needed.

Test plan

  • ArgoCD syncs platform-priority-classes successfully
  • kubectl get priorityclasses low power medium high shows all four classes
## Summary - New `apps/base/priority-classes/` app with four `PriorityClass` objects managed via the `platform` ArgoCD project - Adds `apps/overlays/*/priority-classes` to the platform ApplicationSet generator - Adds `priority-classes` namespace to platform AppProject destinations (required even for cluster-scoped resources) | Class | Value | PreemptionPolicy | Intent | |---|---|---|---| | `low` | 100 | Never | Background work; evictable, won't preempt others | | `power` | 100 | Never | Compute-heavy but expendable (e.g. AI/ML workloads) | | `medium` | 10000 | PreemptLowerPriority | Standard services | | `high` | 100000 | PreemptLowerPriority | Critical services; preempts lower-priority pods | `PriorityClass` is already in the platform project's `clusterResourceWhitelist` so no project policy changes were needed. ## Test plan - ArgoCD syncs `platform-priority-classes` successfully - `kubectl get priorityclasses low power medium high` shows all four classes
unkinben added 1 commit 2026-05-26 23:40:23 +10:00
feat(platform): add priority-classes app with low/power/medium/high classes
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
057105c8b9
unkinben merged commit ede25a3858 into main 2026-05-26 23:41:55 +10:00
unkinben deleted branch feat-priority-classes 2026-05-26 23:41:55 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#174