Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: reload pods when using the same DAG tag #24576

Merged
merged 8 commits into from
Jul 12, 2022
6 changes: 6 additions & 0 deletions docs/helm-chart/manage-dags-files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ If you are deploying an image with a constant tag, you need to make sure that th
--set images.airflow.repository=my-company/airflow \
--set images.airflow.tag=8a0da78 \
--set images.airflow.pullPolicy=Always

sybernatus marked this conversation as resolved.
Show resolved Hide resolved
eladkal marked this conversation as resolved.
Show resolved Hide resolved
You need then to refresh pods that use this image. Deleting them as follow will trigger their replacement.

.. code-block:: bash

"kubectl" delete pod "<airflow-webserver>" "<airflow-scheduler>" "<airflow-worker>"
sybernatus marked this conversation as resolved.
Show resolved Hide resolved

If you are deploying an image from a private repository, you need to create a secret, e.g. ``gitlab-registry-credentials`` (refer `Pull an Image from a Private Registry <https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/>`_ for details), and specify it using ``--set registry.secretName``:

Expand Down