Skip to content

feat(install): add PriorityClasses to schedule secret-manager before other operators#276

Open
ron96g wants to merge 2 commits intomainfrom
feat/priority-classes
Open

feat(install): add PriorityClasses to schedule secret-manager before other operators#276
ron96g wants to merge 2 commits intomainfrom
feat/priority-classes

Conversation

@ron96g
Copy link
Member

@ron96g ron96g commented Mar 17, 2026

Introduce two Kubernetes PriorityClasses (controlplane-critical and
controlplane-default) and assign them via Kustomize patches so that the
secret-manager pod is scheduled with higher priority than all other
control plane operators. This ensures the secret-manager is started
first when resources are constrained.

…other operators

Introduce two Kubernetes PriorityClasses (controlplane-critical and
controlplane-default) and assign them via Kustomize patches so that the
secret-manager pod is scheduled with higher priority than all other
control plane operators. This ensures the secret-manager is started
first when resources are constrained.
@ron96g ron96g self-assigned this Mar 17, 2026
@ron96g ron96g added enhancement New feature or request secret-manager Anything related to the secret manager labels Mar 17, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Kubernetes PriorityClasses and Kustomize patches to ensure secret-manager pods are scheduled ahead of other control plane components when the cluster is resource-constrained.

Changes:

  • Introduce two cluster-scoped PriorityClasses: controlplane-critical and controlplane-default.
  • Include the new PriorityClasses in both the main and local install Kustomizations.
  • Patch Deployments to set priorityClassName (secret-manager to critical; other operators to default).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
install/priority-classes/priority-classes.yaml Defines controlplane-critical / controlplane-default PriorityClasses.
install/priority-classes/kustomization.yaml Exposes the PriorityClass manifests as a Kustomize resource.
install/local/kustomization.yaml Includes PriorityClasses and patches local Deployments to set priorityClassName.
install/kustomization.yaml Includes PriorityClasses and patches Deployments (remote/default install) to set priorityClassName.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…rityClass

Set preemptionPolicy to Never on controlplane-default so that
non-critical operators get scheduling preference without evicting
regular workload pods under resource pressure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request secret-manager Anything related to the secret manager

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants