1 개요[ | ]
- initChownData
Parameter | Description | Default |
---|---|---|
initChownData.enabled | If false, don't reset data ownership at startup | true |
initChownData.name | init-chown-data container name | init-chown-data |
initChownData.image.repository | init-chown-data container image repository | busybox |
initChownData.image.tag | init-chown-data container image tag | latest |
initChownData.image.pullPolicy | init-chown-data container image pull policy | IfNotPresent |
initChownData.resources | init-chown-data pod resource requests & limits | {} |
yaml
Copy
initContainers:
- name: "init-chown-data"
image: "busybox:latest"
imagePullPolicy: "IfNotPresent"
command: ["chown", "-R", "65534:65534", "/data"]
volumeMounts:
- mountPath: /data
name: storage-volume
subPath: ""
2 같이 보기[ | ]
3 참고[ | ]
- https://artifacthub.io/packages/helm/prometheus-community/prometheus/6.0.0
- https://artifacthub.io/packages/helm/prometheus-community/prometheus/11.0.0
- https://github.com/helm/charts/blob/master/stable/grafana/templates/_pod.tpl#L21-L39
- https://github.com/kubernetes/kubernetes/blob/release-1.11/cluster/addons/prometheus/prometheus-statefulset.yaml#L29-L37
- https://github.com/kubernetes/kubernetes/blob/release-1.16/cluster/addons/prometheus/prometheus-statefulset.yaml#L27-L35
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.