observatorium / thanos-receive-controller

Kubernetes controller to automatically configure Thanos receive hashrings
Apache License 2.0
93 stars 42 forks source link

main.go: use correct format for pod dns #9

Closed squat closed 5 years ago

squat commented 5 years ago

This commit corrects the generated stable DNS names for the hashring endpoints following the details in: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id.

fixes: #3

cc @metalmatze @brancz

brancz commented 5 years ago

lgtm :+1: