Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 354 Bytes

kubectl_cronjob.md

File metadata and controls

14 lines (13 loc) · 354 Bytes

Kubectl Cronjob

  • Create a cronjob using Kubectl, from an existing Cronjob spec (yaml file):
kubectl create -f https://k8s.io/examples/application/job/cronjob.yaml
  • View CronJob details using Kubectl:
kubectl get cronjob hello
  • Delete a CronJob using Kubectl:
kubectl delete cronjob hello