mik-laj commented on a change in pull request #6516: [AIRFLOW-5704] Improve 
Kind Kubernetes scripts for local testing [WIP]
URL: https://github.com/apache/airflow/pull/6516#discussion_r363790464
 
 

 ##########
 File path: BREEZE.rst
 ##########
 @@ -528,6 +509,54 @@ As soon as you enter the Breeze environment, you can run 
Airflow unit tests via
 
 For supported CI test suites, types of unit tests, and other tests, see 
`TESTING.rst <TESTING.rst>`_.
 
+Running Tests with Kubernetes in Breeze
+=======================================
+
+In order to run Kubernetes in Breeze you can start Breeze with 
``--start-kind-cluster`` switch. This will
+automatically create a Kind Kubernetes cluster in a ``docker`` 
(docker-in-docker) container started as part
+of Breeze environment. Setting up the Kubernetes cluster takes some time so 
the cluster continues running
+until the environment is stopped with ``--stop-environment`` switch or until 
``--recreate-kind-cluster``
+switch is used additionally to ``--start-kind-cluster``.
+
+The Kubernetes cluster is automatically initialized and starts Airflow 
webserver and scheduler
+using latest sources. This is done in two steps. First Airflow images are 
build in the ``docker`` image,
+then Airflow applications (``scheduler``/``webserver``) are prepared and 
deployed at the kind cluster using
+the images prepared.
+
+Rebuilding images should be faster every next time we enter the environment 
but it is attempted every time
+you restart breeze environment. Similarly applications are re-deployed every 
time the breeze environment
 
 Review comment:
   ```diff
   -you restart breeze environment. Similarly applications are re-deployed 
every time the breeze environment
   +you restart breeze environment. Similarly, applications are re-deployed 
every time the breeze environment
   
   ```

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


With regards,
Apache Git Services

Reply via email to