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

Ignore /persist/kube-save-var-lib directory #4496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zedi-pramodh
Copy link

We save the backup of k3s installation to /persist to switch from clustering to single node. Exclude this directory from diskmetrics collection. This leads to 200+ json files which are processed unneccesarily, also the space occupied is already accounted in /persist

We save the backup of k3s installation to /persist to switch from
clustering to single node. Exclude this directory from diskmetrics collection.
This leads to 200+ json files which are processed unneccesarily, also the space occupied is already
accounted in /persist

Signed-off-by: Pramodh Pallapothu <[email protected]>
Copy link
Member

@OhmSpectator OhmSpectator left a comment

Choose a reason for hiding this comment

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

As as an atomic change, looks fine.
But wouldn't we need also to include the directory to the list of the directories handled on the device boot here or somewhere in this script?

@zedi-pramodh
Copy link
Author

As as an atomic change, looks fine.
But wouldn't we need also to include the directory to the list of the directories handled on the device boot here or somewhere in this script?

No we cannot delete this directory, it's a backup/snapshot of the single node installation and we need that to rollback.

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.

2 participants