Skip to content
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

feat: delete Fluentd PVC on drain success #1028

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Conversation

aslafy-z
Copy link
Collaborator

@aslafy-z aslafy-z commented May 30, 2022

Q A
Bug fix? no
New feature? yes
API breaks? no
Deprecations? no
Related tickets fixes #1027
License Apache 2.0

What's in this PR?

In the fluentd drainer reconciliation loop, remove the PVC once the drainer job finished successfully.

Checklist

@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch 5 times, most recently from b0125a3 to 44e01d6 Compare July 26, 2022 18:11
@aslafy-z aslafy-z changed the title WIP: feat: delete Fluentd PVC once it is drained successfully WIP: feat: delete Fluentd PVC on drain success Jul 26, 2022
@aslafy-z aslafy-z changed the title WIP: feat: delete Fluentd PVC on drain success feat: delete Fluentd PVC on drain success Jul 26, 2022
@aslafy-z aslafy-z marked this pull request as ready for review July 26, 2022 18:12
@aslafy-z aslafy-z requested review from siliconbrain and ahma July 26, 2022 18:14
pkg/resources/fluentd/fluentd.go Outdated Show resolved Hide resolved
pkg/sdk/logging/api/v1beta1/fluentd_types.go Outdated Show resolved Hide resolved
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch from 44e01d6 to 5cc1f85 Compare July 27, 2022 17:51
@aslafy-z aslafy-z requested a review from siliconbrain July 31, 2022 11:08
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch 3 times, most recently from 74049b5 to 993a43b Compare July 31, 2022 11:33
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch from 993a43b to 0d1a173 Compare August 11, 2022 10:53
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch from 0d1a173 to 07b359f Compare August 22, 2022 12:55
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch from 07b359f to ba39d89 Compare September 1, 2022 19:22
siliconbrain
siliconbrain previously approved these changes Sep 7, 2022
pkg/sdk/logging/api/v1beta1/fluentd_types.go Outdated Show resolved Hide resolved
pkg/resources/fluentd/fluentd.go Outdated Show resolved Hide resolved
ahma
ahma previously approved these changes Sep 7, 2022
Copy link
Contributor

@ahma ahma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @aslafy-z

@aslafy-z aslafy-z dismissed stale reviews from ahma and siliconbrain via 103eb06 September 7, 2022 12:37
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch from ba39d89 to 103eb06 Compare September 7, 2022 12:37
Signed-off-by: GitHub <noreply@github.com>
@aslafy-z aslafy-z force-pushed the feat/delete-drained-pvc branch from 103eb06 to 2ec4d4a Compare September 7, 2022 12:38
Copy link
Contributor

@ahma ahma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ahma ahma merged commit bf44280 into master Sep 7, 2022
@aslafy-z aslafy-z deleted the feat/delete-drained-pvc branch September 7, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove fluentd PVC on drain success
3 participants