File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : nais.io/v1
2+ kind : Naisjob
3+ metadata :
4+ name : klass-index-job
5+ namespace : dapla-metadata
6+ labels :
7+ team : dapla-metadata
8+ shared-db : " true"
9+ spec :
10+ schedule : " 30 23 * * *" # Run once per day at 23:30
11+ timeZone : Europe/Oslo
12+ concurrencyPolicy : Forbid
13+ restartPolicy : Never
14+ failedJobsHistoryLimit : 3
15+ successfulJobsHistoryLimit : 3
16+ openSearch :
17+ access : admin
18+ instance : klass-search
19+ resources :
20+ requests :
21+ cpu : 200m
22+ memory : 1920Mi
23+ limits :
24+ memory : 1920Mi
25+ env :
26+ - name : SPRING_PROFILES_ACTIVE
27+ value : postgres, remote-open-search
28+ - name : OPENSEARCH_USERNAME
29+ value : ${OPEN_SEARCH_USERNAME}
30+ - name : OPENSEARCH_URL
31+ value : ${OPEN_SEARCH_URI}
32+ - name : OPENSEARCH_PASSWORD
33+ value : ${OPEN_SEARCH_PASSWORD}
34+ # Structured logging in cluster
35+ - name : LOGGING_STRUCTURED_FORMAT_CONSOLE
36+ value : logstash
37+ - name : JAVA_TOOL_OPTIONS
38+ value : " -XX:InitialRAMPercentage=75.0 -XX:MaxRAMPercentage=75.0"
39+ envFrom :
40+ - secret : google-sql-klass
41+ filesFrom :
42+ - mountPath : /var/run/secrets/nais.io/sqlcertificate
43+ secret : sqeletor-klass-827ec8ec
You can’t perform that action at this time.
0 commit comments