-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp-prod.yaml
80 lines (79 loc) · 2 KB
/
app-prod.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: familie-oppdrag
namespace: teamfamilie
labels:
team: teamfamilie
annotations:
nginx.ingress.kubernetes.io/proxy-read-timeout: "180"
nginx.ingress.kubernetes.io/proxy-send-timeout: "180"
spec:
image: {{ image }}
port: 8087
liveness:
path: /internal/health/liveness
initialDelay: 30
failureThreshold: 10
readiness:
path: /internal/health/readyness
initialDelay: 30
failureThreshold: 10
prometheus:
enabled: true
path: /internal/prometheus
vault:
enabled: true
paths:
- kvPath: /serviceuser/data/prod/srvfamilie-oppdrag
mountPath: /secret/serviceuser
replicas:
min: 2
max: 4
resources:
limits:
memory: 6096Mi
requests:
memory: 2000Mi
cpu: 500m
secureLogs:
enabled: true
ingresses: # Optional. List of ingress URLs that will route HTTP traffic to the application.
- https://familie-oppdrag.nais.adeo.no
- https://familie-oppdrag.prod-fss-pub.nais.io
- https://familie-oppdrag.intern.nav.no
azure:
application:
enabled: true
allowAllUsers: true
accessPolicy:
inbound:
rules:
- application: familie-ks-sak
- application: familie-ks-sak
cluster: prod-gcp
- application: familie-ba-sak
cluster: prod-gcp
- application: familie-tilbake
cluster: prod-gcp
- application: familie-ef-sak
cluster: prod-gcp
- application: familie-ef-iverksett
cluster: prod-gcp
outbound:
external:
- host: mpls02.adeo.no
ports:
- port: 1414
observability:
autoInstrumentation:
enabled: true
runtime: java
destinations:
- id: "grafana-lgtm"
- id: "elastic-apm"
env:
- name: SPRING_PROFILES_ACTIVE
value: prod
- name: JAVA_OPTS
value: "-XX:MinRAMPercentage=25.0 -XX:MaxRAMPercentage=75.0 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp"