-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Velero Pod Replicas & alternative for emptydir #475
Comments
Yes, Velero could work with a GCS bucket.
No. Velero server does not work with more than 1 replica.
I did not tried it before but I think it's possible and doable. |
@jenting What data is filled in emptyDir path ? is housekeeping of this path not done by velero ? I think there are temporary data under this path. |
@jenting Can you please let us know what data are stored in the /scratch or emptyDir ? Often, we are getting issue in the velero pod it has been evicted due to disk pressure or the node was on low disk space ephemeral storage error. |
@qiuming-best could you help this issue? |
@kkavin Velero server could not work with more than 1 replica, it'll have concurrency issues currently. The scratch dir it's a place where Restic put its' cache in it, and the empty dir is where Velero put its' third-party plugin. All of the Restic cache or third-party plugins are temp files, so we didn't put them into persistent volume. But for your problem, you could put them into persistent volume and it's work. |
Hi @qiuming-best and @jenting, |
What steps did you take and what happened:
Velero pod was evicted due to disk full in worker nodes in GKE.
We raised a support ticket with Google Cloud regarding the pod eviction due to the storage issue in the worker node. They reported that:
Following their analysis, we have planned to add persistent storage for the velero and restic pods instead of emptyDir.
We need to know if we can use a GCS bucket for the velero and restic pods. By default, the Helm chart comes with 1 replica. Is it possible to add more than 1 replicas? Will Velero work with more than 1 replicas?
Environment:
helm version
): v3.7.2kubectl version
): 1.23.0The text was updated successfully, but these errors were encountered: