Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 6ba0c17

Browse files
author
Edmund Rhudy
committed
Add section on manually triggering CronJobs
1 parent de82c32 commit 6ba0c17

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/cronjob.md

+4
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ by two instances (replicated or restarting) of the controller process.
322322

323323
We chose to use the hashed-date suffix approach.
324324

325+
## Manually triggering CronJobs
326+
327+
A user may wish to manually trigger a CronJob for some reason (see [#47538](http://issues.k8s.io/47538)), such as testing it prior to its scheduled time. This could be made possible via an `/instantiate` subresource in the API, which when POSTed to would immediately spawn a Job from the JobSpec contained within the CronJob.
328+
325329
## Future evolution
326330

327331
Below are the possible future extensions to the Job controller:

0 commit comments

Comments
 (0)