Loading...
Get the list of CronJobs in the specified cluster and namespace.
OK
active job count
1
"2023-06-14 09:30:39"
Image list
"nginx:latest"
"2023-06-14 09:31:00"
CronJob name
"cronjob"
namespace name
"cocktail-system"
"* * * * *"
false
const response = await fetch('/v1/clusters/{clusterId}/namespaces/{namespaceName}/cronjobs', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "activeJobCnt": 1, "creationTimestamp": "2023-06-14 09:30:39", "images": [ "nginx:latest" ], "labels": { "app": "test" }, "lastScheduleTime": "2023-06-14 09:31:00", "name": "cronjob", "namespace": "cocktail-system", "schedule": "* * * * *", "suspend": false } ]