Integration with Nomad for managing Tilt workloads
hello team, its best tools for development. But do we have a roadmap to integrate with nomad which is hashicorp product? https://www.nomadproject.io/ We don't want complex k8s clusters we are simply running our container workload via nomad. and if we can integrate with nomad that would be awesome.
We don't currently have any Nomad-specific plans, but you could look at using local_resource and a bit of scripting to see if it meets your needs.
For example:
local_resource(
"my-nomad-job",
cmd='docker build -t my-image ./job',
deps=['./job', 'Dockerfile', 'deploy/job.nomad'],
serve_cmd='nomad job run deploy/job.nomad && nomad alloc logs -f ...',
)
The serve_cmd I gave is an example from a quick look at the Nomad docs - in practice, more scripting is necessary here to e.g. get the allocation ID from the run to use in the log tail. An exec readiness probe that integrates with nomad eval status could also be useful here.
what about traffic to route
and incremental change
are we going to look for supporting nomad ?
Hi @thatsk - as of right now, I don't have anything to share from our roadmap regarding support for Nomad in Tilt.
Any lights on this
@milas just wanted to see any updates on this one