mik-laj commented on a change in pull request #16766:
URL: https://github.com/apache/airflow/pull/16766#discussion_r667310670



##########
File path: docs/apache-airflow-providers-amazon/operators/emr_eks.rst
##########
@@ -0,0 +1,87 @@
+ .. Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+ ..   http://www.apache.org/licenses/LICENSE-2.0
+
+ .. Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+
+.. _howto/operator:EMRContainersOperators:
+
+Amazon EMR on EKS Operators
+===========================
+
+.. contents::
+  :depth: 1
+  :local:
+
+Prerequisite Tasks
+------------------
+
+.. include:: _partials/prerequisite_tasks.rst
+
+Overview
+--------
+
+Airflow to Amazon EMR on Amazon EKS integration provides a way to run Apache 
Spark jobs on Kubernetes.
+
+- 
:class:`~airflow.providers.amazon.aws.operators.emr_containers.EMRContainerOperator`
+
+There is an example dag that shows how to run a job with this operator.
+
+- example_emr_eks_job.py
+
+Create EMR on EKS job with sample script
+----------------------------------------
+
+Purpose
+"""""""
+
+This example dag ``example_emr_eks_job.py`` uses ``EMRContainerOperator`` to 
create a new EMR on EKS job calculating the mathematical constant ``Pi``, and 
monitors the progress
+with ``EMRContainerSensor``.
+
+This example assumes that you already have an EMR on EKS virtual cluster 
configured. See the `EMR on EKS Getting Started guide 
<https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/getting-started.html>`__
 for more information.
+
+Environment variables
+"""""""""""""""""""""
+
+This example relies on the following variables, which can be passed via OS 
environment variables.
+
+.. exampleinclude:: 
/../../airflow/providers/amazon/aws/example_dags/example_emr_eks_job.py
+    :language: python
+    :start-after: [START howto_operator_emr_eks_env_variables]
+    :end-before: [END howto_operator_emr_eks_env_variables]

Review comment:
       ```suggestion
   ```
   No value for end user. The reader should learn how to use an operator, not 
this specific example.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to