nais job run delete
nais job run delete RUN-NAME [flags]
This command deletes an individual job run (a Kubernetes batch/v1 Job).
Inherited options
--config- Specify the
PATHto the configuration file. --confirm-login- Ask for confirmation before starting required login flows. Interactive terminals only.
-e,--environment- Select or filter by Nais
ENVIRONMENT, for example dev-gcp or prod-gcp. Overrides the environment configured with nais defaults set environment. --no-colors- Disable colors in the output.
-t,--team- Select the Nais
TEAMthat owns the resources. Overrides the team configured with nais defaults set team. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.
Examples
# Delete a job run named my-job-20250318-120000 in environment dev.
$ nais job run delete my-job-20250318-120000 --environment dev