Skip to content

Commit 6c9199b

Browse files
spurinTim Bannister
andauthored
Update content/en/docs/concepts/workloads/controllers/job.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent e825ef3 commit 6c9199b

File tree

1 file changed

+1
-1
lines changed
  • content/en/docs/concepts/workloads/controllers

1 file changed

+1
-1
lines changed

content/en/docs/concepts/workloads/controllers/job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ You can also toggle Job suspension by patching the Job using the command line.
541541
Suspend an active Job:
542542

543543
```shell
544-
kubectl patch job/myjob -p '{"spec":{"suspend":true}}'
544+
kubectl patch job/myjob --type=strategic --patch '{"spec":{"suspend":true}}'
545545
```
546546

547547
Resume a suspended Job:

0 commit comments

Comments
 (0)