Skip to content

Commit

Permalink
Change system-cluster-critical to system-node-critical to prevent pod…
Browse files Browse the repository at this point in the history
…s of DaemonSet type from being (#1709)
  • Loading branch information
wangyd1988 committed Jul 19, 2022
1 parent e8877f1 commit 3b9111f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
9 changes: 5 additions & 4 deletions dist/images/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1958,7 +1958,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -2444,7 +2444,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -2591,7 +2591,7 @@ spec:
spec:
tolerations:
- operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -2896,7 +2896,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -3070,6 +3070,7 @@ spec:
component: network
type: infra
spec:
priorityClassName: system-node-critical
serviceAccountName: ovn
hostPID: true
containers:
Expand Down
5 changes: 3 additions & 2 deletions yamls/kube-ovn-dual-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -272,6 +272,7 @@ spec:
component: network
type: infra
spec:
priorityClassName: system-node-critical
serviceAccountName: ovn
hostPID: true
containers:
Expand Down Expand Up @@ -403,7 +404,7 @@ spec:
matchLabels:
app: kube-ovn-monitor
topologyKey: kubernetes.io/hostname
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
containers:
Expand Down
3 changes: 2 additions & 1 deletion yamls/kube-ovn-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -249,6 +249,7 @@ spec:
component: network
type: infra
spec:
priorityClassName: system-node-critical
serviceAccountName: ovn
hostPID: true
containers:
Expand Down
5 changes: 3 additions & 2 deletions yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
matchLabels:
app: kube-ovn-controller
topologyKey: kubernetes.io/hostname
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
containers:
Expand Down Expand Up @@ -139,7 +139,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down Expand Up @@ -287,6 +287,7 @@ spec:
component: network
type: infra
spec:
priorityClassName: system-node-critical
serviceAccountName: ovn
hostPID: true
containers:
Expand Down
2 changes: 1 addition & 1 deletion yamls/ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ spec:
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
hostPID: true
Expand Down
2 changes: 1 addition & 1 deletion yamls/speaker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
matchLabels:
app: kube-ovn-speaker
topologyKey: kubernetes.io/hostname
priorityClassName: system-cluster-critical
priorityClassName: system-node-critical
serviceAccountName: ovn
hostNetwork: true
containers:
Expand Down

0 comments on commit 3b9111f

Please sign in to comment.