Company
Date Published
Author
Chang Li
Word count
1976
Language
English
Hacker News points
6

Summary

HashiCorp Nomad is a mature orchestrator designed to focus solely on cluster management and scheduling, unlike Kubernetes which aims to build a powerful platform with all the features included. Nomad's architecture follows a Client-Server model with a single binary that can be configured as either a server or client agent. It supports virtualized, containerized, and standalone applications, and is more general purpose than Kubernetes. Nomad's core concepts include Jobs, Tasks, Task Groups, and Allocation, which are similar to Kubernetes' Deployments, ReplicaSets, and Pods. The cluster network in Nomad is the Node network, where each task group instance uses a unique port through dynamic assignment. Consul is used for networking with Nomad, providing service discovery and health checking capabilities. Nomad supports load balancing through its built-in load balancing functionality and integration with popular reverse proxies like NGINX. The system is designed to be highly available, with server nodes running in regions that can elect a leader and work together autonomously.