-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathradixconfig.yaml
70 lines (68 loc) · 1.42 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
65
66
67
68
69
70
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: lost-circulation-material
spec:
environments:
- name: prod
build:
from: prod
- name: test
build:
from: master
components:
- name: web
src: ./web
ports:
- name: http
port: 3000
- name: api
src: ./api
resources:
requests:
memory: '800Mi'
cpu: '100m'
limits:
cpu: '4000m'
environmentConfig:
- environment: prod
variables:
ENVIRONMENT: production
horizontalScaling:
minReplicas: 1
maxReplicas: 8
triggers:
- name: cpu
cpu:
value: 85
- name: memory
cpu:
value: 75
- environment: test
variables:
ENVIRONMENT: test
horizontalScaling:
minReplicas: 1
maxReplicas: 4
triggers:
- name: cpu
cpu:
value: 85
- name: memory
cpu:
value: 75
ports:
- name: flask
port: 5000
publicPort: flask
secrets:
- TABLE_KEY
- name: proxy
src: ./nginx/
ports:
- name: nginx
port: 8080
publicPort: nginx
dnsAppAlias:
environment: prod
component: proxy