Skip to content

Commit eb994d1

Browse files
authored
Add note (#65178)
1 parent 6497fa5 commit eb994d1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

contributing-docs/testing/k8s_tests.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,18 @@ In order to deploy Airflow, the PROD image of Airflow need to be extended and ex
9191
template files should be added to the image. This is done via ``build-k8s-image``, ``upload-k8s-image``.
9292
This can also be done for all/selected images/clusters in parallel via ``--run-in-parallel`` flag.
9393

94+
.. note::
95+
96+
Before running ``breeze k8s build-k8s-image`` command, make sure that all UI assets are compiled by checking
97+
if ``airflow-core/src/airflow/ui/dist`` is not empty. If the mentioned directory is empty, run following
98+
command:
99+
100+
.. code-block:: shell
101+
102+
breeze ui compile-assets
103+
104+
for making sure that all assets are up-to-date, run the above command with ``--force-clean`` flag.
105+
94106
Deploy Airflow to Kubernetes Cluster
95107
------------------------------------
96108

0 commit comments

Comments
 (0)