Cluster Networking
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
This file covers the clusters networking command family. It manages Application Networking
, which is available in early access. Commands that change a cluster’s networking need the Application Networking entitlement, which early-access licences include. Read-only commands such as status, host-agent-status, policy validate, policy history and policy integrations do not, and neither does host-agent-revoke.
Commands
nomatron clusters networking statusnomatron clusters networking connectnomatron clusters networking disconnectnomatron clusters networking retry-cleanupnomatron clusters networking host-agent-statusnomatron clusters networking host-agent-deploynomatron clusters networking host-agent-repairnomatron clusters networking host-agent-revokenomatron clusters networking policy validatenomatron clusters networking policy pushnomatron clusters networking policy sourcenomatron clusters networking policy historynomatron clusters networking policy integrations
Every command needs --name (the cluster name). Add --organization <name> for an organisation-scoped cluster; leave it out for a global cluster.
Host Agents
nomatron clusters networking host-agent-deploy --name production --acknowledge-privileged-access
nomatron clusters networking host-agent-status --name production
nomatron clusters networking host-agent-repair --name production
nomatron clusters networking host-agent-revoke --name production --agent-id <AGENT_ID>| Flag | Command | Meaning |
|---|---|---|
--mode | host-agent-deploy | nomad_system_job (default), external_service or disabled. |
--agent-version | host-agent-deploy | Host Agent version to deploy. Leave it out to use the version that matches your server. |
--acknowledge-privileged-access | host-agent-deploy | Confirms that the Host Agent runs with privileged host access. Without it the command asks you to type yes, and fails when it is not run in a terminal. |
--agent-id | host-agent-revoke | The agent to revoke (required). Revocation is permanent. |
host-agent-status shows Host Agent coverage. When automatic deployment is blocked, it lists the clients that are missing the Nomad Docker plugin settings and prints the client configuration to apply. host-agent-deploy also upgrades, switches mode or disables Host Agents. host-agent-repair redeploys the Nomatron-managed Host Agent job, for example after an upgrade. See Host Agents
.
Connect, Status And Disconnect
nomatron clusters networking connect --name production --method byo
nomatron clusters networking status --name production
nomatron clusters networking disconnect --name production
nomatron clusters networking retry-cleanup --name production| Flag | Command | Meaning |
|---|---|---|
--method | connect | docker, byo (default) or managed. |
--cni-name | connect | CNI plugin name for the Cilium modes (default cilium). |
retry-cleanup retries removal of Nomatron-owned networking components after a disconnect. It exits with an error and prints the reason while cleanup is still incomplete. See Connecting A Cluster
for prerequisites, including the datastore, which you set in the UI or API.
Policies
nomatron clusters networking policy validate --name production --body "$(cat policies/allow-web.yaml)"
nomatron clusters networking policy push --name production --body "$(cat policies/allow-web.yaml)"
nomatron clusters networking policy history --name production
nomatron clusters networking policy integrations --name production
nomatron clusters networking policy source --name production \
--connection-id <CONNECTION_ID> --repo acme/network-policies --ref main --path cilium/| Flag | Command | Meaning |
|---|---|---|
--source-mode | validate, push | inline (default) or git. |
--body | validate, push | The policy YAML or JSON, for inline. |
--connection-id | validate, push, source | GitHub App connection ID, for git. List them with policy integrations. |
--repo | validate, push, source | Repository as owner/name. |
--ref | validate, push, source | Git ref. source defaults to main. |
--path | validate, push, source | Policy file or directory in the repository. |
policy source saves the Git source for the cluster’s policies. Policies apply only in the Cilium modes. To roll back to an earlier policy snapshot, use the UI.