您可以获取Google Cloud Composer / Airflow的静态外部IP地址吗? [英] Can you get a static external IP address for Google Cloud Composer / Airflow?

查看:83
本文介绍了您可以获取Google Cloud Composer / Airflow的静态外部IP地址吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何为Compute Engine分配静态外部IP地址,但是可以使用Google Cloud Composer(Airflow)完成此操作吗?我以为大多数公司都需要该功能,因为它们通常会写回到可能位于防火墙后面的仓库中,但是我找不到有关如何执行此操作的任何文档。

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.

推荐答案

在Composer环境中无法为基础GKE群集分配静态IP。提到的终结点@kaxil是Kubernetes主终结点,而不是GKE节点。

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.

如果要让Composer任务的所有传出网络连接都使用相同的外部IP,考虑使用静态IP设置GCE VM,并为Composer GKE集群中运行的所有工作负载添加代理服务。

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.

更多信息: https://groups.google.com/forum/#!topic/kubernetes-users/zNytc8GVB5s

这篇关于您可以获取Google Cloud Composer / Airflow的静态外部IP地址吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆