Environments

Nomatron is in early access. Some advanced workflows may not be covered in the public docs.

This file covers the environments command family.

Commands

  • nomatron environments list
  • nomatron environments create
  • nomatron environments read
  • nomatron environments update
  • nomatron environments delete
  • nomatron environments reorder

When To Use Them

  • Use these commands to manage environment definitions for an app. Environments belong to the app, not to an individual app job.
  • Use them when controlling rollout order, namespace selection, and environment-specific cluster targeting.

How To Use Them

List environments:

bash
nomatron environments list --organization acme --app api

Read one environment:

bash
nomatron environments read --organization acme --app api --environment prod

Examples

Create an environment:

bash
nomatron environments create \
  --organization acme \
  --app api \
  --name Production \
  --slug prod \
  --namespace api \
  --cluster-id cluster-uuid \
  --priority 2

Reorder environments:

bash
nomatron environments reorder \
  --organization acme \
  --app api \
  --slugs dev,staging,prod