-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathradixconfig.yaml
124 lines (123 loc) · 3.92 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# yaml-language-server: $schema=https://raw.githubusercontent.com/equinor/radix-operator/release/json-schema/radixapplication.json
#radixconfig production
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: oneseismic
spec:
build:
useBuildKit: true
environments:
# stable production branch users are supposed to use
- name: prod
build:
from: radix
# small resources environment
- name: test
build:
from: radix_test
# environment that can be used for performance testing
# environment must be stopped when not needed
- name: test-large
build:
from: radix_test_large
components:
- name: server
dockerfileName: Dockerfile
runtime:
architecture: arm64
ports:
- name: http
port: 8080
- name: metrics
port: 8081
publicPort: http
monitoringConfig:
portName: metrics
identity:
azure:
clientId: fd162526-89a0-448a-979f-655c0717db52
environmentConfig:
- environment: prod
variables:
ONESEISMIC_API_PORT: "8080"
ONESEISMIC_API_CACHE_SIZE: "512" # MB
ONESEISMIC_API_METRICS: "true"
ONESEISMIC_API_METRICS_PORT: "8081"
ONESEISMIC_API_TRUSTED_PROXIES: ""
ONESEISMIC_API_BLOCKED_IPS: ""
ONESEISMIC_API_BLOCKED_USER_AGENTS: ""
OPENVDS_AZURE_IOMANAGER_THREAD_COUNT: ""
secretRefs:
azureKeyVaults:
- name: S067-RadixKeyvault
useAzureIdentity: true
items:
- name: prod-allowlist
envVar: ONESEISMIC_API_STORAGE_ACCOUNTS
monitoring: true
resources:
requests:
memory: "8192Mi"
cpu: "2000m"
horizontalScaling:
minReplicas: 1
maxReplicas: 1
- environment: test
variables:
ONESEISMIC_API_PORT: "8080"
ONESEISMIC_API_CACHE_SIZE: "128" # MB
ONESEISMIC_API_METRICS: "false"
ONESEISMIC_API_METRICS_PORT: "8081"
ONESEISMIC_API_TRUSTED_PROXIES: ""
ONESEISMIC_API_BLOCKED_IPS: ""
ONESEISMIC_API_BLOCKED_USER_AGENTS: ""
OPENVDS_AZURE_IOMANAGER_THREAD_COUNT: ""
secretRefs:
azureKeyVaults:
- name: S067-RadixKeyvault
useAzureIdentity: true
items:
- name: test-allowlist
envVar: ONESEISMIC_API_STORAGE_ACCOUNTS
monitoring: true
resources:
requests:
memory: "512Mi"
cpu: "100m"
horizontalScaling:
minReplicas: 0
maxReplicas: 1
triggers:
- name: cron
cron:
timezone: Europe/Oslo
start: 0 7 * * 1-5 # 07:00 Monday - Friday
end: 0 21 * * 1-5 # 21:00 Monday - Friday
desiredReplicas: 1
- environment: test-large
replicas: 0
variables:
ONESEISMIC_API_PORT: "8080"
ONESEISMIC_API_CACHE_SIZE: "0" # MB
ONESEISMIC_API_METRICS: "false"
ONESEISMIC_API_METRICS_PORT: "8081"
ONESEISMIC_API_TRUSTED_PROXIES: ""
ONESEISMIC_API_BLOCKED_IPS: ""
ONESEISMIC_API_BLOCKED_USER_AGENTS: ""
OPENVDS_AZURE_IOMANAGER_THREAD_COUNT: ""
secretRefs:
azureKeyVaults:
- name: S067-RadixKeyvault
useAzureIdentity: true
items:
- name: test-allowlist
envVar: ONESEISMIC_API_STORAGE_ACCOUNTS
monitoring: true
resources:
requests:
memory: "8192Mi"
cpu: "2000m"
horizontalScaling:
minReplicas: 1
maxReplicas: 1