[GitHub] [airflow] pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support to Pod class

2019-09-06 Thread GitBox
pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support 
to Pod class
URL: https://github.com/apache/airflow/pull/5824#issuecomment-528917651
 
 
   > Does this have the problem where the task won't finish as long as the 
sidecar container is still alive? Do we need an option to kill the sidecar when 
the main pod finishes?
   
   @ashb Yes, it does. This PR is basically a bandaid to allow users to add 
sidecars with the pod mutation hook.
   
   Users have a couple of options to kill the sidecar when the main container 
exits:
   
   - Give the sidecar API access and check the pod's status;
   - Have the main container write a heartbeat to a volume shared with the 
sidecar
   
   Obviously both these methods are rather hackish, but I can't immediately 
think of a straightforward way to kill the sidecar when the main container 
exits, that would support both `KubernetesPodOperator` and `KubernetesExecutor`.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [airflow] pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support to Pod class

2019-08-29 Thread GitBox
pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support 
to Pod class
URL: https://github.com/apache/airflow/pull/5824#issuecomment-526180617
 
 
   @dimberman PTAL when you have a chance.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [airflow] pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support to Pod class

2019-08-15 Thread GitBox
pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support 
to Pod class
URL: https://github.com/apache/airflow/pull/5824#issuecomment-521748700
 
 
   @cBournhonesque At this time I am trying keep this as API-compatible as 
possible. Changing the `Pod` interface to accept a list of containers would 
indeed be preferable but this would be a breaking change since the main 
container is built by combining other arguments (i.e. `image`).


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [airflow] pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support to Pod class

2019-08-14 Thread GitBox
pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support 
to Pod class
URL: https://github.com/apache/airflow/pull/5824#issuecomment-521466853
 
 
   Test failure seems unrelated.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [airflow] pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support to Pod class

2019-08-14 Thread GitBox
pgagnon commented on issue #5824: [AIRFLOW-5215] Add sidecar containers support 
to Pod class
URL: https://github.com/apache/airflow/pull/5824#issuecomment-521460427
 
 
   @ashb @dimberman 


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services