-
Notifications
You must be signed in to change notification settings - Fork 15
/
radixconfig.yaml
58 lines (58 loc) · 1.78 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
# yaml-language-server: $schema=https://raw.githubusercontent.com/equinor/radix-operator/release/json-schema/radixapplication.json
# Only works if the redhat yaml ext. in vs-code is installed.
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: fmu-schemas
spec:
environments:
- name: dev
build:
from: main
- name: staging
build:
from: staging
- name: prod
components:
- name: main
src: "."
publicPort: http
ports:
- name: http
port: 8080
ingressConfiguration:
- stickysessions
environmentConfig:
- environment: dev
horizontalScaling:
minReplicas: 1
maxReplicas: 2
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1000m"
- environment: staging
horizontalScaling:
minReplicas: 1
maxReplicas: 2
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1000m"
- environment: prod
horizontalScaling:
minReplicas: 1
maxReplicas: 2
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "2Gi"
cpu: "1000m"