update dashboard 2.4.0

pull/1109/head
gjmzj 2021-12-28 18:58:52 +08:00
parent a0957cba3f
commit f7df74e6a7
2 changed files with 7 additions and 4 deletions

4
ezdown
View File

@ -26,8 +26,8 @@ calicoVer=v3.19.2
flannelVer=v0.13.0-amd64
dnsNodeCacheVer=1.17.0
corednsVer=1.8.6
dashboardVer=v2.3.1
dashboardMetricsScraperVer=v1.0.6
dashboardVer=v2.4.0
dashboardMetricsScraperVer=v1.0.7
metricsVer=v0.5.0
pauseVer=3.5
nfsProvisionerVer=v4.0.1

View File

@ -222,6 +222,8 @@ spec:
- name: tmp-volume
emptyDir: {}
serviceAccountName: kubernetes-dashboard
nodeSelector:
"kubernetes.io/os": linux
# Comment the following tolerations if Dashboard must not be deployed on master
tolerations:
- key: node-role.kubernetes.io/master
@ -262,9 +264,10 @@ spec:
metadata:
labels:
k8s-app: dashboard-metrics-scraper
annotations:
seccomp.security.alpha.kubernetes.io/pod: 'runtime/default'
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: dashboard-metrics-scraper
image: kubernetesui/metrics-scraper:{{ dashboardMetricsScraperVer }}