-
Notifications
You must be signed in to change notification settings - Fork 478
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has anyone been able to use this chart when running in a cluster with Istio? #510
Comments
Related PR: #493 |
@aodj It's not clear why you would want to run airflow within an istio mesh, as airflow does not require istio to secure communications between its components. Can you explain what you are trying to achieve with an istio integration? However, I think the chart should be usable in
NOTE: all the init-containers require network access ( Istio is an incredibly complex and cumbersome system (trust me, I work on Kubeflow), the variation of how istio can be configured, along with incomprehensible changes between versions, makes it very painful to integrate with apps that are not designed for it. My recommendation is to not attempt to run airflow within an isitio mesh unless you absolutely have to. |
The cluster that I'm running Airflow within has Istio configured to run with mtls in STRICT mode. Additionally, a number of the tasks that Airflow runs interact with services that are within the mesh requiring mtls connections. As such it's easier to try and work with the mesh rather than against it. When I was configuring the chart I didn't run into any specific issues that required the The one piece I've not yet get worked out is allowing the service to be accessible via a |
@aodj airflow only connects to its own services (and the external database/redis), I still don't see the need to include it in your istio mesh. With the possibly exception of exposing the webserver/flower web interfaces with an istio VirtualService (but this only requires that traffic to be inside the mesh, not all other airflow traffic).
Be careful that you don't change MTLS mode after already deploying, as you may only encounter errors once pods restart, and the init-containers run again.
I understand that istio infers protocol types from port names, so in the case of names like Rather than allowing users to rename ports (as proposed in #493), and potentially specify the wrong protocol, we can automatically specify the NOTE: I now realize we ALSO need to update our |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Checks
Question
I'm trying to make use of the chart in a cluster that uses Istio. Due to the initContainer design of the jobs (dbMigrations, sync, etc) it doesn't look like it would work since the initContainers all attempt to connect to the database prior to the istio-proxy being up and running.
Has anyone managed to do it with this chart or will I have to allow Airflow to run in PERMISSIVE mutual-TLS to work around this?
The text was updated successfully, but these errors were encountered: