Skip to content
Merged
Show file tree
Hide file tree
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor 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
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@ spec:
tolerations:
- operator: Exists
priorityClassName: system-node-critical
priority: 2000001000
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@ spec:
tolerations:
- operator: Exists
priorityClassName: system-node-critical
priority: 2000001000
status: {}
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,5 @@ spec:
tolerations:
- operator: Exists
priorityClassName: system-node-critical
priority: 2000001000
status: {}