3 ms·
For load balancing you can just run one of the common LB solutions (nginx, haproxy, Traefik) and pick up the services from the Consul service catalog. Traefik m
by adadgar 6y ago
For load balancing you can just run one of the common LB solutions (nginx, haproxy, Traefik) and pick up the services from the Consul service catalog. Traefik makes it quite nice since it integrates with LetsEncrypt and you can setup the routing with tags in your Nomad jobs: https://learn.hashicorp.com/nomad/load-balancing/traefik https://learn.hashicorp.com/nomad/load-balancing/traefik
What Nomad doesn’t do is setup a cloud provider load balancer for you.
For persistent storage, Nomad uses CSI which is the same technology K8s does: https://learn.hashicorp.com/nomad/stateful-workloads/csi-volumes https://learn.hashicorp.com/nomad/stateful-workloads/csi-vol...
Logging should be very similar to K8S. Both Nomad and K8S log to a file and a logging agent tails and ships the logs.
Disclosure, I am a HashiCorp employee.
- p_l 6y agoThanks, definitely widened my understanding of Nomad in pretty short time :) Kinda feels bad that I don't have anything to use it on right now.
- VectorLock 6y agoDoes the Nomad WebUI support any kind of auth or just the Nomad-Bearer thing? Thinking about completing my Hashicorp Bingo card.
- adadgar 6y agoIt is on the roadmap to support JWT/OIDC!