You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Itai Yaffe (JIRA)" <ji...@apache.org> on 2019/07/16 09:41:00 UTC
[jira] [Commented] (AIRFLOW-4960) Create OpenFaaS Sensor
[ https://issues.apache.org/jira/browse/AIRFLOW-4960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885994#comment-16885994 ]
Itai Yaffe commented on AIRFLOW-4960:
-------------------------------------
As @Tal Sharon pointed out, it's quite possible we'll need to open a ticket for OpenFaaS to expose the function status, as a way for the OpenFaaS Sensor to get it.
> Create OpenFaaS Sensor
> ----------------------
>
> Key: AIRFLOW-4960
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4960
> Project: Apache Airflow
> Issue Type: Improvement
> Components: contrib
> Affects Versions: 1.10.3
> Reporter: Itai Yaffe
> Priority: Minor
>
> Issue https://issues.apache.org/jira/browse/AIRFLOW-3411 added OpenFaaS Hook that allows one to invoke functions via OpenFaaS.
> What we currently lack is a Sesnor to monitor asynchronous invocations of such functions.
> This is a bit tricky, since currently, it doesn't seem like OpenFaaS exposes an API that allows one to monitor the state of an invoked function. [~danassa] suggested that perhaps by using API calls to k8s, we can query a specific pod, do a docker ps to get the processes that are running there, and get the function state. This still needs further investigation.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)