nodus apply
View Markdownnodus apply
Section titled “nodus apply”Create or update resources from manifests (client-side three-way merge)
nodus apply -f FILE|DIR|- [flags]Examples
Section titled “Examples” nodus apply -f job.yaml nodus apply -f job.yaml --dry-run=server -o estimate nodus apply -f manifests/ --prune -l app=trainerOptions
Section titled “Options” --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 --pruneOptions inherited from parent commands
Section titled “Options inherited from parent commands” --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)SEE ALSO
Section titled “SEE ALSO”- nodus - Run compute Jobs on Nodus
Tested examples
Section titled “Tested examples”These invocations run in CI against the CLI’s fake API.
nodus apply -f keep.yaml --dry-run=clientnodus apply -f keep.yaml -f old.yaml -f other.yamlnodus apply -f keep.yaml --prune -l app=trainer --dry-run=servernodus apply -f keep.yaml --prune -l app=trainer --dry-run=client -o namenodus apply -f keep.yaml --prune -l app=trainernodus apply -f jobs.yamlnodus apply -f job.yamlnodus apply -f job-v2.yamlnodus apply -f job.yaml --dry-run=server -o estimatenodus apply -f bad.yamlnodus apply -f dev.yamlnodus apply -f pool.yaml