You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/08/19 23:35:00 UTC
[jira] [Resolved] (AIRFLOW-5182) "KubernetesOperator" isn't
implemented
[ https://issues.apache.org/jira/browse/AIRFLOW-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Potiuk resolved AIRFLOW-5182.
-----------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
> "KubernetesOperator" isn't implemented
> --------------------------------------
>
> Key: AIRFLOW-5182
> URL: https://issues.apache.org/jira/browse/AIRFLOW-5182
> Project: Apache Airflow
> Issue Type: Bug
> Components: documentation
> Affects Versions: 1.10.3, 1.10.4
> Reporter: Esfahan
> Assignee: Leah
> Priority: Minor
> Fix For: 2.0.0
>
>
> h2. Problem
> I encountered the following error with `KubernetesOperator`.
> {code:java}
> Broken DAG: [/root/airflow/dags/sample_k8s.py] cannot import name KubernetesOperator
> {code}
> h2. Investigation
> The following document is written a sample code to describe how to use Kubernetes Executor.
> [https://airflow.apache.org/kubernetes.html#kubernetes-operator]
> There is a line `import KubernetesOperator`, but I think it isn't implemented on airflow and it isn't used in this script.
> {code:java}
> from airflow.contrib.operators import KubernetesOperator
> {code}
> I couldn't find `KubernetesOperator` in the following dirs.
> * [https://github.com/apache/airflow/tree/1.10.4/airflow/contrib/operators]
> * [https://github.com/apache/airflow/tree/1.10.4/airflow/operators]
> Could you check it?
--
This message was sent by Atlassian Jira
(v8.3.2#803003)