Heavily inspired by Kelsey Hightower's Kubernetes the Hard Way.
This tutorial walks you through setting up Nomad the hard way. Why is it "the hard way"? It does not use the built-in drivers or network modes Nomad provides and instead looks to the community to bring in those features. There are also no scripts or automation tools used here.
The main drive behind this effort was to learn something new. Hence, Nomad the Hard Way is the result of building a Nomad cluster to better understand Nomad itself and different concepts of containerization including runtime, networking, and storage.
Containerization workloads are the focus for this exercise. Refer to the documentation to see the full capabilities of Nomad.
- Add lab on integration with the dnsname CNI plugin for DNS
- Add an Ingress Gateway
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The target audience for this tutorial is someone who is interesting in learning more about what goes into building a secure Nomad cluster and get a better understanding of CRIs (Container Runtime Interfaces) and CNIs (Container Network Interfaces).
Nomad the Hard Way guides you through bootstrapping a highly available Nomad cluster with end-to-end encryption (Gossip and TLS) between components.
- nomad v1.3.5
- containerd v1.6.4
- containerd driver v0.9.3
- cni v1.0.0
- GCE Persistent Disk CSI Driver v1.7.3
The full list of labs can be found here: