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

create a healthcheck #38

Open
pieterlange opened this issue Mar 6, 2017 · 6 comments
Open

create a healthcheck #38

pieterlange opened this issue Mar 6, 2017 · 6 comments

Comments

@pieterlange
Copy link
Owner

Preferably accessible over HTTP but otherwise execable

@pieterlange
Copy link
Owner Author

this has not been updated because the entrypoint exec's the openvpn binary and it rarely if ever crashes.

I would consider a readiness check but i'm looking for input from users.

@mtsgrd
Copy link

mtsgrd commented Aug 30, 2018

I made a sidecar with a few lines of Go, not because it helps verify the VPN server is responding, but because the AWS LB health checks otherwise continuously generated a lot of noise in the VPN server logs.

@pieterlange
Copy link
Owner Author

Sharing is caring :). I'm sure it's pretty simple but i might incorporate it (i do too hate the flooded logs from ELB healthchecks)

@mtsgrd
Copy link

mtsgrd commented Aug 31, 2018

I'll send you a PR over the weekend! Also, just fyi, maybe you're interested in this commit as well? Say you have an RDS database attached to your k8s VPC that isn't publicly accessible, you won't be able to connect to it over VPN unless you also route to the VPC cidr.

@pieterlange
Copy link
Owner Author

Ah, i was actually in the process of removing specific envs for routes (as you can stick them into $OVPN_ROUTES) so i won't need that one :). Thanks anyway!

@mtsgrd
Copy link

mtsgrd commented Aug 31, 2018

Ah, ofc, that makes a lot of sense!

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

No branches or pull requests

2 participants