etcd-operator icon indicating copy to clipboard operation
etcd-operator copied to clipboard

k8sutil: Restarting pods in an etcd cluster with PVC is safe.

Open xiwenc opened this issue 6 years ago • 5 comments

This is a simple fix that addresses Case C from https://github.com/coreos/etcd-operator/blob/master/doc/design/persistent_volumes_etcd_data.md

It makes the etcd cluster with PVC able to recover from full k8s cluster outage. Inspired by https://github.com/coreos/etcd-operator/issues/1323#issuecomment-359206459

Fixes #1323

Please read https://github.com/coreos/etcd-operator/blob/master/CONTRIBUTING.md#contribution-flow

xiwenc avatar Jun 20 '19 11:06 xiwenc

Can one of the admins verify this patch?

etcd-bot avatar Jun 20 '19 11:06 etcd-bot

Can one of the admins verify this patch?

etcd-bot avatar Jun 20 '19 11:06 etcd-bot

Can one of the admins verify this patch?

etcd-bot avatar Jun 20 '19 11:06 etcd-bot

Any updates on this? Without this PVCs aren't really that effective.

rjbez17 avatar Aug 09 '19 15:08 rjbez17

Shouldn't PV have persistentVolumeReclaimPolicy set to Retain aswell? (default is Delete)

nvtkaszpir avatar Aug 25 '19 13:08 nvtkaszpir