You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "dzhigimont (via GitHub)" <gi...@apache.org> on 2023/04/26 13:55:37 UTC

[GitHub] [airflow] dzhigimont commented on issue #30851: Add docker options when running an image

dzhigimont commented on issue #30851:
URL: https://github.com/apache/airflow/issues/30851#issuecomment-1523466253

   @srendon Speaking in terms of Kubernetes pod configuration is not the same as speaking in terms of the docker run command, so firstly, you should understand which configuration for pod you require, and then we can help implement it. For example, in the Kuberneted pod, there is no equivalent configuration as  `--device` Read the following discussion https://stackoverflow.com/questions/59290752/how-to-use-device-dev-video0-with-kubernetes. What about --cap-add It will be equivalent to something like this: `container_security_context={"capabilities": {"add": "NET_ADMIN"}}`.  Only what I see that  `dns_config` is missed. @eladkal @potiuk What do you think should we add possibility to set dns_config to the KubernetesPodOperator ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org