Merge pull request #80 from lhoBas/fix/k8s-cronjob

examples/k8s-cronjob.yaml: fix job naming
This commit is contained in:
Michael 2023-08-31 08:33:12 +01:00 committed by GitHub
commit bed11e83f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ spec:
apiVersion: batch/v1 apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: FediFetcher name: fedifetcher
spec: spec:
# Run every 2 hours # Run every 2 hours
schedule: "0 */2 * * *" schedule: "0 */2 * * *"
@ -30,7 +30,7 @@ spec:
persistentVolumeClaim: persistentVolumeClaim:
claimName: fedifetcher-pvc claimName: fedifetcher-pvc
containers: containers:
- name: FediFetcher - name: fedifetcher
image: ghcr.io/nanos/fedifetcher:latest image: ghcr.io/nanos/fedifetcher:latest
args: args:
- --server=your.server.social - --server=your.server.social