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

Crashes if the API server is unreachable #19

Closed
aermakov-zalando opened this issue Dec 5, 2018 · 3 comments
Closed

Crashes if the API server is unreachable #19

aermakov-zalando opened this issue Dec 5, 2018 · 3 comments
Labels

Comments

@aermakov-zalando
Copy link

The controller just crashes if the API server is unreachable. It should expose this information via the health check endpoint and continue retrying.

@szuecs
Copy link
Owner

szuecs commented Dec 7, 2018

A log would be helpful, or did not print anything?

@njuettner
Copy link
Collaborator

njuettner commented Apr 30, 2019

I can provide some logs:

E0430 12:56:54.213003       1 streamwatcher.go:109] Unable to decode an event from the watch stream: http2: server sent GOAWAY and closed the connection; LastStreamID=3, ErrCode=NO_ERROR, debug=""
time="2019-04-30T12:56:54Z" level=info msg="Watcher: stopped to watch ConfigMaps"
time="2019-04-30T12:56:54Z" level=info msg="closed channel event, restart watch"
time="2019-04-30T12:56:54Z" level=fatal msg="Watcher: Failed to enter ConfigMap watcher: Get https://10.3.0.1:443/api/v1/configmaps?labelSelector=egress%3Dstatic&watch=true: dial tcp 10.3.0.1:443: connect: connection refused"

https://github.com/szuecs/kube-static-egress-controller/blob/master/main.go#L225

@njuettner
Copy link
Collaborator

image

@szuecs szuecs closed this as completed May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants