Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Priority Class to SKR Webhook Pod #1954

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions skr-webhook/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ spec:
targetPort: metrics-port
name: http-metrics
---
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: skr-webhook-priority
value: 1000000000
globalDefault: false
description: "This priority class is used for skr-webhook to ensure reconciliation, even with high workload."
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -120,3 +128,4 @@ spec:
path: tls.crt
- key: ca.crt
path: ca.crt
priorityClassName: skr-webhook-priority
Loading