Skip to content

Commit

Permalink
Cronjob주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
yongseongkim committed Jul 20, 2024
1 parent 030cf58 commit e5d13cc
Showing 1 changed file with 45 additions and 22 deletions.
67 changes: 45 additions & 22 deletions infra/helm/scc-server/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,48 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: scc-blur-face-in-accessibility-images
labels:
{{- include "scc-server.labels" . | nindent 4 }}
spec:
schedule: "*/5 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: curl-container
image: appropriate/curl
args:
- "--fail"
- "-XPOST"
- "http://scc-server.{{ .Release.Namespace }}.svc.cluster.local/blurFacesInLatestPlaceAccessibilityImages"
restartPolicy: OnFailure

---
#apiVersion: batch/v1
#kind: CronJob
#metadata:
# name: scc-blur-face-in-accessibility-images
# labels:
# {{- include "scc-server.labels" . | nindent 4 }}
#spec:
# schedule: "*/5 * * * *"
# jobTemplate:
# spec:
# template:
# spec:
# containers:
# - name: curl-container
# image: appropriate/curl
# args:
# - "--fail"
# - "-XPOST"
# - "http://scc-server.{{ .Release.Namespace }}.svc.cluster.local/blurFacesInLatestPlaceAccessibilityImages"
# restartPolicy: OnFailure
#
#---
#
#apiVersion: batch/v1
#kind: CronJob
#metadata:
# name: scc-blur-face-in-accessibility-images
# labels:
# {{- include "scc-server.labels" . | nindent 4 }}
#spec:
# schedule: "*/5 * * * *"
# jobTemplate:
# spec:
# template:
# spec:
# containers:
# - name: curl-container
# image: appropriate/curl
# args:
# - "--fail"
# - "-XPOST"
# - "http://scc-server.{{ .Release.Namespace }}.svc.cluster.local/blurFacesInLatestBuildingAccessibilityImages"
# restartPolicy: OnFailure
#
#---

apiVersion: batch/v1
kind: CronJob
Expand Down

0 comments on commit e5d13cc

Please sign in to comment.