-
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
Schedule creation thru API triggers backup regardless of cron settings #1980
Comments
xref #2433 |
eleanor-millman
added
Reviewed Q2 2021
Icebox
We see the value, but it is not slated for the next couple releases.
labels
May 10, 2021
eleanor-millman
removed
the
Icebox
We see the value, but it is not slated for the next couple releases.
label
May 20, 2021
ywk253100
added a commit
to ywk253100/velero
that referenced
this issue
Oct 26, 2021
Don't create a backup immediately after creating a schedule Fixes vmware-tanzu#1980 Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
ywk253100
added a commit
to ywk253100/velero
that referenced
this issue
Oct 26, 2021
Don't create a backup immediately after creating a schedule Fixes vmware-tanzu#1980 Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
3 tasks
dsu-igeek
pushed a commit
that referenced
this issue
Oct 26, 2021
Don't create a backup immediately after creating a schedule Fixes #1980 Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
danfengliu
pushed a commit
to danfengliu/velero
that referenced
this issue
Jan 25, 2022
…anzu#4281) Don't create a backup immediately after creating a schedule Fixes vmware-tanzu#1980 Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
ywk253100
added a commit
to ywk253100/velero
that referenced
this issue
Feb 16, 2022
Update release note to reflect the fix for vmware-tanzu#1980 Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
3 tasks
reasonerjt
added a commit
that referenced
this issue
Feb 16, 2022
Update release note to reflect the fix for #1980
gyaozhou
pushed a commit
to gyaozhou/velero-read
that referenced
this issue
May 14, 2022
…anzu#4281) Don't create a backup immediately after creating a schedule Fixes vmware-tanzu#1980 Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think it's known issue as according to comment in code (
velero/pkg/controller/schedule_controller.go
Line 279 in e3d64d9
What steps did you take and what happened:
Here is the simple code to create scheduler we use
schedulerBuilder := builder.ForSchedule( c.context, name, ).CronSchedule(cronString).Template(backupBuilder.Result().Spec).ObjectMeta( builder.WithLabels(defaults.TufinReleaseVersionLabel, tosVersion)) scheduler, err = c.client.Schedules(c.context).Create(schedulerBuilder.Result())
What did you expect to happen:
One of the following:
The text was updated successfully, but these errors were encountered: