Skip to content

Instantly share code, notes, and snippets.

View holypriest's full-sized avatar

Marcelo Rabello Rossi holypriest

View GitHub Profile
@holypriest
holypriest / dags-pvc.yaml
Created July 17, 2020 02:13
PersistentVolumeClaim configuration to store Apache Airflow DAG files
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: dags-pvc
namespace: airflow-on-k8s
spec:
selector:
matchLabels:
store: dags
accessModes:
@holypriest
holypriest / dags-pv.yaml
Last active March 9, 2022 12:34
PersistentVolume configuration to store Apache Airflow DAG files
apiVersion: v1
kind: PersistentVolume
metadata:
name: dags-pv
labels:
store: dags
spec:
capacity:
storage: 10Gi
volumeMode: Filesystem
@holypriest
holypriest / export_yamls.sh
Created July 17, 2020 01:59
Exporting resource yaml files from Airflow helm chart
mkdir yamls
helm template --output-dir './yamls' '<folder-containing-the-helm-chart>'