nodus convert
View Markdownnodus convert
Section titled “nodus convert”Turn a 0.x nodus.toml or training file into manifests for nodus apply
Synopsis
Section titled “Synopsis”convert maps a 0.x nodus.toml or nodus.json onto a Job (a Pipeline when it has stages), and a nodus.training.json onto a TrainingRuntime and a TrainingJob. Every field that does not carry over is named on stderr; nothing is sent to the API.
nodus convert nodus.toml | nodus.json | nodus.training.json [flags]Examples
Section titled “Examples” nodus convert nodus.toml > job.yaml && nodus apply -f job.yaml nodus convert nodus.training.json --image ghcr.io/acme/trainer@sha256:... | nodus apply -f -Options
Section titled “Options” -h, --help help for convert --image string Trainer image for a nodus.training.json runtime --name string metadata.name for the manifests (default: the file's directory name) -o, --output string Output format: yaml or json (default "yaml")Options 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 convert nodus.tomlnodus convert --name 'Train Eval' nodus.tomlnodus convert -o json payload/nodus.jsonnodus convert --image ghcr.io/acme/trainer@sha256:0123 training/nodus.training.json