-
Notifications
You must be signed in to change notification settings - Fork 0
/
radixconfig.yaml
60 lines (60 loc) · 1.47 KB
/
radixconfig.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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-api
spec:
environments:
- name: prod
build:
from: release
- name: qa
build:
from: master
components:
- name: "server"
readOnlyFileSystem: true
src: "."
dockerfileName: "Dockerfile"
ports:
- name: http
port: 3002
public: true
variables:
REQUIRE_APP_CONFIGURATION_ITEM: "true"
REQUIRE_APP_AD_GROUPS: "true"
USE_PROFILER: "false"
LOG_LEVEL: info
LOG_PRETTY: "false"
environmentConfig:
- environment: qa
runAsNonRoot: true
horizontalScaling:
minReplicas: 1
maxReplicas: 2
monitoring: true
resources:
requests:
memory: "400M"
cpu: "250m"
limits:
memory: "400M"
cpu: "2000m"
variables:
PIPELINE_IMG_TAG: "master-latest"
TEKTON_IMG_TAG: "main-latest"
GOMAXPROCS: "1"
- environment: prod
runAsNonRoot: true
replicas: 2
monitoring: true
resources:
requests:
memory: "700M"
cpu: "250m"
limits:
memory: "1Gi"
cpu: "2000m"
variables:
PIPELINE_IMG_TAG: "release-latest"
TEKTON_IMG_TAG: "release-latest"
GOMAXPROCS: "2"