Skip to content

Commit 4635efd

Browse files
committed
docs: describe instanceSidecarConfiguration
Document how the instance sidecar is configured and what happens when resources definitions conflict between objectstores. Signed-off-by: Francesco Canovai <[email protected]>
1 parent c5ad77d commit 4635efd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hack/examples/minio-store.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
retentionPolicy: "1m"
77
instanceSidecarConfiguration:
8-
retentionPolicyIntervalSeconds: 30
8+
retentionPolicyIntervalSeconds: 1800
99
resources:
1010
requests:
1111
memory: "64Mi"
@@ -34,4 +34,3 @@ spec:
3434
- "--min-chunk-size=5MB"
3535
- "--read-timeout=60"
3636
- "-vv"
37-

web/docs/usage.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ spec:
228228
configuration:
229229
# [...]
230230
instanceSidecarConfiguration:
231-
retentionPolicyIntervalSeconds: 30
231+
retentionPolicyIntervalSeconds: 1800
232232
resources:
233233
requests:
234234
memory: "64Mi"
@@ -243,4 +243,5 @@ PostgreSQL instance pod. Even if you define multiple `ObjectStore` resources,
243243
only one sidecar will run per instance. If a replica cluster also archives WALs
244244
to a different `ObjectStore`, the sidecar will use the resource settings from the
245245
`ObjectStore` referenced by the archiving plugin, not the one in the
246-
`.spec.externalClusters` section.
246+
`.spec.externalClusters` section. Changes to the sidecar configuration will be
247+
applied on the next reconciliation of the `Cluster` resources it.

0 commit comments

Comments
 (0)