Skip to content

Commit b3ac6b7

Browse files
committed
The default is Delete, which violates our no-surpises ambition
1 parent a8db336 commit b3ac6b7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ For clients we tend to use [librdkafka](https://github.com/edenhill/librdkafka)-
5252
To use [Kafka Connect](http://kafka.apache.org/documentation/#connect) and [Kafka Streams](http://kafka.apache.org/documentation/streams/) you may want to take a look at our [sample](https://github.com/solsson/dockerfiles/tree/master/connect-files) [Dockerfile](https://github.com/solsson/dockerfiles/tree/master/streams-logfilter)s.
5353
Don't forget the [addon](https://github.com/Yolean/kubernetes-kafka/labels/addon)s.
5454

55+
## Set "reclaim policy" for persistent volumes
56+
57+
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/)
58+
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,
59+
including if the `kafka` namespace is deleted and recreated.
60+
61+
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.
62+
5563
# Tests
5664

5765
```

0 commit comments

Comments
 (0)