feat(backups): keep a copy of a live Kubernetes cluster's volumes until its restore succeeds
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes
- Ambito
- cloud, infrastructure
Direzione di ricerca
Start by reading the live-cluster restore implementation and the restore Job flow introduced for the Kubernetes backup strategy in issue #4931. Check how the existing Velero snapshot class is selected and how PVCs and DataVolumes are deleted, then verify the stated linstor-csi behavior on a live cluster. Done means failed restores retain usable snapshots identified in the RestoreJob message, while successful restores remove them; the payload names no files or tests.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A live-cluster restore of the Kubernetes backup strategy (#4931) restores the volumes by deleting the current DataVolumes and PVCs and letting Velero recreate them, because Velero cannot overwrite an existing claim. If the Velero restore fails after the claims are gone, the data exists only in the backup. The etcd half has no such gap: the restore Job saves the current prefix to <dump>.pre-restore before it writes and drops the copy only after a successful restore.
Proposal: before deleting each claim, take a CSI VolumeSnapshot of it with the class Velero already uses for that storage class, wait for it to be ready, and delete the snapshots after a successful restore. On failure, keep them and name them in the RestoreJob's message, so the claim can be recreated from the snapshot under its original pvc-<uid> name. The default of restoring both halves stays as it is.
To check first on a live cluster: whether linstor-csi deletes a volume that still has a snapshot, or keeps the snapshot usable after the source volume is gone; and how long a snapshot of a large, busy volume takes to become ready, since the cluster is stopped while it is taken.
- Lingua principale
- Go
- Stelle
- 2.2k
- Fork
- 209
- Merge medio
- 4g 14h
- PR unite (30g)
- 140
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cozystack/cozystack
-
triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
cozystack/cozystack#5464 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
test(kubernetes-nodes): stop hand-typing the default Talos version in tests that are not about itApertaarea/testing kind/cleanup triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
cozystack/cozystack#5456 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
area/testing kind/cleanup triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
cozystack/cozystack#5447 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
area/kubernetes kind/bug triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cozystack/cozystack#5445 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
kind/bug triage/needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
cozystack/cozystack#5438 · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di cozystack/cozystack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Correct local module testing instructions for Go sample contributorsForse già presa @slievrly l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8Forse già presa @pacwestnobody l’ha presa oggi. Apertago good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Podiom/Podiom#427 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -raceForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
factory:subtask
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
I maintainer di solito rispondono entro 1 giorno