Forum archive › Kubernetes & Helm Charts
Archivehost_path deleter only supports /tmp/.+ but received provided /data/kafka
Read-only archive. These discussions are from Tracston's earlier
technical forum and are kept online because the answers are still useful.
New replies are closed. Need help with something like this?
Talk to us.
Question
16 Jul 2023
Problem
User getting the following error when examin the events for the PV
kubectl describe pv singlestore-moshe-sharon
and gets this error
Message: host_path deleter only supports /tmp/.+ but received provided /data/singlestore/moshe-sharon
Solution
Change the persistentVolumeReclaimPolicy from Delete to Recycle
persistentVolumeReclaimPolicy: Recycle
apiVersion: v1kind: PersistentVolumemetadata:name: minio-{{ .Release.Namespace }}namespace: {{ .Release.Namespace}}labels:volume-type: nfsname: minio-pvspec:capacity:storage: {{ .Values.minio.storage.size }}accessModes:- ReadWriteOncestorageClassName: standardpersistentVolumeReclaimPolicy: RecyclehostPath:type: DirectoryOrCreatepath: "/data/minio/{{ .Release.Namespace }}"
Need this fixed properly?
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →