cabrinoob / rancher-registrator

A registrator-like made for Consul & Rancher
15 stars 16 forks source link

Any plans for ttl? #3

Open blackside opened 7 years ago

blackside commented 7 years ago

Just curious to know if you are planning to do something more with this registrator? For example the -ttl functionality of the original registrator?

cabrinoob commented 7 years ago

Why not. It depends of how much time I can allocate to this. The last functionality I worked on is the possibility to add metadata to the K/V store of consul at the same time you register the service.

I created a new label SERVICE_XXX_ROUTE_PATH[BEG|REG] which allows me to generate ACLs and backend in HAProxy through consul-template. This functionnality needs to be deeper tested before I merge it.

But for the TTL, why not. It's not a functionnality I used with the original registrator. I have to take a look at it.