Skip to content

Conversation

@tuunit
Copy link

@tuunit tuunit commented Jan 6, 2026

Description

At the moment the port 9090 is used for the readiness probe which is the application port which only get opened / used by the leader. For an HA setup with multiple pods this fails because none leaders only open the health/metrics port 8081.

Fixes #710

Signed-off-by: Jan Larwig <jan@larwig.com>
Copilot AI review requested due to automatic review settings January 6, 2026 08:23
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jan 6, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a critical bug in the readiness probe configuration for high-availability setups. The readiness probe was checking port 9090 (the application port), which is only available on the leader pod. In HA deployments with multiple replicas, non-leader pods would fail readiness checks since they only expose the health/metrics port 8081.

Key Changes:

  • Updated readiness probe to use port 8081 instead of 9090 for proper HA support
  • Bumped chart version from 0.4.0 to 0.4.1 (patch version for bug fix)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
charts/plugin-barman-cloud/templates/deployment.yaml Fixed readiness probe to check port 8081 (health/metrics) instead of 9090 (application port)
charts/plugin-barman-cloud/Chart.yaml Incremented patch version to 0.4.1 to reflect the bug fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[plugin-barman-cloud] Readiness probe does not allow HA

1 participant