-
Notifications
You must be signed in to change notification settings - Fork 1
/
radixconfig.c2.yaml
59 lines (58 loc) · 1.74 KB
/
radixconfig.c2.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
# yaml-language-server: =https://raw.githubusercontent.com/equinor/radix-operator/release/json-schema/radixapplication.json
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-log-api
spec:
build:
useBuildKit: true
environments:
- name: qa
build:
from: main
- name: prod
build:
from: release
components:
- name: server
readOnlyFileSystem: true
ports:
- name: http
port: 8000
publicPort: http
runtime:
architecture: arm64
identity:
azure:
clientId: ac2eb093-8396-4f37-b43c-4bef2b5f9948
variables:
LOG_API_PORT: "8000"
LOG_API_AUTH_ISSUER: "https://sts.windows.net/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/"
LOG_API_AUTH_AUDIENCE: "6dae42f8-4368-4678-94ff-3960e28e3630"
LOG_API_LOG_ANALYTICS_WORKSPACE_ID: 4f4ff917-823c-4f80-8a46-4fbe7de5a32e
LOG_API_LOG_LEVEL: "info"
LOG_API_LOG_PRETTY: "false"
GIN_MODE: "release"
LOG_API_LOG_ANALYTICS_LOG_TABLE: Both # ContainerLog, ContainerLogV2, Both... Defaults to ContainerLog
resources:
requests:
cpu: 100m
memory: 200M
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
resources:
requests:
cpu: 100m
memory: 1G