-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support for indiviual A records (etcd-%d.example.org) #41
Comments
I think it shouldn't be that hard to do it, https://github.com/zalando-incubator/stups-etcd-cluster/blob/master/etcd.py#L555 has all necessary information for that. But the question is, how |
Yup, this I don't know, will try to look into it. |
@mikkeloscar maybe we can (instead of using etcd proxy) do the DNS discovery "manually" during node startup on Container Linux. That would be rather safe IMHO, get rid of one moving part (etcd proxy) and would not require any changes in the STUPS etcd cluster. |
@hjacobs but we would still need to handle the case were the etcd cluster is updated. Coreos uses the etcd3 gateway/proxy themselves fwiw. |
Currently there is support for service discovery through SRV records. This is somewhat working with the etcd2 proxy in Container Linux, but seem to be faced out with etcd3.
There is support for it in the etcd3 gateway/proxy but there has been no updates for a long time and AFAIK it doesn't even work right now as it will generate a list of endpoints with the wrong format:
[endpoint1.:2379,endpoint2.:2379]
.It's an easy fix, but shows that no one is really using it.
A more common setup is to pass the application or etcd3 gateway a list of endpoints. So I'm wondering if this could be supported in the appliance?
Essentially it should just create individual A records:
Which could then be configured in the etcd3 gateway:
Is it as simple as just creating these records, or is there more to it?
/cc @CyberDem0n
The text was updated successfully, but these errors were encountered: