Operator for CronJob resources
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
321 B

  1. apiVersion: blindage.org/v1alpha1
  2. kind: CronOp
  3. metadata:
  4. name: mycron
  5. spec:
  6. image: "python:3"
  7. tasks:
  8. - name: print-test
  9. commands:
  10. - python
  11. - -c
  12. - print("test")
  13. schedule: "* * * * *"
  14. - name: print-test2
  15. commands:
  16. - python
  17. - -c
  18. - print("test task 2")
  19. schedule: "* * * * *"