优化动态安装

This commit is contained in:
Jian Shen
2023-03-11 13:07:18 +08:00
parent 0a98c28ba3
commit 28096a64b8
+2 -1
View File
@@ -4,7 +4,7 @@ import pendulum
init_container = {
'name': 'init-container',
#'image': 'busybox',
'image': 'busybox',
'command': [
'sh',
'-c',
@@ -21,5 +21,6 @@ with DAG(
) as dag:
task = KubernetesPodOperator(
task_id='install',
image="apache/airflow:2.5.1",
init_containers=[init_container]
)