-
Notifications
You must be signed in to change notification settings - Fork 0
/
naiserator-dev.yaml
52 lines (52 loc) · 1000 Bytes
/
naiserator-dev.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
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: smpdfgen
namespace: teamsykmelding
labels:
team: teamsykmelding
spec:
image: {{ image }}
port: 8080
replicas:
min: 1
max: 2
scalingStrategy:
cpu:
thresholdPercentage: 80
liveness:
path: /internal/is_alive
timeout: 1
initialDelay: 5
periodSeconds: 5
failureThreshold: 30
readiness:
path: /internal/is_alive
timeout: 1
initialDelay: 5
periodSeconds: 5
failureThreshold: 30
leaderElection: false
prometheus:
enabled: true
path: /internal/prometheus
observability:
autoInstrumentation:
enabled: true
runtime: java
logging:
destinations:
- id: loki
- id: elastic
resources:
limits:
memory: 2048Mi
requests:
cpu: 30m
memory: 400Mi
accessPolicy:
inbound:
rules:
- application: syfosmsak
namespace: teamsykmelding
cluster: dev-gcp