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 status
  • nomatron clusters networking connect
  • nomatron clusters networking disconnect
  • nomatron clusters networking retry-cleanup
  • nomatron clusters networking host-agent-status
  • nomatron clusters networking host-agent-deploy
  • nomatron clusters networking host-agent-repair
  • nomatron clusters networking host-agent-revoke
  • nomatron clusters networking policy validate
  • nomatron clusters networking policy push
  • nomatron clusters networking policy source
  • nomatron clusters networking policy history
  • nomatron 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

bash
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>
FlagCommandMeaning
--modehost-agent-deploynomad_system_job (default), external_service or disabled.
--agent-versionhost-agent-deployHost Agent version to deploy. Leave it out to use the version that matches your server.
--acknowledge-privileged-accesshost-agent-deployConfirms 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-idhost-agent-revokeThe 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

bash
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
FlagCommandMeaning
--methodconnectdocker, byo (default) or managed.
--cni-nameconnectCNI 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

bash
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/
FlagCommandMeaning
--source-modevalidate, pushinline (default) or git.
--bodyvalidate, pushThe policy YAML or JSON, for inline.
--connection-idvalidate, push, sourceGitHub App connection ID, for git. List them with policy integrations.
--repovalidate, push, sourceRepository as owner/name.
--refvalidate, push, sourceGit ref. source defaults to main.
--pathvalidate, push, sourcePolicy 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.