This repository has been archived by the owner on Sep 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
kitt-service.yml
73 lines (73 loc) · 1.86 KB
/
kitt-service.yml
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
instances:
"01":
build:
artifact: ngsa-cosmos
skip: true
deploy:
skip: false
helm:
values:
container:
args:
- --region={{$.kittExec.currentCluster.site}}
- --zone={{$.kittExec.currentCluster.provider}}
- --prometheus
- --no-cache
secrets:
file_refresh: true
files:
- destination: CosmosCollection
content: ms-ngsa/dev#CosmosCollection
- destination: CosmosDatabase
content: ms-ngsa/dev#CosmosDatabase
- destination: CosmosKey
content: ms-ngsa/dev#CosmosKey
- destination: CosmosUrl
content: ms-ngsa/dev#CosmosUrl
config:
path: /app/secrets/
"02":
build:
artifact: ngsa-in-memory
skip: true
deploy:
skip: false
helm:
values:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- ngsa-cosmos
topologyKey: topology.kubernetes.io/zone
container:
args:
- --in-memory
- --region={{$.kittExec.currentCluster.site}}
- --zone={{$.kittExec.currentCluster.provider}}
- --prometheus
build:
artifact: app
deploy:
skip: true
helm:
values:
container:
image: strati-ms-ngsa/ngsa-app/app
scaling:
min: 1
max: 1
max:
cpu: 2
memory: 2Gi
min:
cpu: 1
memory: 1Gi
readinessProbe:
path: "/version"
livenessProbe:
path: "/version"