forked from navikt/veilarboppgave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nais-q.yaml
48 lines (48 loc) · 1.3 KB
/
nais-q.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
# ref https://raw.githubusercontent.com/nais/naiserator/master/examples/nais-max.yaml
apiVersion: "nais.io/v1alpha1"
kind: "Application"
metadata:
name: veilarboppgave
namespace: {{namespace}}
labels:
team: pto
spec:
image: docker.pkg.github.com/navikt/veilarboppgave/veilarboppgave:{{version}}
replicas:
min: 2
max: 4
cpuThresholdPercentage: 50
port: 8080
ingresses:
- https://veilarboppgave-{{namespace}}.nais.preprod.local
- https://app-{{namespace}}.adeo.no/veilarboppgave
vault:
enabled: true
paths:
- kvPath: /serviceuser/data/dev/srvveilarboppgave
mountPath: /var/run/secrets/nais.io/service_user
- kvPath: /oracle/data/dev/creds/veilarboppgave_{{namespace}}-user
mountPath: /var/run/secrets/nais.io/oracle_creds
- kvPath: /kv/preprod/fss/veilarboppgave/{{namespace}}
mountPath: /var/run/secrets/nais.io/vault
envFrom:
- configmap: pto-config
leaderElection: true
liveness:
path: veilarboppgave/internal/isAlive
initialDelay: 60
timeout: 10
readiness:
path: veilarboppgave/internal/isReady
initialDelay: 60
timeout: 10
prometheus:
enabled: true
path: veilarboppgave/internal/metrics
resources:
limits:
cpu: 3000m
memory: 1Gi
requests:
cpu: 200m
memory: 512Mi