优化动态安装
This commit is contained in:
+2
-1
@@ -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]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user