谷歌数据流防火墙规则/网络标签 [英] google dataflow firewall rule/network tag

查看:103
本文介绍了谷歌数据流防火墙规则/网络标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从google dataflow批处理连接到cassandra(具有防火墙规则标签),此外,dataflow服务还将创建带有"dataflow"标签的工作程序.

I am trying to connect to cassandra (which have firewall rule tags) from google dataflow batch, , moreover the dataflow service will create workers with 'dataflow' tagged.

是否可以更改默认标签?或添加更多标签?

is it possible to change the default tag ? or add more tags? .

推荐答案

我认为当前无法更改Dataflow服务用于创建VM的标签.但是,可以通过指定参数--network来控制数据流工作人员将属于哪个GCE网络:用于启动Compute Engine实例以运行您的管道的Google Compute Engine网络(请参见指定管道执行参数).

I believe it is currently not possible to change the labels with which Dataflow service creates the VMs. However, it is possible to control which GCE network the Dataflow workers will belong to, by specifying the parameter --network: The Google Compute Engine network for launching Compute Engine instances to run your pipeline (see Specifying Pipeline Execution Parameters).

您可以考虑为数据流创建网络工作人员,并在防火墙规则中使用它.

You may consider creating a network for your Dataflow workers and using that in the firewall rules.

这篇关于谷歌数据流防火墙规则/网络标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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