You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how does this translate in estafette, in particular, a cron job might be a "sidecar" of an app.. i didn't understand how i can set a container image (other thant the estafette extension image), so the two arrows above
apiVersion: batch/v1
kind: CronJob
metadata:
name: hello
spec:
schedule: "* * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hello
image: busybox:1.28 ##<<<<<<<<< i want to be able to set whatever image to invoke a custom command
imagePullPolicy: IfNotPresent
command: #<<<<<<< i want to set a custom command running from that image
- /bin/sh
- -c
- date; echo Hello from the Kubernetes cluster
restartPolicy: OnFailure
The text was updated successfully, but these errors were encountered:
i think image and command could be exposed for cronjob type, also maybe another action like deploy-multistage, to have separate manual trigger on stages.
https://kubernetes.io/docs/tasks/job/automated-tasks-with-cron-jobs/
how does this translate in estafette, in particular, a cron job might be a "sidecar" of an app.. i didn't understand how i can set a container image (other thant the estafette extension image), so the two arrows above
The text was updated successfully, but these errors were encountered: