Skip to content

nodus apply

View Markdown

Create or update resources from manifests (client-side three-way merge)

nodus apply -f FILE|DIR|- [flags]
nodus apply -f job.yaml
nodus apply -f job.yaml --dry-run=server -o estimate
nodus apply -f manifests/ --prune -l app=trainer
--dry-run string[="server"] server returns the estimate without creating; none, server or client (default "none")
-f, --filename strings Manifest files or directories; - reads stdin
-h, --help help for apply
-o, --output string Output format: name, json, yaml, or estimate (with --dry-run=server)
--prune Delete objects matching -l that the manifests no longer contain
-R, --recursive Walk directories recursively
-l, --selector string Label selector for --prune
--context string Context from the config file to use
--org string Organization (selects the context for that org)
-p, --project string Project to work in
-v, --verbose Log each API request (never credentials)
  • nodus - Run compute Jobs on Nodus

These invocations run in CI against the CLI’s fake API.

Terminal window
nodus apply -f keep.yaml --dry-run=client
nodus apply -f keep.yaml -f old.yaml -f other.yaml
nodus apply -f keep.yaml --prune -l app=trainer --dry-run=server
nodus apply -f keep.yaml --prune -l app=trainer --dry-run=client -o name
nodus apply -f keep.yaml --prune -l app=trainer
nodus apply -f jobs.yaml
nodus apply -f job.yaml
nodus apply -f job-v2.yaml
nodus apply -f job.yaml --dry-run=server -o estimate
nodus apply -f bad.yaml
nodus apply -f dev.yaml
nodus apply -f pool.yaml