logoalt Hacker News

louwrentiusyesterday at 6:12 AM3 repliesview on HN

Why would some form of service discovery be required? No need to discover things if you can push said information in configuration updates using tools like Ansible, pyinfra, and so on?


Replies

protocoltureyesterday at 6:31 AM

How does your convoluted Ansible system know which systems and services to maintain.

If its a list of IP addresses, having a list of ip addresses is a crude service discovery protocol.

Tasking developers (because lets be absolutely clear, the idea of removing DNS from production environments is something only a developer could come up with, no competent engineer would ever raise) with maintaining ordered lists of servers to keep updated is only going to overcomplicate things.

And yes your hosts file is another example of a list.

throwway120385yesterday at 8:11 PM

What you're asking is akin to "why do people sometimes need a boat to get from point A to point B? All I've used are cars and I think that should be fine."

kube-systemyesterday at 8:10 PM

You probably don't need service discovery if your entire infrastructure is small enough that the whole thing is deployed with Ansible.