-
Notifications
You must be signed in to change notification settings - Fork 4
/
radixconfig.yaml
46 lines (46 loc) · 1.08 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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-public-site
spec:
build:
useBuildKit: true
useBuildCache: true
environments:
- name: prod
- name: qa
build:
from: main
components:
- name: public-site
readOnlyFileSystem: true
src: "./public-site"
ports:
- name: http
port: 8080
publicPort: http
runtime:
architecture: arm64
resources:
requests:
memory: 30M
cpu: 5m
volumeMounts:
- name: tmp
path: /tmp
emptyDir:
sizeLimit: 10M
environmentConfig:
- environment: qa
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