| garciadeblas | 7b53d26 | 2022-11-04 23:18:48 +0100 | [diff] [blame] | 1 | # |
| garciadeblas | bae51f6 | 2023-03-28 18:27:20 +0200 | [diff] [blame] | 2 | # 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 |
| garciadeblas | 7b53d26 | 2022-11-04 23:18:48 +0100 | [diff] [blame] | 5 | # |
| garciadeblas | bae51f6 | 2023-03-28 18:27:20 +0200 | [diff] [blame] | 6 | # 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 | # |
| garciadeblas | 7b53d26 | 2022-11-04 23:18:48 +0100 | [diff] [blame] | 14 | --- |
| garciadeblas | 7992e28 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 15 | config: |
| 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" |
| garciadeblas | 0cdfb57 | 2022-11-11 10:24:51 +0100 | [diff] [blame] | 22 | defaultAirflowRepository: opensourcemano/airflow |
| garciadeblas | 8b95706 | 2024-08-22 19:46:53 +0200 | [diff] [blame] | 23 | defaultAirflowTag: "16" |
| garciadeblas | 7992e28 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 24 | executor: LocalExecutor |
| aguilard | e556fe0 | 2023-05-02 10:20:21 +0000 | [diff] [blame] | 25 | extraEnv: | |
| 26 | - name: AIRFLOW__API__AUTH_BACKENDS |
| 27 | value: 'airflow.api.auth.backend.basic_auth' |
| garciadeblas | 29484f1 | 2023-05-25 10:36:17 +0200 | [diff] [blame] | 28 | - name: AIRFLOW__LOGGING__LOGGING_LEVEL |
| 29 | value: 'INFO' |
| garciadeblas | 8080e4b | 2023-04-14 09:57:17 +0200 | [diff] [blame] | 30 | - 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 |
| garciadeblas | 7992e28 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 38 | ingress: |
| 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 |
| 52 | webserverSecretKeySecretName: airflow-webserver-secret |
| 53 | webserver: |
| 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 }}" |
| garciadeblas | 7812a1c | 2023-07-04 15:46:11 +0200 | [diff] [blame] | 67 | workers: |
| 68 | persistence: |
| garciadeblas | 7992e28 | 2024-10-04 13:13:59 +0200 | [diff] [blame] | 69 | 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 |