-
Notifications
You must be signed in to change notification settings - Fork 86
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
VolumeSnapshot #787
VolumeSnapshot #787
Conversation
e39c0a4
to
a47c550
Compare
1913d45
to
06288e1
Compare
pkg/util/kubernetes.go
Outdated
@@ -467,3 +468,21 @@ func WaitUntilDeploymentConfigReady(c oc_cs.Interface, meta metav1.ObjectMeta) e | |||
return false, nil | |||
}) | |||
} | |||
|
|||
func WaitUntilVolumeSnapshotReady(c snapshot_cs.Interface, meta metav1.ObjectMeta) error { | |||
return wait.PollImmediate(RetryInterval, 30*time.Minute, func() (bool, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need a user configurable timeout. 30min is just abitrary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. But how can we do it? Any field in BackupConfiguration
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have increased the timeout to 2 hour
xref: #751 |
Tasks: