Skip to content

Commit

Permalink
Ignore /persist/kube-save-var-lib directory
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Pramodh Pallapothu committed Dec 25, 2024
1 parent 0769a20 commit 8a2a916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/pillar/types/diskmetrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var ReportDirPaths = []string{
PersistDir + "/kcrashes",
PersistDir + "/eve-info",
PersistDir + "/kubelog",
PersistDir + "/kube-save-var-lib",
}

// AppPersistPaths Application-related files live here
Expand Down

0 comments on commit 8a2a916

Please sign in to comment.