blob: 082793c29c2f02181fdbcd7f05d9091fd64b57f9 [file] [log] [blame]
garciadeblas7b53d262022-11-04 23:18:48 +01001#
garciadeblasbae51f62023-03-28 18:27:20 +02002# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
garciadeblas7b53d262022-11-04 23:18:48 +01005#
garciadeblasbae51f62023-03-28 18:27:20 +02006# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13#
garciadeblas7b53d262022-11-04 23:18:48 +010014---
garciadeblas7992e282024-10-04 13:13:59 +020015config:
16 core:
17 parallelism: 4
18 dag_concurrency: 2
19 max_active_tasks_per_dag: 2
20 worker_concurrency: 2
21 dags_folder: "/home/airflow/.local/lib/python3.10/site-packages/osm_ngsa"
garciadeblas0cdfb572022-11-11 10:24:51 +010022defaultAirflowRepository: opensourcemano/airflow
garciadeblas8b957062024-08-22 19:46:53 +020023defaultAirflowTag: "16"
garciadeblas7992e282024-10-04 13:13:59 +020024executor: LocalExecutor
aguilarde556fe02023-05-02 10:20:21 +000025extraEnv: |
26 - name: AIRFLOW__API__AUTH_BACKENDS
27 value: 'airflow.api.auth.backend.basic_auth'
garciadeblas29484f12023-05-25 10:36:17 +020028 - name: AIRFLOW__LOGGING__LOGGING_LEVEL
29 value: 'INFO'
garciadeblas8080e4b2023-04-14 09:57:17 +020030 - name: OSMMON_DATABASE_COMMONKEY
31 valueFrom:
32 secretKeyRef:
33 name: osm-secret
34 key: OSM_DATABASE_COMMONKEY
35# extraEnvFrom: |
36# - secretRef:
37# name: ngsa-secret
garciadeblas7992e282024-10-04 13:13:59 +020038ingress:
39 web:
40 enabled: True
41 hosts:
42 - name: "localhost"
43 ingressClassName: nginx
44# scheduler:
45# resources:
46# requests:
47# memory: 512Mi
48# cpu: 250m
49# limits:
50# memory: 1Gi
51# cpu: 500m
52webserverSecretKeySecretName: airflow-webserver-secret
53webserver:
54 resources:
55 requests:
56 memory: 256Mi
57 cpu: 250m
58 limits:
59 memory: 1Gi
60 cpu: 500m
61 service:
62 type: ClusterIP
63 ports:
64 - name: airflow-ui
65 port: "{{ .Values.ports.airflowUI }}"
66 targetPort: "{{ .Values.ports.airflowUI }}"
garciadeblas7812a1c2023-07-04 15:46:11 +020067workers:
68 persistence:
garciadeblas7992e282024-10-04 13:13:59 +020069 size: 2Gi
70 replicas: 1
71 resources:
72 requests:
73 memory: 512Mi
74 cpu: 250m
75 limits:
76 memory: 1Gi
77 cpu: 500m
78 logGroomerSidecar:
79 retentionDays: 7
80 resources:
81 limits:
82 cpu: 100m
83 memory: 128Mi
84 requests:
85 cpu: 100m
86 memory: 128Mi