(새 문서: ==개요== ;initChownData * initChownData.enabled If false, don't reset data ownership at startup true * initChownData.name init-chown-data container name init-chown-data * initChown...) |
(→개요) |
||
(같은 사용자의 중간 판 12개는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
==개요== | ==개요== | ||
{{소문자}} | |||
;initChownData | ;initChownData | ||
{| class='wikitable' | |||
! 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 || {} | |||
|} | |||
<syntaxhighlight lang='yaml'> | |||
initContainers: | |||
- name: "init-chown-data" | |||
image: "busybox:latest" | |||
imagePullPolicy: "IfNotPresent" | |||
command: ["chown", "-R", "65534:65534", "/data"] | |||
volumeMounts: | |||
- mountPath: /data | |||
name: storage-volume | |||
subPath: "" | |||
</syntaxhighlight> | |||
==같이 보기== | |||
* [[initContainers]] | |||
* [[chown: /data: Operation not permitted]] | |||
==참고== | ==참고== | ||
* https://artifacthub.io/packages/helm/prometheus-community/prometheus/6.0.0 | |||
* https://artifacthub.io/packages/helm/prometheus-community/prometheus/11.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 | |||
[[분류: Helm]] |
2024년 8월 27일 (화) 16:20 기준 최신판
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
로그인하시면 댓글을 쓸 수 있습니다.