Browse Source

add charts prometheus

k8s
liutension 2 years ago
parent
commit
8d873b9d20
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      charts/prometheus/templates/prometheus-deploy.yaml
  2. +1
    -0
      charts/prometheus/values.yaml

+ 1
- 1
charts/prometheus/templates/prometheus-deploy.yaml View File

@@ -46,7 +46,7 @@ spec:
path: {{ .Values.prometheus.volumes.dataPath }}
type: DirectoryOrCreate
{{- else }}
emptyDir: {}
emptyDir: {}
{{- end }}
- name: config-volume
configMap:


+ 1
- 0
charts/prometheus/values.yaml View File

@@ -12,6 +12,7 @@ prometheus:
octopus.openi.pcl.cn/prometheus: "yes"
retentionDuration: 365d
volumes:
# image prom/prometheus run `nobody:nogroup` as user and group, so this path need privilege
dataPath: ""

image:


Loading…
Cancel
Save