fix: set priority for ks,node-exporter,prometheus (#2079)
* fix: set priority for ks,node-exporter,prometheus * fix: add priority class for download
This commit is contained in:
@@ -35,6 +35,7 @@ spec:
|
||||
hostPath:
|
||||
path: /etc/localtime
|
||||
type: ""
|
||||
priorityClassName: "system-cluster-critical"
|
||||
containers:
|
||||
- args:
|
||||
- --host=127.0.0.1
|
||||
|
||||
@@ -31,6 +31,7 @@ spec:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/edge
|
||||
operator: DoesNotExist
|
||||
priorityClassName: "system-cluster-critical"
|
||||
containers:
|
||||
- args:
|
||||
- --web.listen-address=127.0.0.1:9100
|
||||
|
||||
@@ -10,6 +10,7 @@ metadata:
|
||||
name: k8s
|
||||
namespace: kubesphere-monitoring-system
|
||||
spec:
|
||||
priorityClassName: "system-cluster-critical"
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
|
||||
Reference in New Issue
Block a user