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

[bitnami/contour] Expose NodePort for the metrics port in the Envoy service #29818

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ethervoid
Copy link

@ethervoid ethervoid commented Oct 8, 2024

Description of the change

When deploying Contour behind an existing load balancer, such as an AWS ALB, health checks are often required for the target group.

The Envoy health check endpoint is not exposed, making it unavailable for such checks. This change adds the option to expose the metrics port as a NodePort, enabling health checks to be performed.

Benefits

You're able to configure your Envoy service to expose the metrics as NodePort so you're able to perform external, from the Cluster, health checks to Envoy.

For example, if you're using a TargetGroupBinding you are not able to define those health checks pointing to the /ready endpoint

Possible drawbacks

Nodes shouldn't be publicly accessible but if you define this NodePort those endpoints would be accessible from the outside.

Checklist

  • Chart version bumped in Chart.yaml according to semver. This is not necessary when the changes only affect README.md files.
  • Variables are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Title of the pull request follows this pattern [bitnami/<name_of_the_chart>] Descriptive title
  • All commits signed off and in agreement of Developer Certificate of Origin (DCO)

When deploying Contour behind an existing load balancer, such as an AWS ALB, health checks are often required for the target group.

Currently, the Envoy health check endpoint is not exposed, making it unavailable for such checks. This change adds the option to expose the metrics port as a NodePort, enabling health checks to be performed.

Signed-off-by: Mario de Frutos <mario@defrutos.org>
@ethervoid ethervoid force-pushed the contour_include_metrics_as_nodeport branch from bc7abbd to e38fb6a Compare October 8, 2024 12:26
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
@carrodher carrodher added verify Execute verification workflow for these changes in-progress labels Oct 8, 2024
@github-actions github-actions bot removed the triage Triage is needed label Oct 8, 2024
@github-actions github-actions bot removed the request for review from carrodher October 8, 2024 13:14
@github-actions github-actions bot requested a review from migruiz4 October 8, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contour in-progress verify Execute verification workflow for these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants