Skip to content
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

Backup temp dir in scratch data fills the host disk #317

Closed
francoispqt opened this issue Jun 27, 2022 · 1 comment
Closed

Backup temp dir in scratch data fills the host disk #317

francoispqt opened this issue Jun 27, 2022 · 1 comment

Comments

@francoispqt
Copy link
Contributor

When we do base backups barman writes its data into /controller/backup but this directory is on an EmptyDir volume and in our case the .part buffer file created by barman fills up the host disk and leads to Kubernetes terminating the database pod because it uses ephemeral storage it didn't request. The problem is our host disk isn't big enough to accommodate the .part file and it grows quite big because there is high latency between our object storage location and the database location (and we can't do anything about it).

As a solution we could specify a different path for backups and have a volume for that or maybe there is some barman configuration that could help?

@sxd
Copy link
Member

sxd commented Dec 30, 2022

I think this issue was fixed in the newer version, please reopen if that's not the case

@sxd sxd closed this as completed Dec 30, 2022
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 9, 2024
Allow the user to optionally set the ephemeralStorage option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 10, 2024
Allow the user to optionally set the ephemeralStorage option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 10, 2024
Allow the user to optionally set the ephemeralStorage option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 10, 2024
Allow the user to optionally set the ephemeralVolumeSource option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
armru pushed a commit to jfyne/cloudnative-pg that referenced this issue Jan 12, 2024
Allow the user to optionally set the ephemeralVolumeSource option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 16, 2024
Allow the user to optionally set the ephemeralVolumeSource option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
armru pushed a commit to jfyne/cloudnative-pg that referenced this issue Jan 17, 2024
Allow the user to optionally set the ephemeralVolumeSource option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 17, 2024
Allow the user to optionally set the ephemeralVolumeSource option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
jfyne added a commit to jfyne/cloudnative-pg that referenced this issue Jan 23, 2024
Allow the user to optionally set the ephemeralVolumeSource option in the
cluster spec.

Refs:
 - cloudnative-pg#3677
 - cloudnative-pg#317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
mnencia pushed a commit that referenced this issue Jan 23, 2024
Allow the user to optionally set the `ephemeralStorage` option in the
cluster spec.

Closes #3677

Refs:
 - #3677
 - #317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
cnpg-bot pushed a commit that referenced this issue Jan 23, 2024
Allow the user to optionally set the `ephemeralStorage` option in the
cluster spec.

Closes #3677

Refs:
 - #3677
 - #317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 0e7ac95)
mnencia pushed a commit that referenced this issue Jan 23, 2024
Allow the user to optionally set the `ephemeralStorage` option in the
cluster spec.

Closes #3677

Refs:
 - #3677
 - #317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 0e7ac95)
mnencia pushed a commit that referenced this issue Jan 23, 2024
Allow the user to optionally set the `ephemeralStorage` option in the
cluster spec.

Closes #3677

Refs:
 - #3677
 - #317

Signed-off-by: Josh Fyne <josh.fyne@gmail.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
(cherry picked from commit 0e7ac95)
cnpg-bot pushed a commit to cloudnative-pg/artifacts that referenced this issue Jan 24, 2024
…Allow the user to optionally set the `ephemeralStorage` option in the%0Acluster spec.%0A%0ACloses #3677%0A%0ARefs:%0A - cloudnative-pg/cloudnative-pg#3677 - cloudnative-pg/cloudnative-pg#317: Josh Fyne <josh.fyne@gmail.com>%0ASigned-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>%0ACo-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>%0A(cherry picked from commit 0e7ac9573f7476b2f302d27bb45f41a3b5221abf)

cloudnative-pg/cloudnative-pg@refs/heads/release-1.21
cnpg-bot pushed a commit to cloudnative-pg/artifacts that referenced this issue Jan 24, 2024
…Allow the user to optionally set the `ephemeralStorage` option in the%0Acluster spec.%0A%0ACloses #3677%0A%0ARefs:%0A - cloudnative-pg/cloudnative-pg#3677 - cloudnative-pg/cloudnative-pg#317: Josh Fyne <josh.fyne@gmail.com>%0ASigned-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>%0ACo-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>%0A(cherry picked from commit 0e7ac9573f7476b2f302d27bb45f41a3b5221abf)

cloudnative-pg/cloudnative-pg@refs/heads/release-1.20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants