Clusters
Nomatron is in early access. Some advanced workflows may not be covered in the public docs.
On this page
This file covers the clusters command family.
Commands
nomatron clusters listnomatron clusters createnomatron clusters readnomatron clusters updatenomatron clusters deletenomatron clusters poll
When To Use Them
- Use these commands to manage cluster registration and inspect cluster configuration.
- Use
pollwhen you need the control plane to refresh cluster state.
How To Use Them
List clusters:
nomatron clusters listRead a cluster:
nomatron clusters read --name prod-euExamples
Create a global cluster:
nomatron clusters create \
--name prod-eu \
--address https://nomad.example.com:4646 \
--token-file /run/secrets/nomad_acl_tokenCreate an org-scoped cluster:
nomatron clusters create \
--organization-name acme \
--name sandbox \
--address https://nomad.sandbox.example.com:4646 \
--token-file /run/secrets/nomad_acl_tokenOmit --organization-name to create the cluster in the global scope. Supply the Nomad ACL token with --token-file, --token-stdin, or $NOMATRON_NOMAD_ACL_TOKEN, never as a plain flag value. Use --no-acl only for clusters that do not use Nomad ACLs.
Poll a cluster after connectivity changes:
nomatron clusters poll --name prod-eu