Skip to content

Conversation

@yeahdongcn
Copy link

@yeahdongcn yeahdongcn commented Nov 17, 2023

The annotation is no longer working on recent versions of K8s, this PR replaces annotations[scheduler.alpha.kubernetes.io/critical-pod] with priorityClassName: system-node-critical in ds.yml.

$ kubectl apply -f daemonset.yml                                            
Warning: spec.template.metadata.annotations[scheduler.alpha.kubernetes.io/critical-pod]: non-functional in v1.16+; use the "priorityClassName" field instead
daemonset.apps/fake-device-plugin created
configmap/fake-device-plugin-cm created

This change is Reviewable

…priorityClassName: system-node-critical in ds.yml

Signed-off-by: Xiaodong Ye <yeahdongcn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant