You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/20 13:10:11 UTC
[GitHub] [airflow] maxim317 commented on issue #28332: DockerSwarmOperator placement dont work
maxim317 commented on issue #28332:
URL: https://github.com/apache/airflow/issues/28332#issuecomment-1359328451
solution
in begin Dag file add:
`from docker.types import Placement`
in task add:
`placement=Placement(constraints=['node.hostname==SUPERserver1']),`
--
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