您可以获取Google Cloud Composer / Airflow的静态外部IP地址吗?

编程入门 行业动态 更新时间:2024-10-09 05:26:30
本文介绍了您可以获取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.

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

更多推荐

您可以获取Google Cloud Composer / Airflow的静态外部IP地址吗?

本文发布于:2023-11-24 11:58:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1625113.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:您可以   静态   地址   Google   Composer

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!