Skip to content
Open
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
1 change: 1 addition & 0 deletions bindata/assets/kube-scheduler/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ spec:
- mountPath: /etc/kubernetes/static-pod-certs
name: cert-dir
hostNetwork: true
priority: 2000001000
Copy link
Member

Choose a reason for hiding this comment

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

Priority admission plugin mentions:

// if the pod contained a priority that differs from the one computed from the priority class, error

As long as the priority of system-node-critical PC does not change we are ok.

Copy link
Member

Choose a reason for hiding this comment

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

@CoreyCook8 we need to introduce a new e2e test under https://github.com/openshift/origin/tree/main/test/extended to make sure the priority number does not change for system-node-critical. Would you be willing to go through this exercise? :)

Copy link
Author

Choose a reason for hiding this comment

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

👋 I created openshift/origin#30268 if you don't mind taking a look and giving an ok-to-test?

priorityClassName: system-node-critical
tolerations:
- operator: "Exists"
Expand Down