-
Notifications
You must be signed in to change notification settings - Fork 12
Only create DNS records for services explicitly annotated #90
Comments
Hi @chancez, we recently implemented this feature and it's part of Have a look at this PR: #84 In a nutshell, you can configure
|
Great, that would do what I want I believe then. |
In all fairness, --kubernetes-filter is mentioned in the release logs of v0.6.0, however it is worth mentioning in the README as well :) |
docs for the flag #92 |
I tried this functionality and my kuberntes deployment looks like this:
however immediately the container goes into a back off crash loop and the only logs I get out are: Where did I screw up? I'm using release v0.6.1 |
missing |
I just double checked the Args look EXACTLY like they do in my original post.
|
I meant have u tried |
AH HA! That's what it was. I was hoping that this could help my rate limiting problem but doesn't seem too. I continually get lots that show mate is querying DNS and attempting to change records to zones that it has not business in... I'll open another bug. |
I would like to only have explicitly annotated services to have DNS records associated with their load balancer, but if
zalando.org/dnsname
is not set, it will fallback to--kubernetes-format
. I would prefer to have an configuration option which let's me disable this by requiringmate
to only create DNS for services I explicitly tell it to.Perhaps a flag for an annotation to use as an indicator could be used. Ex you could have an annotation
zolando.org/dns.class
which has a value ofmate
by default. This would be similar toingress-class
for the nginx ingress, which allows running multiple ingress controllers. https://github.com/kubernetes/ingress/tree/master/controllers/nginx#running-multiple-ingress-controllersWhen configured, mate would only look at services with
zolando.org/dns.class=mate
, wheremate
could be something the user specifies on the controller (via a flag or env var) and on the annotation. This feature would allow for running multiple instances ofmate
in a single cluster, and also allows the admin to disablemate
(by not setting thezolando.org/dns.class
annotation) for particular services.The text was updated successfully, but these errors were encountered: