Skip to content
This repository was 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
xiwenc wants to merge 1 commit intocoreos:masterfrom
xiwenc:auto-recover-cluster-with-pvc-after-full-k8s-reboot
Open

k8sutil: Restarting pods in an etcd cluster with PVC is safe.#2097
xiwenc wants to merge 1 commit intocoreos:masterfrom
xiwenc:auto-recover-cluster-with-pvc-after-full-k8s-reboot

Conversation

@xiwenc
Copy link
Copy Markdown

@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
Copy Markdown
Collaborator

Can one of the admins verify this patch?

2 similar comments
@etcd-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@etcd-bot
Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@rjbez17
Copy link
Copy Markdown

rjbez17 commented Aug 9, 2019

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

@nvtkaszpir
Copy link
Copy Markdown

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persistent/Durable etcd cluster

4 participants