New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: annotation to disable WAL archiving #4055
feat: annotation to disable WAL archiving #4055
Conversation
❗ By default, the pull request is configured to backport to all release branches.
|
3700c5f
to
a5a5c45
Compare
/test limit=local |
@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/8223295982 |
I have been able to disable WAL archiving and reduce WAL footprint with the following example: apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: cluster-example
annotations:
cnpg.io/skipWalArchiving: "enabled"
spec:
instances: 1
storage:
size: 1Gi
postgresql:
parameters:
wal_level: minimal
max_wal_senders: "0" |
6be025d
to
2950bef
Compare
/test limit=local |
@armru, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/8233800341 |
/ok-to-merge |
23a8287
to
176c4c6
Compare
176c4c6
to
c577985
Compare
Closes: cloudnative-pg#3774 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enteprisedb.com> Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
c577985
to
0e950de
Compare
Introduce the `cnpg.io/skipWalArchiving` annotation to disable WAL archiving when set to `enabled`. Closes: #3774 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enteprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit 852ee34)
Introduce the `cnpg.io/skipWalArchiving` annotation to disable WAL archiving when set to `enabled`. Closes: #3774 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@gmail.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enteprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit 852ee34)
Introduce the
cnpg.io/skipWalArchiving
annotation to disable WAL archiving when set toenabled
.Closes: #3774