Re:Take a look at Nomad before jumping on Kubernetes
by okso on Sunday February 28, 2021 @11:37AM
(#26294517)
HCL is JSON compatible, and Nomad can load JSON natively.
[ Parent
| on HN ]
Re:Take a look at Nomad before jumping on Kubernetes
by gravypod on Sunday February 28, 2021 @12:44PM
(#26295182)
I assumed that was a possibility but that still means "HCL" isn't a benefit since kubectl can load json from the CLI and from apiserver.
Re:Take a look at Nomad before jumping on Kubernetes
by mrkurt on Sunday February 28, 2021 @11:46AM
(#26294604)
It can only load json with the api, the nomad CLI can't launch json jobs.
Re:Take a look at Nomad before jumping on Kubernetes
by hedwall on Monday March 01, 2021 @09:27AM
(#26303037)
Yes it can.
"For machine-friendliness, Nomad can also read JSON-equivalent configurations. In general, we recommend using the HCL syntax."
https://www.nomadproject.io/docs/job-specification#job-speci...
Re:Take a look at Nomad before jumping on Kubernetes
by core-questions on Sunday February 28, 2021 @12:42PM
(#26295162)
But who would use the Nomad CLI for serious work? I use the Terraform provider for Nomad to launch all my jobs.
Re:Take a look at Nomad before jumping on Kubernetes
by AnxiousCoward on Thursday March 11, 2021 @03:02AM
(#26421498)
You may not use it for automation. But you usually do much exploratory work before doing the automation. That's where the various CLIs for all kinds of things come in really handy.