diff options
author | Staffan Olsson <staffan@repos.se> | 2017-08-03 15:23:38 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-08-05 07:09:45 +0200 |
commit | 2ca4453d7e9da4b7089fc41e0c41e89ab5e5f8cc (patch) | |
tree | e124261e7eda133f6d39edd8d52ade102c439d5f /README.md | |
parent | 723c514fb0121b779c17aa289f6757f7d842326c (diff) | |
download | kubernetes-kafka-2ca4453d7e9da4b7089fc41e0c41e89ab5e5f8cc.tar.gz kubernetes-kafka-2ca4453d7e9da4b7089fc41e0c41e89ab5e5f8cc.tar.bz2 kubernetes-kafka-2ca4453d7e9da4b7089fc41e0c41e89ab5e5f8cc.zip |
The default is Delete, which violates our no-surpises ambition
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -59,6 +59,14 @@ For clusters that enfoce [RBAC](https://kubernetes.io/docs/admin/authorization/r kubectl apply -f rbac-namespace-default/ ``` +## Set "reclaim policy" for persistent volumes + +Caution: For each new kafka and pzoo pod you have to [manually set Reclaim Policy](https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/) +to avoid losing your data if the [PVC](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims)s or [PV](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistent-volumes)s are deleted, +including if the `kafka` namespace is deleted and recreated. + +See [feature#352](https://github.com/kubernetes/features/issues/352) [#38192](https://github.com/kubernetes/kubernetes/issues/38192) [#47987](https://github.com/kubernetes/kubernetes/pull/47987) for details on why this isn't supported (yet) in manifests. + # Tests ``` |