You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's generaly no great value in archiving objects having an owner
reference (ie. pods generated from cronjobs/daemonsets/replicasets/...),
when their owner is already archived (and able to re-generate them).
This should reduce the commit churn on busy clusters, or with many
cronjobs running at high frequency.
While at it, group exclusion filters so we don't have to pass an
increasing amount of functions arguments around.
Closes#88
-m, --dump-only Dump mode: dump everything once and exit
68
+
-w, --exclude-having-owner-ref Exclude all objects having an Owner Reference
67
69
-x, --exclude-kind strings Ressource kind to exclude. Eg. 'deployment'
68
70
-z, --exclude-namespaces strings Namespaces to exclude. Eg. 'temp.*' as regexes. This collects all namespaces and then filters them. Don't use it with the namespace flag.
69
71
-y, --exclude-object strings Object to exclude. Eg. 'configmap:kube-system/kube-dns'
Copy file name to clipboardExpand all lines: assets/helm-chart/katafygio/README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ This chart installs a [Katafygio](https://github.com/bpineau/katafygio) deployme
18
18
19
19
## Chart Details
20
20
21
-
If your backups are flooded by commits from uninteresting changes, you may filter out irrelevant objects using the `excludeKind`and `excludeObject` options.
21
+
If your backups are flooded by commits from uninteresting changes, you may filter out irrelevant objects using the `excludeKind`, `excludeObject`, `excludeNamespaces`, and `excludeHavingOwnerRef` options.
22
22
23
23
By default, the chart will dump (and version) the clusters content in /tmp/kf-dump (configurable with `localDir`).
24
24
This can be useful as is, to keep a local and ephemeral changes history. To benefit from long term, out of cluster, and centrally reachable persistence, you may provide the address of a remote git repository (with `gitUrl`), where all changes will be pushed.
@@ -59,6 +59,8 @@ The following table lists the configurable parameters of the Katafygio chart and
59
59
|`healthcheckPort`| The port Katafygio will listen for health checks requests |`8080`|
60
60
|`excludeKind`| Object kinds to ignore |`{"replicaset","endpoints","event"}`|
61
61
|`excludeObject`| Specific objects to ignore (eg. "configmap:default/foo") |`nil`|
62
+
|`excludeNamespaces`| List of regexps matching namespaces names to ignore |`nil`|
63
+
|`excludeHavingOwnerRef`| Ignore all objects having an Owner Reference |`false`|
62
64
|`rbac.create`| Enable or disable RBAC roles and bindings |`true`|
63
65
|`rbac.apiVersion`| RBAC API version |`v1`|
64
66
|`serviceAccount.create`| Whether a ServiceAccount should be created |`true`|
0 commit comments