My case:
Now I do the following:
nomad run app.nomad through sshIs some way to run this task from deploy server to production cluster directly?
@trong the Nomad CLI is talking to Nomad via its HTTP API. So in order to run from the deploy server, the HTTP address that Nomad is listening on must be accessible. So this will involve setting up your networking rules properly.
When using the CLI you can give the address as follows (using the default IP:Port):
nomad run -address=127.0.0.1:4646 app.nomad
Most helpful comment
@trong the Nomad CLI is talking to Nomad via its HTTP API. So in order to run from the deploy server, the HTTP address that Nomad is listening on must be accessible. So this will involve setting up your networking rules properly.
When using the CLI you can give the address as follows (using the default IP:Port):
nomad run -address=127.0.0.1:4646 app.nomad