From e5d13cc256e2b2d5027d2637b47a4f479aaca01f Mon Sep 17 00:00:00 2001 From: yongseongkim Date: Sat, 20 Jul 2024 23:46:59 +0900 Subject: [PATCH] =?UTF-8?q?Cronjob=EC=A3=BC=EC=84=9D=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infra/helm/scc-server/templates/cronjob.yaml | 67 +++++++++++++------- 1 file changed, 45 insertions(+), 22 deletions(-) diff --git a/infra/helm/scc-server/templates/cronjob.yaml b/infra/helm/scc-server/templates/cronjob.yaml index 5b581a4f6..99e2e4b84 100644 --- a/infra/helm/scc-server/templates/cronjob.yaml +++ b/infra/helm/scc-server/templates/cronjob.yaml @@ -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