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
Copy file name to clipboardExpand all lines: docs/retention_policy.md
+32-18
Original file line number
Diff line number
Diff line change
@@ -36,10 +36,14 @@ spec:
36
36
# pod: <pod_name>
37
37
# container: <container_name>
38
38
# maxCheckpoints: 5
39
+
# maxCheckpointSize: 6 # Maximum size of a single checkpoint in MB
40
+
# maxTotalSize: 20 # Maximum total size of checkpoints for the container in MB
39
41
# podPolicies:
40
42
# - namespace: <namespace>
41
43
# pod: <pod_name>
42
44
# maxCheckpoints: 10
45
+
# maxCheckpointSize: 8 # Maximum size of a single checkpoint in MB
46
+
# maxTotalSize: 50 # Maximum total size of checkpoints for the pod in MB
43
47
# namespacePolicies:
44
48
# - namespace: <namespace>
45
49
# maxCheckpoints: 15`
@@ -48,24 +52,34 @@ A sample configuration file is available [here](/config/samples/_v1_checkpointre
48
52
49
53
## Understanding Policy Fields
50
54
51
-
-`checkpointDirectory`: Specifies the directory where checkpoints are stored.
52
-
-`applyPoliciesImmediately`: If set to `true`, the policies are applied immediately. If `false` (default value), they are applied after new checkpoint creation.
53
-
-`globalPolicy`: Defines global checkpoint retention limits.
54
-
-`maxCheckpointsPerNamespace`: Maximum number of checkpoints per namespace.
55
-
-`maxCheckpointsPerPod`: Maximum number of checkpoints per pod.
56
-
-`maxCheckpointsPerContainer`: Maximum number of checkpoints per container.
57
-
-`containerPolicies` (optional): Specific retention policies for containers.
58
-
-`namespace`: Namespace of the container.
59
-
-`pod`: Pod name of the container.
60
-
-`container`: Container name.
61
-
-`maxCheckpoints`: Maximum number of checkpoints for the container.
62
-
-`podPolicies` (optional): Specific retention policies for pods.
63
-
-`namespace`: Namespace of the pod.
64
-
-`pod`: Pod name.
65
-
-`maxCheckpoints`: Maximum number of checkpoints for the pod.
66
-
-`namespacePolicies` (optional): Specific retention policies for namespaces.
67
-
-`namespace`: Namespace name.
68
-
-`maxCheckpoints`: Maximum number of checkpoints for the namespace.
55
+
-**`checkpointDirectory`**: Specifies the directory where checkpoints are stored.
56
+
-**`applyPoliciesImmediately`**: If set to `true`, the policies are applied immediately. If `false` (default value), they are applied after new checkpoint creation.
57
+
-**`globalPolicy`**: Defines global checkpoint retention limits.
58
+
-**`maxCheckpointsPerNamespace`**: Maximum number of checkpoints per namespace.
59
+
-**`maxCheckpointsPerPod`**: Maximum number of checkpoints per pod.
60
+
-**`maxCheckpointsPerContainer`**: Maximum number of checkpoints per container.
61
+
-**`maxCheckpointSize`**: Maximum size of a single checkpoint in MB.
62
+
-**`maxTotalSizePerNamespace`**: Maximum total size of checkpoints per namespace in MB.
63
+
-**`maxTotalSizePerPod`**: Maximum total size of checkpoints per pod in MB.
64
+
-**`maxTotalSizePerContainer`**: Maximum total size of checkpoints per container in MB.
65
+
-**`containerPolicies`** (optional): Specific retention policies for containers.
66
+
-**`namespace`**: Namespace of the container.
67
+
-**`pod`**: Pod name of the container.
68
+
-**`container`**: Container name.
69
+
-**`maxCheckpoints`**: Maximum number of checkpoints for the container.
70
+
-**`maxCheckpointSize`**: Maximum size of a single checkpoint in MB.
71
+
-**`maxTotalSize`**: Maximum total size of checkpoints for the container in MB.
72
+
-**`podPolicies`** (optional): Specific retention policies for pods.
73
+
-**`namespace`**: Namespace of the pod.
74
+
-**`pod`**: Pod name.
75
+
-**`maxCheckpoints`**: Maximum number of checkpoints for the pod.
76
+
-**`maxCheckpointSize`**: Maximum size of a single checkpoint in MB.
77
+
-**`maxTotalSize`**: Maximum total size of checkpoints for the pod in MB.
78
+
-**`namespacePolicies`** (optional): Specific retention policies for namespaces.
79
+
-**`namespace`**: Namespace name.
80
+
-**`maxCheckpoints`**: Maximum number of checkpoints for the namespace.
81
+
-**`maxCheckpointSize`**: Maximum size of a single checkpoint in MB.
82
+
-**`maxTotalSize`**: Maximum total size of checkpoints for the namespace in MB.
0 commit comments