airflow-on-k8s-operator
airflow-on-k8s-operator copied to clipboard
Unable to deploy a AirflowCluster
I've followed the quick start guide and eventually I've been able to deploy the operator by modifying some kustomize resources manually (the image) and the role.
I've then tried to deploy a postgres airflow cluster using the hack/postgres-celery/base.yml
and hack/postgres-k8s/cluster.yml
but without success. The operator keeps throwing the following error:
2021/01/27 00:05:26 *v1alpha1.AirflowBase/default/pc-base(cmpnt:*controllers.Postgres) { reconciling component
E0127 00:05:26.163775 1 genericreconciler.go:53] Failed: [*v1alpha1.AirflowBase/default/pc-base] gathering expected resources. open templates/svc.yaml: no such file or directory
2021/01/27 00:05:26 *v1alpha1.AirflowBase/default/pc-base(cmpnt:*controllers.Postgres) } reconciling component
2021/01/27 00:06:00 *v1alpha1.AirflowCluster/default/pk-cluster(cmpnt:*controllers.UI) } reconciling component
E0127 00:06:00.985761 1 genericreconciler.go:116] error reconciling *v1alpha1.AirflowCluster/default/pk-cluster. open templates/secret.yaml: no such file or directory
I'm not sure why but it looks like the controller is trying the fetch the files from the templates directory but it's inexistant.