Deployment Safety And Drift
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
Nomatron is designed to make Nomad deployment workflows more controlled, reviewable, and supportable.
Deployment safety is not one feature. It is the combination of planning, approval, RBAC, environment rules, operation history, and clear ownership around changes.
Deployment Safety
Nomatron helps teams improve deployment safety by creating a visible path from source change to Nomad apply.
That path usually includes:
- a Git-backed change;
- a generated plan;
- a human review point;
- an approval decision;
- an apply operation;
- release and operation history; and
- follow-up verification.
This gives teams more context than a pipeline that simply runs a command against Nomad.
Approval Gates
Approval policies help teams decide who can approve a deployment and when approval is required.
Start with a simple policy that matches the first rollout workflow. Add complexity only after the team understands how plans, approvals, and applies behave in practice.
RBAC And Ownership
RBAC determines who can view, change, approve, and operate resources.
For safer rollout, keep initial access narrow:
- a small set of administrators;
- clear approval owners;
- explicit app and environment scope; and
- documented fallback ownership if the main approver is unavailable.
Drift-Oriented Workflows
Drift happens when the actual operational state no longer matches the expected deployment model.
In Nomad environments, drift can come from:
- emergency manual changes;
- out-of-band CLI actions;
- changed variables or templates;
- failed or partial deployments;
- environment-specific hotfixes; or
- older scripts and CI/CD jobs still applying changes.
Nomatron helps teams make those workflows more visible so operators can decide whether to investigate, reconcile, or accept a known difference.
Accept Drift And Git Write-Back
Accept-drift rebases Nomatron’s desired state onto the live Nomad job for a target.
For NOMAD jobs connected to GitHub, accept-drift also best-effort opens a pull request that writes the accepted live job back to the connected jobspec file in its stored format (JSON or HCL). Nomatron uses the GitHub job as a field mask plus a semantic drift diff so Nomad default noise is omitted from review. TEMPLATE jobs skip git write-back.
This requires the GitHub App Contents permission to be Read and write. Existing installs must approve the permission upgrade in GitHub. See GitHub App .
Accepting drift updates the drift baseline. It is not a substitute for rollback. To restore a prior healthy release in the same environment, use a rollback .
First Workflow Guidance
For the first workflow:
- choose a workload with a clear owner;
- document the current deployment path;
- create one approval policy;
- run a small change through plan, approval, and apply;
- verify the result in Nomad;
- review operation history with the team; and
- capture any out-of-band changes that could create drift.
The goal is to build operational confidence before expanding to more teams, clusters, and environments.