Skip to content

decouple validation webhook's health checking and reconciliation loop#7986

Merged
costinm merged 1 commit intoistio:release-1.0from
ayj:decouple-health-check-reconcile
Aug 21, 2018
Merged

decouple validation webhook's health checking and reconciliation loop#7986
costinm merged 1 commit intoistio:release-1.0from
ayj:decouple-health-check-reconcile

Conversation

@ayj
Copy link
Copy Markdown
Contributor

@ayj ayj commented Aug 16, 2018

The validation webhook's health file updates and configuration
reconciliation were invoked from the same goroutine. Delays in
checking and updating the k8s configuration could result in the health
file not being updated in time to pass the health checks. Use
istio.io/istio/pkg/probe to decouple the two code paths.

fixes #7586

The validation webhook's health file updates and configuration
reconciliation were invoked from the same goroutine. Delays in
checking and updating the k8s configuration could result in the health
file not being updated in time to pass the health checks. Use
istio.io/istio/pkg/probe to decouple the two code paths.
@istio-testing
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: ayj

If they are not already assigned, you can assign the PR to them by writing /assign @ayj in a comment when ready.

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ayj ayj added this to the 1.0 milestone Aug 17, 2018
@ayj ayj requested review from costinm and rshriram and removed request for cmluciano August 17, 2018 17:09
Copy link
Copy Markdown
Contributor

@costinm costinm left a comment

Choose a reason for hiding this comment

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

Restarted circle, will merge if it succeeds.

@costinm costinm merged commit b0af56d into istio:release-1.0 Aug 21, 2018
ayj added a commit to ayj/istio that referenced this pull request Aug 21, 2018
…istio#7986)

The validation webhook's health file updates and configuration
reconciliation were invoked from the same goroutine. Delays in
checking and updating the k8s configuration could result in the health
file not being updated in time to pass the health checks. Use
istio.io/istio/pkg/probe to decouple the two code paths.
rshriram pushed a commit that referenced this pull request Aug 22, 2018
* Improve config validation health checks (#7605)

Readiness and liveliness probes were failing on some providers because
GET requests were blocking for multiple seconds. Mitigate the issue
by decreasing the frequency of GET (to avoid possible throttling) and
increase the acceptable health check interval from 4s to 10s.

Shorm term fix for #7586. Longer
term fix requires switching to proper controller-style
reconciliation. That work should be aligned with the sidecar injector.

* decouple validation webhook's health checking and reconciliation loop (#7986)

The validation webhook's health file updates and configuration
reconciliation were invoked from the same goroutine. Delays in
checking and updating the k8s configuration could result in the health
file not being updated in time to pass the health checks. Use
istio.io/istio/pkg/probe to decouple the two code paths.
@ayj ayj deleted the decouple-health-check-reconcile branch October 17, 2018 16:54
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

Successfully merging this pull request may close these issues.

4 participants