Skip to content

Commit

Permalink
feat: Add Priority Class to SKR Webhook Pod
Browse files Browse the repository at this point in the history
  • Loading branch information
LeelaChacha committed Oct 11, 2024
1 parent af0c5cb commit 412059e
Showing 1 changed file with 9 additions and 0 deletions.
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-high-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-high-priority

0 comments on commit 412059e

Please sign in to comment.