Merge pull request #22 from DavidSouther/delete-job
remove the job from the cluster
This commit is contained in:
commit
8e288b759b
2 changed files with 0 additions and 25 deletions
|
@ -1,23 +0,0 @@
|
||||||
apiVersion: batch/v1beta1
|
|
||||||
kind: CronJob
|
|
||||||
metadata:
|
|
||||||
name: pinger-job
|
|
||||||
spec:
|
|
||||||
schedule: "*/5 * * * *"
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: main
|
|
||||||
image: pingjob
|
|
||||||
env:
|
|
||||||
- name: FRONTEND_ADDR
|
|
||||||
value: "http://35.202.74.89"
|
|
||||||
restartPolicy: OnFailure
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
custom-job: pinger
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,8 +42,6 @@ build:
|
||||||
context: src/loadgenerator
|
context: src/loadgenerator
|
||||||
- image: adservice
|
- image: adservice
|
||||||
context: src/adservice
|
context: src/adservice
|
||||||
- image: pingjob
|
|
||||||
context: src/pingjob
|
|
||||||
tagPolicy:
|
tagPolicy:
|
||||||
gitCommit: {}
|
gitCommit: {}
|
||||||
deploy:
|
deploy:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue