Revert "feat: cleanup pod critical pod annotations feature"

This reverts commit b6d41ee5cc.
This commit is contained in:
draveness
2019-07-18 08:43:25 +08:00
parent 5de41340ce
commit d83526d253
56 changed files with 309 additions and 104 deletions

View File

@@ -31,6 +31,11 @@ spec:
k8s-app: metadata-proxy
kubernetes.io/cluster-service: "true"
version: v0.1
# This annotation ensures that the proxy does not get evicted if the node
# supports critical pod annotation based priority scheme.
# Note that this does not guarantee admission on the nodes (#40573).
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
priorityClassName: system-node-critical
serviceAccountName: metadata-proxy