-
Notifications
You must be signed in to change notification settings - Fork 502
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
Expose PVReclaimPolicy for TidbMonitor #2379
Conversation
@@ -95,6 +103,12 @@ func (mm *MonitorManager) Sync(monitor *v1alpha1.TidbMonitor) error { | |||
return err | |||
} | |||
klog.V(4).Infof("tm[%s/%s]'s pvc synced", monitor.Namespace, monitor.Name) | |||
|
|||
// syncing all PVs managed by operator's reclaim policy to Retain |
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.
No need to be Retain
.
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.
updated.
Co-authored-by: DanielZhangQD <[email protected]>
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.
LGTM
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.
LGTM
cherry pick to release-1.1 in PR #2412 |
What problem does this PR solve?
close #2329
Expose PVReclaimPolicy for TidbMonitor and e2e test for ensure it.
Does this PR introduce a user-facing change?: