allow smaller PVC templates when scaling vmstorage out
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes
- Ambito
- infrastructure
Direzione di ricerca
Start by tracing how the operator reconciles vmstorage volumeClaimTemplate changes and handles PVC size decreases; the issue links #2512 for the behavior’s origin. Check the relevant reconciliation tests and add coverage for scaling from three 200Gi claims to six replicas with a 100Gi template. Done means existing claims remain unchanged, new claims use 100Gi, and reconciliation succeeds.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe
Summary
Allow VMCluster scale-out with smaller PVCs for new vmstorage replicas.
Use case
Let's say, I have three vmstorage replicas with 200Gi PVCs. To spread RAM and load across
more nodes, I want to scale to six replicas without increasing retained data.
New replicas need only 100Gi each. After one retention period, data will be
distributed over all six replicas. Using 200Gi for every new PVC would provision
900Gi total instead of the intended 600Gi: 300Gi unnecessarily.
Reproduction
- Create three vmstorage replicas with a 200Gi
volumeClaimTemplate. - Change the template to 100Gi and scale to six replicas.
Expected behavior
Keep the existing 200Gi PVCs unchanged and create 100Gi PVCs for new replicas.
Either treat smaller requests for existing PVCs as a no-op, or provide an
explicit option to permit heterogeneous PVC capacities during scale-out.
Actual behavior
The update fails because the operator tries to shrink existing PVCs:
cannot decrease PVC=... size from=200Gi to=100Gi, please check
VolumeClaimTemplate configuration: declined by the operator
Additional context
This behavior was introduced with #2512, which made
declined decreases fail reconciliation. I am not sure whether this should be a
bug report or a feature request. As a bug report, I would ask to revert #2512,
which I am fine with. Alternatively, an option for intentional heterogeneous
PVCs would be useful.
Describe the solution you'd like
See Additional context above
Describe alternatives you've considered
No response
Additional information
No response
- Lingua principale
- Go
- Stelle
- 603
- Fork
- 242
- Merge medio
- 1g 14h
- PR unite (30g)
- 57
Preparare l'ambiente
- Include un Dockerfile o un 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 VictoriaMetrics/operator
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
VictoriaMetrics/operator#2854 ·
I maintainer di solito rispondono entro 1 giorno
-
VLAgent `spec.k8sCollector.includePodLabels: false` has no effectForse già presa @Haleygo l’ha presa 25 giorni fa. Apertabug waiting for release
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
VictoriaMetrics/operator#2772 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: VMRule `spec.groups[].tenant` should accept an integer, not only a stringForse già presa @megative l’ha presa 40 giorni fa. Apertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
VictoriaMetrics/operator#2608 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
VMAlert datasource bearer token isn't documentedForse di nuovo libera @Haleygo l’ha presa 35 giorni fa e non c’è nessuna pull request aperta. Apertadocs
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
VictoriaMetrics/operator#2365 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
VictoriaMetrics/operator#2845 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di VictoriaMetrics/operator
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
slavakurilyak/awesome-ai-agents#1026 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
GetBatchResponseById panics for items without a body (204/302) and for unknown idsForse già presa @0z5a l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
JuliusBrussee/caveman#1567 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100