Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Adds healthz endpoint #10

Merged
merged 1 commit into from
Dec 11, 2017
Merged

Adds healthz endpoint #10

merged 1 commit into from
Dec 11, 2017

Conversation

r7vme
Copy link
Contributor

@r7vme r7vme commented Dec 11, 2017

Fixes: #5

Tested, now node-controller restarted if master dies.

  1. count errors
  2. healthz will response with http 500 error count is not 0

1) count errors
2) healthz will response with http 500 error count is not 0
Copy link

@calvix calvix left a comment

Choose a reason for hiding this comment

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

I guess it helps, but we should try migrate to operator kit at some point.

r7vme pushed a commit to giantswarm/kvm-operator that referenced this pull request Dec 11, 2017
We need one to restart node-controller if it's stuck with broken
tcp connections.

Depend:
giantswarm/kvm-operator-node-controller#10
@r7vme r7vme merged commit 6854dc2 into master Dec 11, 2017
@r7vme r7vme deleted the healtz branch December 11, 2017 15:51
r7vme pushed a commit to giantswarm/kvm-operator that referenced this pull request Dec 11, 2017
We need one to restart node-controller if it's stuck with broken
tcp connections.

Depend:
giantswarm/kvm-operator-node-controller#10
@xh3b4sd
Copy link

xh3b4sd commented Dec 11, 2017

Since this is a rather ugly workaround I hope we can improve this later on. Is there some movement in your k8s-client issue? I would prefer getting the design right with the circuit breaker idea and create a new client to get new TCP connections on each reconciliation.

@r7vme
Copy link
Contributor Author

r7vme commented Dec 11, 2017

there is a silence kubernetes/client-go#342

r7vme pushed a commit to giantswarm/kvm-operator that referenced this pull request Dec 12, 2017
We need one to restart node-controller if it's stuck with broken
tcp connections.

Depend:
giantswarm/kvm-operator-node-controller#10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants