-
Notifications
You must be signed in to change notification settings - Fork 0
/
naiserator-prod.yaml
76 lines (76 loc) · 1.58 KB
/
naiserator-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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: sykmeldinger-backend
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
gcp:
sqlInstances:
- name: sykmeldinger-db-instance
type: POSTGRES_14
diskSize: 10
tier: db-custom-2-5120
databases:
- name: sykmeldinger
envVarPrefix: DB
users:
- name: sykmeldinger-kafka-user
diskAutoresize: true
highAvailability: true
diskType: SSD
insights:
enabled: true
image: {{ image }}
replicas:
min: 2
max: 5
cpuThresholdPercentage: 90
port: 8080
liveness:
path: /internal/is_alive
initialDelay: 10
timeout: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /internal/is_ready
initialDelay: 30
periodSeconds: 5
timeout: 5
prometheus:
enabled: true
path: /internal/prometheus
observability:
autoInstrumentation:
enabled: true
runtime: java
logging:
destinations:
- id: loki
- id: elastic
resources:
limits:
memory: 1028Mi
requests:
cpu: 100m
memory: 768Mi
kafka:
pool: nav-prod
tokenx:
enabled: true
accessPolicy:
inbound:
rules:
- application: sykmeldinger
namespace: teamsykmelding
cluster: prod-gcp
- application: ditt-sykefravaer
namespace: flex
cluster: prod-gcp
- application: sykepengesoknad
namespace: flex
cluster: prod-gcp
secureLogs:
enabled: true