Thanks for sharing. But please correct me if I’m wrong here, consider if someone forgot to add these terminologies in their job file then there is a very high chance that jobs can also deploy on those specific machines.
In k8, if add a specific taint on node then it is mandatory to add tolerations on the pod otherwise pods will not deploy on tainted nodes at all.
Do we have anything like this so that if any employee do not add such tolerations constraints then still s/he can deploy the job but server will automatically deploy the task on non-tainted machines.
On gitter community, I also got a suggestion to make those 2 machines in other datacenter and other machines in one datacenter. But does that help because I have only one server node. And even after having 2 server nodes does this approach help because as far as I know, leader nomad node will automatically place the job process in any of the datacenter or please let me know if we have any option to set a default data center.