From 4e5ddab36722b5a40df03b9a1cfc16036eb32a3a Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 30 Nov 2024 00:31:04 +0100 Subject: [PATCH] Better description on how to build image for k8s --- .../airflow_breeze/commands/kubernetes_commands.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py b/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py index 2f027d5ad9767..d60289e46128d 100644 --- a/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py +++ b/dev/breeze/src/airflow_breeze/commands/kubernetes_commands.py @@ -974,8 +974,15 @@ def configure_cluster( output=None, ) if return_code == 0: - get_console().print("\n[warning]NEXT STEP:[/][info] You might now build your k8s image by:\n") - get_console().print("\nbreeze k8s build-k8s-image\n") + get_console().print( + "\n[warning]NEXT STEP:[/][info] You might now build your k8s image " + "with all latest dependencies:\n" + ) + get_console().print("\n breeze k8s build-k8s-image --rebuild-base-image\n") + get_console().print( + "\n[info]Later you can build image without --rebuild-base-image until " + "airflow dependencies change (to speed up rebuilds).\n" + ) sys.exit(return_code)