-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add a velero status
command to report if the server is ready to create backup or not
#979
Comments
For reference: #898 (comment) |
Question: is it expected that Ark be used only for PV backup? |
This is acceptable and a reasonable design, imho. It should keep trying until it has work to do.
What if we added an |
Are you asking if it should handle volumes that are directly referenced by the pod (e.g. |
No, I'm asking something different. Currently we have backup storage and volume storage. Can we bootup the ark server w/o setting up/deploying configuration for the backup storage if we only want to do pv storage? I know the answer to that ^ is no, but should we? |
Yes, I'd like that. Also, could we change the message from |
That is along the lines of #504. I'm interested in exploring this, but I'm not sure how/where we'd record the information (volume snapshot info). |
A bit of a tangent, but I think that the mechanism for getting this information would be somewhat similar - would |
It depends on how we implement it. I could see 3 options:
Of these, I'd probably vote for 2. |
I like 2, too. Seems like a lot less plumbing for users to have to wrangle. |
I like 1 better. I'm thinking when I want to check on a status it's bc something is happening/not happening and I want to get a quick read on the situation. Sound that there'd be a latency with option 2. For option 1, could the |
Given this wasn't included in #1052, I'm removing it from the v0.10.0 milestone |
@ncdc If Ark doesn't have a functioning backup storage location, the process should eventually exit. If the Ark pod is running then I would expect that it's functional. Alternatively, we could leverage a liveness probe to help let users know that Ark is not in a happy state. |
I'm afraid that if we have the server crashloop because something such as the default BSL is missing, we're going to get bug reports that the server is crashlooping. Do you agree or disagree? |
@ncdc ahh! I didn't realize that this is related to a missing default. Agree crashlooping for that is bad. |
velero status
command to report if the server is ready to create backup or not
This is different, but related: #675. |
Looks like @codegold79 's Design doc might address this: https://github.com/vmware-tanzu/velero/pull/4270/files Frankie, can you please take a look at this issue and mark it as a dupe of whatever other issue you are working off of if this is the case? Thanks! |
There are two issues in this ticket, one is addressed with #1967 (BSL/VSL readiness).
Will use this to track adding the
status
command to report on the readiness via the CLI.Original report:
I purposefully started the ark server w/o setting a backup location via the cli or deploying the
backupstoragelocation.yaml
file.In the end, the backup sync kept retrying for a really long time.
I wonder if the warning at the top should be an error, if the message should be stronger, or else there is a better way to avoid the user being stuck in this scenario.
The text was updated successfully, but these errors were encountered: