Can you get a static external IP address for Google Cloud Composer / Airflow?

不打扰是莪最后的温柔 提交于 2019-12-08 03:20:38

问题


I know how to assign a static external IP address to a Compute Engine, but can this be done with Google Cloud Composer (Airflow)? I'd imagine most companies need that functionality since they'd generally be writing back to a warehouse that is possibly behind a firewall, but I can't find any doc's on how to do this.


回答1:


It's not possible to assign a static IP to the underlying GKE cluster in a Composer environment. The endpoint @kaxil mentioned is the Kubernetes master endpoint but not the GKE nodes.

If the intent is to let all outgoing network connections from Composer tasks use the same external IP, consider setting up a GCE VM with a static IP and adding a proxy service for all workloads running inside your Composer GKE cluster.

More information: https://groups.google.com/forum/#!topic/kubernetes-users/zNytc8GVB5s.



来源:https://stackoverflow.com/questions/50750883/can-you-get-a-static-external-ip-address-for-google-cloud-composer-airflow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!