Python 修改Dataflow flex模板的启动器VM
我们正在使用Dataflow Flex模板(Python 修改Dataflow flex模板的启动器VM,python,google-cloud-platform,google-cloud-dataflow,apache-beam,Python,Google Cloud Platform,Google Cloud Dataflow,Apache Beam,我们正在使用Dataflow Flex模板(来自gcr.io/Dataflow Templates base/python3 template launcher base:20210120_RC00),并将图像存储在我们自己的人工制品上,而不是谷歌云容器注册表上。在此之前,一切正常,但如果我运行dataflow flex模板,我会在创建launcher VM期间收到以下错误消息: "/usr/bin/docker: Error response from daemon: Get htt
来自gcr.io/Dataflow Templates base/python3 template launcher base:20210120_RC00
),并将图像存储在我们自己的人工制品上,而不是谷歌云容器注册表上。在此之前,一切正常,但如果我运行dataflow flex模板,我会在创建launcher VM期间收到以下错误消息:
"/usr/bin/docker: Error response from daemon: Get https://artifactory.xxx.com/v2/: x509: certificate signed by unknown authority."
错误的发生是由于使用了我们自己的具有签名的证明的人工制品。
当我ssh进入launcher VM并执行docker ps
时,我可以看到以下图像正在运行:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a34c29a8b8b8 gcr.io/dataflow-templates-base/template-launcher-logger:flex_templates_base_image_release_20200803_RC00 "/opt/google/dataflo…" 45 seconds ago Up 42 seconds agitated_shirley
我找不到扩展这些gcr.io/dataflow templates base/template launcher logger
image的方法。
有没有办法更改launcher VM的映像以便可以安装自定义证书?没有,我认为不可能自定义launcher VM(将来甚至可能没有要自定义的VM,例如,容器可以由类似的方式启动)。我建议将图像镜像到gcr。谢谢-这似乎是唯一的方法,因此我们将继续镜像