如何使用 GoogleCloudComposer 中的 KubernetesPodOperator 运行 具有特权标志的容器?
How to run container with privileged flags using KubernetesPodOperator in GoogleCloudComposer?
我需要在 google cloud composer 中使用带有 gcsfuse
的容器,据我所知 --privileged
在 运行 需要容器时标记 gcsfuse
,当 运行 容器在 google cloud composer 中使用 kubernetes
pod operator 时,如何使用 --privileged
标志?
查看功能跟踪的 KubernetesPodOperator and its internal implementation, I don't think securityContext is exposed and configurable. You may want to file an Apache Airflow JIRA 问题。
我需要在 google cloud composer 中使用带有 gcsfuse
的容器,据我所知 --privileged
在 运行 需要容器时标记 gcsfuse
,当 运行 容器在 google cloud composer 中使用 kubernetes
pod operator 时,如何使用 --privileged
标志?
查看功能跟踪的 KubernetesPodOperator and its internal implementation, I don't think securityContext is exposed and configurable. You may want to file an Apache Airflow JIRA 问题。