Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiwenc
Copy link

@xiwenc xiwenc commented Jun 20, 2019

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 #1323 (comment)

Fixes #1323

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

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 coreos#1323 (comment)

Fixes coreos#1323
@etcd-bot
Copy link
Collaborator

Can one of the admins verify this patch?

2 similar comments
@etcd-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@etcd-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@rjbez17
Copy link

rjbez17 commented Aug 9, 2019

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

@nvtkaszpir
Copy link

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

laurelnaiad added a commit to laurelnaiad/etcd-operator that referenced this pull request Jan 21, 2020
When PVC is used, make the pod auto recover in case of failure.

Source: coreos#2097
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Persistent/Durable etcd cluster
4 participants