Created
December 11, 2019 05:13
-
-
Save rbudiharso/0b277d825c9b53d8a6160742a97a248c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: batch/v1beta1 | |
kind: CronJob | |
metadata: | |
name: periodic-weather | |
spec: | |
schedule: "*/1 * * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: | |
containers: | |
- image: rbudiharso/weather-job | |
name: get-weather | |
# env: | |
# - name: city | |
# value: Bandung | |
# - name: apikey | |
# value: 123123123 | |
restartPolicy: OnFailure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment