Skip to content

Conversation

@aledegano
Copy link

When we roll-out an update to csi-rclone, currently,
the nodeplugins are deleted and updated one by one:
this makes the roll-out slow for no reason.

The nodeplugins can instead be all deleted and recreated
at the same time for a faster roll-out.

When we roll-out an update to csi-rclone, currently,
the nodeplugins are deleted and updated one by one:
this makes the roll-out slow for no reason.

The nodeplugins can instead be all deleted and recreated
at the same time for a faster roll-out.
@aledegano aledegano requested a review from a team as a code owner June 20, 2025 09:54
@leafty
Copy link
Member

leafty commented Jun 20, 2025

Let me see if we can test this 👍

- mountPath: /var/lib/rclone
name: cache-dir
updateStrategy:
type: RollingUpdate
Copy link
Member

Choose a reason for hiding this comment

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

don't you just want Recreate here?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

From my understanding daemonsets support different strategies:
https://kubernetes.io/docs/tasks/manage-daemon/update-daemon-set/#daemonset-update-strategy and recreate is not one of those.
It might be interesting to see if we can use onDelete along with some Helm black sorcery to automate the process of rotating the nodeplugins when they are not in use...

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.

4 participants