2
2
# This is a YAML-formatted file.
3
3
# Declare variables to be passed into your templates.
4
4
5
- # Where we'll dump and commit cluster objects before pushing them to a remote git repository.
6
- localDir : " /tmp/kf-dump"
5
+ # gitUrl (optional) is a remote git repository that Katafygio can clone, and where
6
+ # it can push changes. If gitUrl is not defined, Katafygio will still maintain a
7
+ # pod-local git repository, which can be on a persistent volume (see above).
8
+ # gitUrl: https://user:[email protected] /myorg/myrepos.git
7
9
8
- # The port we'll listen for health checks requests .
9
- healthcheckPort : 8080
10
+ # noGit disable git versioning when true (will only keep an unversioned local dump up-to-date) .
11
+ noGit : false
10
12
11
- # Frequency (in seconds) between full catch-up resyncs. 0 to disable .
12
- resyncInterval : 300
13
+ # healthcheckPort is the TCP port Katafygio will listen for health check requests .
14
+ healthcheckPort : 8080
13
15
14
- # Logging. Output may be: stdout, stderr, syslog .
16
+ # logLevel can be info, warning, error, or fatal .
15
17
logLevel : warning
18
+ # logOutput can be stdout, stderr, or syslog.
16
19
logOutput : stdout
20
+ # logServer (optional) provide the address of a remote syslog server.
21
+ # logServer: "localhost:514"
17
22
18
- # Optional. Repository where Katafygio would push changes.
19
- # gitUrl: https://user:[email protected] /myorg/myrepos.git
20
-
21
- # Set to true to disable git versioning.
22
- noGit : false
23
-
24
- # Optional. Label selector to restrict dump to certain objets.
23
+ # filter is an (optional) label selector used to restrict backups to selected objects.
25
24
# filter: "app in (foo, bar)"
26
25
27
- # Optional. Address of a remote syslog server (if logOutput is "syslog").
28
- # logServer: "localhost:514"
29
-
30
- # Optional. Kubernetes object kinds we want to exclude from the dumps.
26
+ # excludeKind is an array of excluded (not backuped) Kubernetes objects kinds.
31
27
excludeKind :
32
28
- replicaset
33
29
- endpoints
34
30
- event
35
31
36
- # Optional. Specific Kubernetes objets to exclude from the dumps.
32
+ # excludeObject is an array of specific Kubernetes objects to exclude from dumps
33
+ # (the format is: objectkind:namespace/objectname).
37
34
# excludeObject:
38
35
# - "configmap:kube-system/leader-elector"
39
36
40
- # Katafygio needs read-only access to all Kubernetes API groups and resources.
37
+ # resyncInterval is the interval (in seconds) between full catch-up resyncs
38
+ # (to catch possibly missed events). Set to 0 to disable resyncs.
39
+ resyncInterval : 300
40
+
41
+ # localDir is the path where we'll dump and commit cluster objects.
42
+ localDir : " /var/lib/katafygio/data"
43
+
44
+ # persistence for the localDir dump directory. Note that configuring gitUrl
45
+ # is an other way to achieve persistence.
46
+ persistence :
47
+ enabled : true
48
+ # # If defined, storageClassName: <storageClass>
49
+ # # If set to "-", storageClassName: "", which disables dynamic provisioning
50
+ # # If undefined (the default) or set to null, no storageClassName spec is
51
+ # # set, choosing the default provisioner. (gp2 on AWS, standard on
52
+ # # GKE, AWS & OpenStack)
53
+ # #
54
+ storageClass : " "
55
+ accessMode : ReadWriteOnce
56
+ size : 1Gi
57
+ # existingClaim: ""
58
+
59
+ # rbac allow to enable or disable RBAC role and binding. Katafygio needs
60
+ # read-only access to all Kubernetes API groups and resources.
41
61
rbac :
42
62
# Specifies whether RBAC resources should be created
43
63
create : true
44
64
apiVersion : v1
45
65
66
+ # serviceAccount is used to provide a dedicated serviceAccount when using RBAC
67
+ # (or to fallback to the namespace's "default" SA if name is left empty).
46
68
serviceAccount :
47
69
# Specifies whether a ServiceAccount should be created
48
70
create : true
@@ -52,9 +74,13 @@ serviceAccount:
52
74
53
75
image :
54
76
repository : bpineau/katafygio
55
- tag : v0.5 .0
77
+ tag : v0.6 .0
56
78
pullPolicy : IfNotPresent
57
79
80
+ # resources define the deployment's cpu and memory resources.
81
+ # Katafygio only needs about 50Mi of memory as a baseline, and more depending
82
+ # on the cluster's content. For instance, on a 45 nodes cluster with about 2k
83
+ # pods and 1k services, Katafygio use about 250Mi.
58
84
resources : {}
59
85
# limits:
60
86
# cpu: 100m
0 commit comments