(feature):add priorityClassName to daemonset (#104)
Co-authored-by: yangchao <yangchao10@xiaomi.com>
This commit is contained in:
parent
e9473ca5ec
commit
906fa2d602
|
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
description: A chart for a Cadvisor deployment
|
||||
name: cadvisor
|
||||
version: 2.1.0
|
||||
version: 2.2.0
|
||||
appVersion: 0.44.1
|
||||
home: https://github.com/google/cadvisor
|
||||
sources:
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ The following table lists the configurable parameters of the cAdvisor chart and
|
|||
| `serviceAccount.create` | create a own serviceAccount for the pod | `true` |
|
||||
| `serviceAccount.name` | name of the serviceAccount to create | `""` |
|
||||
| `podAnnotations` | annotations for the daemonset pods | `{}` |
|
||||
| `priorityClassName` | priority classes name for the pod | `{}` |
|
||||
| `podSecurityPolicy.create` | create a own PodSecurityPolicy for the pod | `false` |
|
||||
| `podSecurityPolicy.privileged` | create the PodSecurityPolicy as privileged | `false` |
|
||||
| `podSecurityContext.create` | create the podSecurityContext in container spec | `false` |
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ spec:
|
|||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{ if .Values.priorityClassName }}
|
||||
priorityClassName: {{ .Values.priorityClassName }}
|
||||
{{- end }}
|
||||
{{ if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@ resources: {}
|
|||
|
||||
podAnnotations: {}
|
||||
|
||||
# priorityClassName: system-cluster-critical
|
||||
priorityClassName: {}
|
||||
|
||||
# sometimes errors are encountered when using the cpu load reader without being on the host network
|
||||
hostNetwork: false
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue