consul-on-kubernetes icon indicating copy to clipboard operation
consul-on-kubernetes copied to clipboard

Consul On Kubernetes

Open UlaganathanNamachivayam opened this issue 7 years ago • 6 comments

@kelseyhightower How does it help running consul on kubernetes. How anyone can be able register kubernetes services on to consul and utilize it as service discovery tool over DNS. I am not finding any reference utilizing consul as a service discovery tool for kubernetes.

Kindly share your thoughts/notes if it is a viable solution.

UlaganathanNamachivayam avatar Mar 22 '17 18:03 UlaganathanNamachivayam

Hi, I'd like to understand why one would run Consul on Kubernetes too please. Could you explain the motivation?

sabrehagen avatar Jun 27 '17 05:06 sabrehagen

Hello Jackson,

We use Consul because that's what our previous backend guy already uses for service discovery and key-value store before we moved into Kubernetes. I know that Kubernetes has the necessary components built-in to support service discovery and kv store. Isn't it?

On Tue, Jun 27, 2017 at 1:56 PM, Jackson Delahunt [email protected] wrote:

Hi, I'd like to understand why one would run Consul on Kubernetes too please. Could you explain the motivation?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kelseyhightower/consul-on-kubernetes/issues/11#issuecomment-311260682, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhWeUSu1E0mgyLMqKFy0t5mAN3-HGVlks5sIJmYgaJpZM4MlnPE .

-- Eduardo D. Bergavera, Jr. Linux Admin Email: [email protected] OpenID: https://launchpad.net/~edbergavera Github: https://github.com/edbergavera

edbergavera avatar Jun 27 '17 10:06 edbergavera

That is true, and hence our confusion :) I use Consul too for service discovery from the era when this was conventional.

sabrehagen avatar Jun 27 '17 10:06 sabrehagen

@sabrehagen Consul has other use cases like backing Vault and provide cross cluster service discovery.

kelseyhightower avatar Aug 04 '17 13:08 kelseyhightower

I was asked the same questions, and I agree with @kelseyhightower . I like the healthy check feature and I can define my own rules.

dotw avatar Sep 16 '17 03:09 dotw

Also leader election, distributed locking, persistent KV storage between task runs. It's always nice to have something you can just curl shortcut with a bash script to store a value and fetch/update it later with another curl shortcut.

combatpoodle avatar Jul 06 '18 04:07 combatpoodle