remove example cronjobs for now since they don't work
This commit is contained in:
parent
d2c8140442
commit
a7e3c316a1
1 changed files with 42 additions and 42 deletions
|
@ -76,45 +76,45 @@ spec:
|
|||
kind: Deployment
|
||||
name: web-editor-node
|
||||
targetCPUUtilizationPercentage: 80
|
||||
---
|
||||
# cronjob for p5.js examples
|
||||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: fetch-examples-job
|
||||
spec:
|
||||
schedule: "0 0 * * 0"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: fetch-examples
|
||||
image: index.docker.io/catarak/p5.js-web-editor:latest
|
||||
command: ["npm", "run", "fetch-examples:prod"]
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: web-editor-credentials
|
||||
restartPolicy: Never
|
||||
---
|
||||
# cronjob for generative gestaltung p5.js examples
|
||||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: fetch-examples-gg-job
|
||||
spec:
|
||||
schedule: "30 0 * * 0"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: fetch-examples-gg
|
||||
image: index.docker.io/catarak/p5.js-web-editor:latest
|
||||
command: ["npm", "run", "fetch-examples-gg:prod"]
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: web-editor-credentials
|
||||
restartPolicy: Never
|
||||
# ---
|
||||
# # cronjob for p5.js examples
|
||||
# apiVersion: batch/v1beta1
|
||||
# kind: CronJob
|
||||
# metadata:
|
||||
# name: fetch-examples-job
|
||||
# spec:
|
||||
# schedule: "0 0 * * 0"
|
||||
# jobTemplate:
|
||||
# spec:
|
||||
# template:
|
||||
# spec:
|
||||
# containers:
|
||||
# - name: fetch-examples
|
||||
# image: index.docker.io/catarak/p5.js-web-editor:latest
|
||||
# command: ["npm", "run", "fetch-examples:prod"]
|
||||
# imagePullPolicy: Always
|
||||
# envFrom:
|
||||
# - secretRef:
|
||||
# name: web-editor-credentials
|
||||
# restartPolicy: Never
|
||||
# ---
|
||||
# # cronjob for generative gestaltung p5.js examples
|
||||
# apiVersion: batch/v1beta1
|
||||
# kind: CronJob
|
||||
# metadata:
|
||||
# name: fetch-examples-gg-job
|
||||
# spec:
|
||||
# schedule: "30 0 * * 0"
|
||||
# jobTemplate:
|
||||
# spec:
|
||||
# template:
|
||||
# spec:
|
||||
# containers:
|
||||
# - name: fetch-examples-gg
|
||||
# image: index.docker.io/catarak/p5.js-web-editor:latest
|
||||
# command: ["npm", "run", "fetch-examples-gg:prod"]
|
||||
# imagePullPolicy: Always
|
||||
# envFrom:
|
||||
# - secretRef:
|
||||
# name: web-editor-credentials
|
||||
# restartPolicy: Never
|
||||
|
|
Loading…
Reference in a new issue