-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathradixconfig.yaml
More file actions
84 lines (83 loc) · 1.8 KB
/
radixconfig.yaml
File metadata and controls
84 lines (83 loc) · 1.8 KB
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
74
75
76
77
78
79
80
81
82
83
84
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: lost-circulation-material
spec:
build:
useBuildKit: false
environments:
- name: prod
build:
from: prod
- name: test
build:
from: master
components:
- name: redis
src: ./redis
secrets:
- REDIS_PASSWORD
- name: oauth2-proxy
src: ./oauth2
environment:
OAUTH_CLIENT_ID: "1dbc1e96-268d-41ad-894a-92a9fb85f954"
secrets:
- OAUTH2_PROXY_COOKIE_SECRET
- OAUTH2_PROXY_REDIS_PASSWORD
- CLIENT_SECRET
- 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
memory:
value: 75
- environment: test
variables:
ENVIRONMENT: test
horizontalScaling:
minReplicas: 1
maxReplicas: 4
triggers:
- name: cpu
cpu:
value: 85
- name: memory
memory:
value: 75
ports:
- name: flask
port: 5000
secrets:
- TABLE_KEY
- APPINSIGHTS_CON_STRING
- SYNC_BLOBS_APP_URL
- name: nginx
src: ./nginx/
ports:
- name: nginx
port: 8080
publicPort: nginx
dnsAppAlias:
environment: prod
component: nginx