Feature 10967 New option ngsa to install monitoring pipeline architecture
This change covers the installation of Apache Airflow
and Prometheus Pushgateway as an experimental option in
the installer.
Changes are the following:
- `installers/full_install_osm.sh`:
- The installer includes a new option "--ng-sa" to install Airflow and
Prometheus Pushgateway
- When the option is used, the script will call `installers/install_ng_sa.sh`
in turn.
- `installers/install_ng_sa.sh`:
- This script will install Airflow and Pushgateway in the OSM Kubernetes
cluster in osm namespace using the helm charts from the respective communities.
- `installers/helm/values/airflow/values.yaml`:
- File with the values to be used for the installation of Airflow helm chart.
- `docker/Airflow/Dockerfile`:
- Dockerfile used to build the Airflow image, incorporating the DAG Python files,
requirements and internal Python libraries used by DAGs from `osm_ngsa.deb`.
Change-Id: I04cb60b25a9a32e42d4a97fac2d1f6abf868b1f7
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/helm/values/airflow-values.yaml b/installers/helm/values/airflow-values.yaml
new file mode 100644
index 0000000..0a37097
--- /dev/null
+++ b/installers/helm/values/airflow-values.yaml
@@ -0,0 +1,31 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+---
+defaultAirflowRepository: gerardogarcia/airflow
+defaultAirflowTag: "0.3"
+webserverSecretKeySecretName: airflow-webserver-secret
+webserver:
+ service:
+ type: NodePort
+ ports:
+ - name: airflow-ui
+ port: "{{ .Values.ports.airflowUI }}"
+ targetPort: "{{ .Values.ports.airflowUI }}"
+extraEnvFrom: |
+ - secretRef:
+ name: ngsa-secret
+