-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Add priority value tests for default priorityClassNames #30268
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
Changes from 4 commits
f4d7e38
753d94c
1d0e265
1d668fb
8e6c282
389b19a
47ce8ab
84ad3df
9f18d74
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| apiVersion: v1 | ||
| kind: Pod | ||
| metadata: | ||
| name: pod-with-system-cluster-critical-priority-class | ||
| spec: | ||
| containers: | ||
| - name: busybox | ||
| image: busybox | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| command: | ||
| - sleep | ||
| - "3600" | ||
| priorityClassName: system-cluster-critical | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| apiVersion: v1 | ||
| kind: Pod | ||
| metadata: | ||
| name: pod-with-system-node-critical-priority-class | ||
| spec: | ||
| containers: | ||
| - name: busybox | ||
| image: busybox | ||
| command: | ||
| - sleep | ||
| - "3600" | ||
| priorityClassName: system-node-critical |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each pod needs to be cleaned/deleted after it's used. Also, better to create both pods in a temporary namespace.