Conversation
Contributor
|
❗ By default, the pull request is configured to backport to all release branches.
|
jbattiato
approved these changes
Nov 17, 2025
Member
|
/test |
Contributor
|
@mnencia, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/19458678494 |
leonardoce
approved these changes
Nov 18, 2025
a481c0b to
66f0276
Compare
Add a new --timeout flag to the `kubectl cnpg status` command to allow users to configure the timeout for operations that access the pod filesystem (e.g., `du` for calculating cluster size, `cat` for reading configuration files). The timeout parameter: - Defaults to 10 seconds to maintain backward compatibility - Can be adjusted using --timeout/-t flag (e.g., --timeout 45s) - Is applied to all timeout-based operations in the status command This addresses issues with large clusters (e.g., >1TB) where filesystem operations may exceed the previous hardcoded 10-second timeout, causing "context deadline exceeded" errors. Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
mnencia
approved these changes
Nov 20, 2025
cnpg-bot
pushed a commit
that referenced
this pull request
Nov 20, 2025
Add a new `--timeout` flag to the `kubectl cnpg status` command to allow users to configure the timeout for operations that access the pod filesystem (e.g., `du` for calculating cluster size, `cat` for reading configuration files). The timeout parameter: - Defaults to 10 seconds to maintain backward compatibility - Can be adjusted using `--timeout`/`-t` flag (e.g., `--timeout 45s`) - Is applied to all timeout-based operations in the status command This addresses issues with large clusters (e.g., >1TB) where filesystem operations may exceed the previous hardcoded 10-second timeout, causing "context deadline exceeded" errors. Closes #9164 Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> (cherry picked from commit d07d01d)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new --timeout flag to the
kubectl cnpg statuscommand to allow users to configure the timeout for operations that access the pod filesystem (e.g.,dufor calculating cluster size,catfor reading configuration files).The timeout parameter:
This addresses issues with large clusters (e.g., >1TB) where filesystem operations may exceed the previous hardcoded 10-second timeout, causing "context deadline exceeded" errors.
Closes #9164