Yelp / nerve-tools

Tools for configuring SmartStack's Nerve based on local sources
Apache License 2.0
3 stars 12 forks source link

Add support for registering k8s services #43

Closed mattmb closed 6 years ago

mattmb commented 6 years ago

Adds a new call to get kubernetes services from paasta_tools.

Adds two new options to the service_info dict to allow us to override the host IP and the check IP. For kubernetes we initially want the pod IP for both and may later want a system level hacheck again.

NB: I haven't published the paasta_tools branch with get_kubernetes_services_running_here_for_nerve yet. So I will have to merge that first and update the paasta_tools version here before the tests pass.