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

Fix #146 add annotation for add http check #148

Closed
wants to merge 7 commits into from
Closed

Fix #146 add annotation for add http check #148

wants to merge 7 commits into from

Conversation

Veres72
Copy link

@Veres72 Veres72 commented Oct 8, 2019

I try to resolve #146
Annotation, that add service HTTP check with POD_IP and ServicePort.
It allows adding HTTP checks because by default services check only by TCP check.

@hashicorp-cla
Copy link

hashicorp-cla commented Oct 8, 2019

CLA assistant check
All committers have signed the CLA.

@lkysow lkysow added the type/enhancement New feature or request label Oct 9, 2019
@lkysow lkysow added the theme/health-checks About Consul health checking label Oct 16, 2019
@lkysow
Copy link
Member

lkysow commented Oct 16, 2019

Might solve #155

@omerlh
Copy link

omerlh commented Feb 4, 2020

Any update regarding this PR? Will it be merged?

@pbusko
Copy link

pbusko commented May 19, 2020

Any chance that this PR will be merged?

@lkysow
Copy link
Member

lkysow commented May 19, 2020

Hi @pbusko and others, we need to do a broad review of our approach to health checks so I don't think this will be merged until we get to that. The things we need to think about are:

  • should we support consul-specific health checks or do we want to hook into the kube readiness or liveliness checks so users don't need to configure both
  • if we hook into readiness/liveness probes which ones do we use and how does this effect connect traffic
  • how do we integrate with the external paths support for exposing services through the envoy proxy

@lkysow
Copy link
Member

lkysow commented Nov 28, 2020

Hi all, with the release of consul-helm 0.26.0 we support syncing kube readiness status to Consul. So instead of setting checks via annotations in the PR can you try creating kube readiness probes? That way Consul and Kube will agree on the readiness status.

@lkysow lkysow added waiting-reply Waiting on the issue creator for a response before taking further action area/connect Related to Connect service mesh, e.g. injection labels Nov 28, 2020
@lkysow
Copy link
Member

lkysow commented Apr 8, 2021

Closing because setting kube readiness probes is the recommended way.

@lkysow lkysow closed this Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connect Related to Connect service mesh, e.g. injection theme/health-checks About Consul health checking type/enhancement New feature or request waiting-reply Waiting on the issue creator for a response before taking further action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

connect sidecar add healthcheck in annotation
7 participants