-
Notifications
You must be signed in to change notification settings - Fork 0
/
radixconfig.yaml
64 lines (64 loc) · 1.43 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
61
62
63
64
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-github-webhook
spec:
build:
useBuildKit: true
environments:
- name: prod
build:
from: release
- name: qa
build:
from: master
components:
- name: "webhook"
readOnlyFileSystem: true
src: "."
dockerfileName: "Dockerfile"
ports:
- name: http
port: 3001
- name: metrics
port: 9090
publicPort: http
runtime:
architecture: arm64
monitoring: true
monitoringConfig:
portName: metrics
variables:
LOG_LEVEL: info
LOG_PRETTY: "false"
GIN_MODE: "release"
environmentConfig:
- environment: qa
variables:
API_SERVER_ENDPOINT_PREFIX: "https://server-radix-api-qa"
resources:
requests:
memory: "30Mi"
cpu: "10m"
limits:
cpu: "1000m"
horizontalScaling:
maxReplicas: 1
minReplicas: 0
triggers:
- name: cron
cron:
timezone: Europe/Oslo
start: 0 7 * * 1-5 # 07:00 Monday - Friday
end: 0 17 * * 1-5 # 17:00 Monday - Friday
desiredReplicas: 1
- environment: prod
replicas: 2
variables:
API_SERVER_ENDPOINT_PREFIX: "https://server-radix-api-prod"
resources:
requests:
memory: "75Mi"
cpu: "10m"
limits:
cpu: "1000m"