From 8bfb8475e2c1ec884c6dd5f3e8a02eb222391ee7 Mon Sep 17 00:00:00 2001 From: JerT33 Date: Sat, 29 Nov 2025 14:38:10 -0500 Subject: [PATCH] add commonenvs to driver, use for pvc podname Signed-off-by: JerT33 update test cases for env vars Signed-off-by: JerT33 --- .../src/v2/compiler/argocompiler/container.go | 2 +- backend/src/v2/config/env.go | 2 +- test_data/compiled-workflows/add_numbers.yaml | 9 +++++++++ .../arguments_parameters.yaml | 9 +++++++++ .../compiled-workflows/artifact_cache.yaml | 9 +++++++++ .../compiled-workflows/artifact_crust.yaml | 9 +++++++++ .../compiled-workflows/artifacts_complex.yaml | 9 +++++++++ .../compiled-workflows/artifacts_simple.yaml | 9 +++++++++ .../compiled-workflows/collected_artifacts.yaml | 9 +++++++++ .../collected_parameters.yaml | 9 +++++++++ .../component_with_metadata_fields.yaml | 9 +++++++++ .../component_with_optional_inputs.yaml | 9 +++++++++ .../component_with_pip_index_urls.yaml | 9 +++++++++ .../component_with_pip_install.yaml | 9 +++++++++ .../component_with_pip_install_in_venv.yaml | 9 +++++++++ .../components_with_optional_artifacts.yaml | 9 +++++++++ .../compiled-workflows/concat_message.yaml | 9 +++++++++ .../conditional_producer_and_consumers.yaml | 9 +++++++++ .../container_component_with_no_inputs.yaml | 9 +++++++++ test_data/compiled-workflows/container_io.yaml | 9 +++++++++ .../compiled-workflows/container_no_input.yaml | 9 +++++++++ .../container_with_artifact_output.yaml | 9 +++++++++ .../container_with_concat_placeholder.yaml | 9 +++++++++ .../container_with_if_placeholder.yaml | 9 +++++++++ .../container_with_placeholder_in_fstring.yaml | 9 +++++++++ .../containerized_python_component.yaml | 9 +++++++++ .../create_pod_metadata_complex.yaml | 9 +++++++++ .../cross_loop_after_topology.yaml | 9 +++++++++ test_data/compiled-workflows/dict_input.yaml | 9 +++++++++ .../compiled-workflows/embedded_artifact.yaml | 9 +++++++++ test_data/compiled-workflows/env-var.yaml | 9 +++++++++ test_data/compiled-workflows/fail_v2.yaml | 9 +++++++++ test_data/compiled-workflows/flip_coin.yaml | 9 +++++++++ test_data/compiled-workflows/hello_world.yaml | 9 +++++++++ test_data/compiled-workflows/identity.yaml | 9 +++++++++ .../if_elif_else_complex.yaml | 9 +++++++++ .../if_elif_else_with_oneof_parameters.yaml | 9 +++++++++ .../if_else_with_oneof_artifacts.yaml | 9 +++++++++ .../if_else_with_oneof_parameters.yaml | 9 +++++++++ .../compiled-workflows/input_artifact.yaml | 9 +++++++++ .../iris_pipeline_compiled.yaml | 9 +++++++++ .../lightweight_python_functions_pipeline.yaml | 9 +++++++++ ...ghtweight_python_functions_with_outputs.yaml | 9 +++++++++ .../log_streaming_compiled.yaml | 9 +++++++++ test_data/compiled-workflows/long-running.yaml | 9 +++++++++ .../loop_consume_upstream.yaml | 9 +++++++++ .../metrics_visualization_v2.yaml | 9 +++++++++ .../missing_kubernetes_optional_inputs.yaml | 9 +++++++++ .../compiled-workflows/mixed_parameters.yaml | 9 +++++++++ test_data/compiled-workflows/modelcar.yaml | 9 +++++++++ .../multiple_artifacts_namedtuple.yaml | 9 +++++++++ .../multiple_parameters_namedtuple.yaml | 9 +++++++++ ...pipeline_opt_input_child_level_compiled.yaml | 9 +++++++++ ...nested_pipeline_opt_inputs_nil_compiled.yaml | 9 +++++++++ ...peline_opt_inputs_parent_level_compiled.yaml | 9 +++++++++ test_data/compiled-workflows/nested_return.yaml | 9 +++++++++ .../nested_with_parameters.yaml | 9 +++++++++ .../notebook_component_mixed.yaml | 9 +++++++++ .../notebook_component_simple.yaml | 9 +++++++++ .../compiled-workflows/output_metrics.yaml | 9 +++++++++ .../parallel_for_after_dependency.yaml | 9 +++++++++ .../compiled-workflows/parameter_cache.yaml | 9 +++++++++ .../compiled-workflows/parameter_oneof.yaml | 9 +++++++++ .../compiled-workflows/parameters_complex.yaml | 9 +++++++++ .../compiled-workflows/parameters_simple.yaml | 9 +++++++++ .../pipeline_as_exit_task.yaml | 9 +++++++++ .../pipeline_in_pipeline.yaml | 9 +++++++++ .../pipeline_in_pipeline_complex.yaml | 9 +++++++++ .../pipeline_in_pipeline_loaded_from_yaml.yaml | 9 +++++++++ .../pipeline_producer_consumer.yaml | 9 +++++++++ .../compiled-workflows/pipeline_with_after.yaml | 9 +++++++++ .../pipeline_with_artifact_custom_path.yaml | 9 +++++++++ .../pipeline_with_artifact_upload_download.yaml | 9 +++++++++ .../pipeline_with_concat_placeholder.yaml | 9 +++++++++ .../pipeline_with_condition.yaml | 9 +++++++++ ...dynamic_task_output_custom_training_job.yaml | 9 +++++++++ ...pipeline_with_dynamic_importer_metadata.yaml | 9 +++++++++ ...dynamic_task_output_custom_training_job.yaml | 9 +++++++++ .../compiled-workflows/pipeline_with_env.yaml | 9 +++++++++ .../pipeline_with_exit_handler.yaml | 9 +++++++++ .../pipeline_with_google_artifact_type.yaml | 9 +++++++++ .../pipeline_with_importer.yaml | 9 +++++++++ .../pipeline_with_importer_and_gcpc_types.yaml | 9 +++++++++ .../pipeline_with_importer_workspace.yaml | 9 +++++++++ .../pipeline_with_input_status_state.yaml | 9 +++++++++ .../compiled-workflows/pipeline_with_loops.yaml | 9 +++++++++ .../pipeline_with_loops_and_conditions.yaml | 9 +++++++++ .../pipeline_with_metadata_fields.yaml | 9 +++++++++ .../pipeline_with_metrics_outputs.yaml | 9 +++++++++ .../pipeline_with_multiple_exit_handlers.yaml | 9 +++++++++ .../pipeline_with_nested_conditions.yaml | 9 +++++++++ .../pipeline_with_nested_conditions_yaml.yaml | 9 +++++++++ .../pipeline_with_nested_loops.yaml | 9 +++++++++ .../pipeline_with_only_display_name.yaml | 9 +++++++++ .../pipeline_with_outputs.yaml | 9 +++++++++ .../pipeline_with_parallelfor_parallelism.yaml | 9 +++++++++ .../pipeline_with_params_containing_format.yaml | 9 +++++++++ .../pipeline_with_placeholders.yaml | 9 +++++++++ .../pipeline_with_pod_metadata.yaml | 9 +++++++++ .../compiled-workflows/pipeline_with_retry.yaml | 9 +++++++++ .../pipeline_with_reused_component.yaml | 9 +++++++++ .../pipeline_with_secret_as_env.yaml | 9 +++++++++ .../pipeline_with_secret_as_volume.yaml | 9 +++++++++ ...th_string_machine_fields_pipeline_input.yaml | 9 +++++++++ ..._with_string_machine_fields_task_output.yaml | 17 +++++++++++++---- .../pipeline_with_submit_request.yaml | 9 +++++++++ .../pipeline_with_task_final_status.yaml | 9 +++++++++ .../pipeline_with_task_final_status_yaml.yaml | 9 +++++++++ ...with_task_using_ignore_upstream_failure.yaml | 9 +++++++++ .../compiled-workflows/pipeline_with_utils.yaml | 9 +++++++++ .../pipeline_with_various_io_types.yaml | 9 +++++++++ .../pipeline_with_volume.yaml | 9 +++++++++ .../pipeline_with_volume_no_cache.yaml | 9 +++++++++ .../pipeline_with_workspace.yaml | 9 +++++++++ ...er_with_if_placeholder_none_input_value.yaml | 9 +++++++++ test_data/compiled-workflows/preprocess.yaml | 9 +++++++++ .../producer_consumer_param_pipeline.yaml | 9 +++++++++ test_data/compiled-workflows/pvc_mount.yaml | 9 +++++++++ .../pythonic_artifact_with_single_return.yaml | 9 +++++++++ .../pythonic_artifacts_test_pipeline.yaml | 9 +++++++++ ...thonic_artifacts_with_list_of_artifacts.yaml | 9 +++++++++ ...ythonic_artifacts_with_multiple_returns.yaml | 9 +++++++++ .../ray_integration_compiled.yaml | 9 +++++++++ test_data/compiled-workflows/sequential_v1.yaml | 9 +++++++++ test_data/compiled-workflows/sequential_v2.yaml | 9 +++++++++ .../compiled-workflows/take_nap_compiled.yaml | 9 +++++++++ .../take_nap_pipeline_root_compiled.yaml | 9 +++++++++ .../compiled-workflows/two_step_pipeline.yaml | 9 +++++++++ .../two_step_pipeline_containerized.yaml | 9 +++++++++ .../upload_download_compiled.yaml | 9 +++++++++ .../xgboost_sample_pipeline.yaml | 9 +++++++++ 131 files changed, 1167 insertions(+), 6 deletions(-) diff --git a/backend/src/v2/compiler/argocompiler/container.go b/backend/src/v2/compiler/argocompiler/container.go index 239cd85f7e1..4894db74782 100644 --- a/backend/src/v2/compiler/argocompiler/container.go +++ b/backend/src/v2/compiler/argocompiler/container.go @@ -261,7 +261,7 @@ func (c *workflowCompiler) addContainerDriverTemplate() string { Command: c.driverCommand, Args: args, Resources: driverResources, - Env: proxy.GetConfig().GetEnvVars(), + Env: append(proxy.GetConfig().GetEnvVars(), commonEnvs...), }, } // If TLS is enabled (apiserver or metadata), add the custom CA bundle to the container driver template. diff --git a/backend/src/v2/config/env.go b/backend/src/v2/config/env.go index 2f6d7b74792..f9b0f85368c 100644 --- a/backend/src/v2/config/env.go +++ b/backend/src/v2/config/env.go @@ -104,7 +104,7 @@ func InPodNamespace() (string, error) { // InPodName gets the pod name from inside a Kubernetes Pod. func InPodName() (string, error) { - if podName, exists := os.LookupEnv("ARGO_POD_NAME"); exists && podName != "" { + if podName, exists := os.LookupEnv("KFP_POD_NAME"); exists && podName != "" { return podName, nil } podName, err := os.ReadFile("/etc/hostname") diff --git a/test_data/compiled-workflows/add_numbers.yaml b/test_data/compiled-workflows/add_numbers.yaml index f2690eb647a..5dc9641d4c9 100644 --- a/test_data/compiled-workflows/add_numbers.yaml +++ b/test_data/compiled-workflows/add_numbers.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/arguments_parameters.yaml b/test_data/compiled-workflows/arguments_parameters.yaml index 28a64e8cf1d..9b8bb17e430 100644 --- a/test_data/compiled-workflows/arguments_parameters.yaml +++ b/test_data/compiled-workflows/arguments_parameters.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/artifact_cache.yaml b/test_data/compiled-workflows/artifact_cache.yaml index 976ea8f6962..182b4d6970b 100644 --- a/test_data/compiled-workflows/artifact_cache.yaml +++ b/test_data/compiled-workflows/artifact_cache.yaml @@ -96,6 +96,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/artifact_crust.yaml b/test_data/compiled-workflows/artifact_crust.yaml index fb232e93927..984f95cc1da 100644 --- a/test_data/compiled-workflows/artifact_crust.yaml +++ b/test_data/compiled-workflows/artifact_crust.yaml @@ -96,6 +96,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/artifacts_complex.yaml b/test_data/compiled-workflows/artifacts_complex.yaml index fa9a3de6214..5331fc1b32c 100644 --- a/test_data/compiled-workflows/artifacts_complex.yaml +++ b/test_data/compiled-workflows/artifacts_complex.yaml @@ -122,6 +122,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/artifacts_simple.yaml b/test_data/compiled-workflows/artifacts_simple.yaml index 424bbe8b981..70397fe7e44 100644 --- a/test_data/compiled-workflows/artifacts_simple.yaml +++ b/test_data/compiled-workflows/artifacts_simple.yaml @@ -107,6 +107,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/collected_artifacts.yaml b/test_data/compiled-workflows/collected_artifacts.yaml index 2cd689ce54f..214e5ff54ea 100644 --- a/test_data/compiled-workflows/collected_artifacts.yaml +++ b/test_data/compiled-workflows/collected_artifacts.yaml @@ -188,6 +188,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/collected_parameters.yaml b/test_data/compiled-workflows/collected_parameters.yaml index 1b2f596ac41..14880c1336b 100644 --- a/test_data/compiled-workflows/collected_parameters.yaml +++ b/test_data/compiled-workflows/collected_parameters.yaml @@ -123,6 +123,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/component_with_metadata_fields.yaml b/test_data/compiled-workflows/component_with_metadata_fields.yaml index 2cf24ef5a21..6d43d9c4e5e 100644 --- a/test_data/compiled-workflows/component_with_metadata_fields.yaml +++ b/test_data/compiled-workflows/component_with_metadata_fields.yaml @@ -92,6 +92,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/component_with_optional_inputs.yaml b/test_data/compiled-workflows/component_with_optional_inputs.yaml index 800611ee76f..d1038c24d53 100644 --- a/test_data/compiled-workflows/component_with_optional_inputs.yaml +++ b/test_data/compiled-workflows/component_with_optional_inputs.yaml @@ -81,6 +81,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/component_with_pip_index_urls.yaml b/test_data/compiled-workflows/component_with_pip_index_urls.yaml index 38ab778259a..dbd5adf0c1c 100644 --- a/test_data/compiled-workflows/component_with_pip_index_urls.yaml +++ b/test_data/compiled-workflows/component_with_pip_index_urls.yaml @@ -79,6 +79,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/component_with_pip_install.yaml b/test_data/compiled-workflows/component_with_pip_install.yaml index 7f4abe200bf..975411b2960 100644 --- a/test_data/compiled-workflows/component_with_pip_install.yaml +++ b/test_data/compiled-workflows/component_with_pip_install.yaml @@ -79,6 +79,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/component_with_pip_install_in_venv.yaml b/test_data/compiled-workflows/component_with_pip_install_in_venv.yaml index 03bebc5511a..fab5ab70b42 100644 --- a/test_data/compiled-workflows/component_with_pip_install_in_venv.yaml +++ b/test_data/compiled-workflows/component_with_pip_install_in_venv.yaml @@ -80,6 +80,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/components_with_optional_artifacts.yaml b/test_data/compiled-workflows/components_with_optional_artifacts.yaml index 4e09b485102..4d85c6317dc 100644 --- a/test_data/compiled-workflows/components_with_optional_artifacts.yaml +++ b/test_data/compiled-workflows/components_with_optional_artifacts.yaml @@ -93,6 +93,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/concat_message.yaml b/test_data/compiled-workflows/concat_message.yaml index 3a30d89b475..1547aeaa8d1 100644 --- a/test_data/compiled-workflows/concat_message.yaml +++ b/test_data/compiled-workflows/concat_message.yaml @@ -78,6 +78,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/conditional_producer_and_consumers.yaml b/test_data/compiled-workflows/conditional_producer_and_consumers.yaml index 86b95b7cfd1..4d864b0a745 100644 --- a/test_data/compiled-workflows/conditional_producer_and_consumers.yaml +++ b/test_data/compiled-workflows/conditional_producer_and_consumers.yaml @@ -99,6 +99,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_component_with_no_inputs.yaml b/test_data/compiled-workflows/container_component_with_no_inputs.yaml index 848893b2ae9..68567e2fa24 100644 --- a/test_data/compiled-workflows/container_component_with_no_inputs.yaml +++ b/test_data/compiled-workflows/container_component_with_no_inputs.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_io.yaml b/test_data/compiled-workflows/container_io.yaml index 3cf5ddce6f0..0a04dbd627d 100644 --- a/test_data/compiled-workflows/container_io.yaml +++ b/test_data/compiled-workflows/container_io.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_no_input.yaml b/test_data/compiled-workflows/container_no_input.yaml index e5443db62a2..fc522c0ece7 100644 --- a/test_data/compiled-workflows/container_no_input.yaml +++ b/test_data/compiled-workflows/container_no_input.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_with_artifact_output.yaml b/test_data/compiled-workflows/container_with_artifact_output.yaml index 5e53e745b60..d7e627dd995 100644 --- a/test_data/compiled-workflows/container_with_artifact_output.yaml +++ b/test_data/compiled-workflows/container_with_artifact_output.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_with_concat_placeholder.yaml b/test_data/compiled-workflows/container_with_concat_placeholder.yaml index 8c43477b727..9b8cda971da 100644 --- a/test_data/compiled-workflows/container_with_concat_placeholder.yaml +++ b/test_data/compiled-workflows/container_with_concat_placeholder.yaml @@ -69,6 +69,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_with_if_placeholder.yaml b/test_data/compiled-workflows/container_with_if_placeholder.yaml index 6f2eca7d09b..2001d777efd 100644 --- a/test_data/compiled-workflows/container_with_if_placeholder.yaml +++ b/test_data/compiled-workflows/container_with_if_placeholder.yaml @@ -71,6 +71,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/container_with_placeholder_in_fstring.yaml b/test_data/compiled-workflows/container_with_placeholder_in_fstring.yaml index 3da4b628460..f46d328f4e5 100644 --- a/test_data/compiled-workflows/container_with_placeholder_in_fstring.yaml +++ b/test_data/compiled-workflows/container_with_placeholder_in_fstring.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/containerized_python_component.yaml b/test_data/compiled-workflows/containerized_python_component.yaml index 99741facbb4..fc70fbcf82e 100644 --- a/test_data/compiled-workflows/containerized_python_component.yaml +++ b/test_data/compiled-workflows/containerized_python_component.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/create_pod_metadata_complex.yaml b/test_data/compiled-workflows/create_pod_metadata_complex.yaml index fa136f07968..0a1373bb185 100644 --- a/test_data/compiled-workflows/create_pod_metadata_complex.yaml +++ b/test_data/compiled-workflows/create_pod_metadata_complex.yaml @@ -121,6 +121,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/cross_loop_after_topology.yaml b/test_data/compiled-workflows/cross_loop_after_topology.yaml index 21b396ef648..b345cf21780 100644 --- a/test_data/compiled-workflows/cross_loop_after_topology.yaml +++ b/test_data/compiled-workflows/cross_loop_after_topology.yaml @@ -98,6 +98,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/dict_input.yaml b/test_data/compiled-workflows/dict_input.yaml index 45a884c4d61..5abe8ecefbd 100644 --- a/test_data/compiled-workflows/dict_input.yaml +++ b/test_data/compiled-workflows/dict_input.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/embedded_artifact.yaml b/test_data/compiled-workflows/embedded_artifact.yaml index 54a1ad5b2b2..2b1194413d6 100644 --- a/test_data/compiled-workflows/embedded_artifact.yaml +++ b/test_data/compiled-workflows/embedded_artifact.yaml @@ -118,6 +118,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/env-var.yaml b/test_data/compiled-workflows/env-var.yaml index 032fd4e5b06..44d563997a4 100644 --- a/test_data/compiled-workflows/env-var.yaml +++ b/test_data/compiled-workflows/env-var.yaml @@ -79,6 +79,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/fail_v2.yaml b/test_data/compiled-workflows/fail_v2.yaml index f91bdc5c18b..6e4508fecf2 100644 --- a/test_data/compiled-workflows/fail_v2.yaml +++ b/test_data/compiled-workflows/fail_v2.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/flip_coin.yaml b/test_data/compiled-workflows/flip_coin.yaml index 47501ec3028..32de08d71d5 100644 --- a/test_data/compiled-workflows/flip_coin.yaml +++ b/test_data/compiled-workflows/flip_coin.yaml @@ -134,6 +134,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/hello_world.yaml b/test_data/compiled-workflows/hello_world.yaml index 008e2ea129c..b09dd313e7f 100644 --- a/test_data/compiled-workflows/hello_world.yaml +++ b/test_data/compiled-workflows/hello_world.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/identity.yaml b/test_data/compiled-workflows/identity.yaml index 7f54fb0f731..29b875f1762 100644 --- a/test_data/compiled-workflows/identity.yaml +++ b/test_data/compiled-workflows/identity.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/if_elif_else_complex.yaml b/test_data/compiled-workflows/if_elif_else_complex.yaml index 33e01bdff04..cb35a5b10a2 100644 --- a/test_data/compiled-workflows/if_elif_else_complex.yaml +++ b/test_data/compiled-workflows/if_elif_else_complex.yaml @@ -168,6 +168,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/if_elif_else_with_oneof_parameters.yaml b/test_data/compiled-workflows/if_elif_else_with_oneof_parameters.yaml index d11b7798052..1f158fe130c 100644 --- a/test_data/compiled-workflows/if_elif_else_with_oneof_parameters.yaml +++ b/test_data/compiled-workflows/if_elif_else_with_oneof_parameters.yaml @@ -123,6 +123,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/if_else_with_oneof_artifacts.yaml b/test_data/compiled-workflows/if_else_with_oneof_artifacts.yaml index 2d296f4cdee..4912deafc2f 100644 --- a/test_data/compiled-workflows/if_else_with_oneof_artifacts.yaml +++ b/test_data/compiled-workflows/if_else_with_oneof_artifacts.yaml @@ -115,6 +115,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/if_else_with_oneof_parameters.yaml b/test_data/compiled-workflows/if_else_with_oneof_parameters.yaml index 8cbb69292d9..fa3c623e40d 100644 --- a/test_data/compiled-workflows/if_else_with_oneof_parameters.yaml +++ b/test_data/compiled-workflows/if_else_with_oneof_parameters.yaml @@ -101,6 +101,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/input_artifact.yaml b/test_data/compiled-workflows/input_artifact.yaml index de20f4d3255..205ef496768 100644 --- a/test_data/compiled-workflows/input_artifact.yaml +++ b/test_data/compiled-workflows/input_artifact.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/iris_pipeline_compiled.yaml b/test_data/compiled-workflows/iris_pipeline_compiled.yaml index eefcc16eecc..3836d63b77f 100644 --- a/test_data/compiled-workflows/iris_pipeline_compiled.yaml +++ b/test_data/compiled-workflows/iris_pipeline_compiled.yaml @@ -130,6 +130,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/lightweight_python_functions_pipeline.yaml b/test_data/compiled-workflows/lightweight_python_functions_pipeline.yaml index 2c818b4936f..4bfa06177de 100644 --- a/test_data/compiled-workflows/lightweight_python_functions_pipeline.yaml +++ b/test_data/compiled-workflows/lightweight_python_functions_pipeline.yaml @@ -132,6 +132,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/lightweight_python_functions_with_outputs.yaml b/test_data/compiled-workflows/lightweight_python_functions_with_outputs.yaml index 9d4a940c665..c43c42d9fff 100644 --- a/test_data/compiled-workflows/lightweight_python_functions_with_outputs.yaml +++ b/test_data/compiled-workflows/lightweight_python_functions_with_outputs.yaml @@ -124,6 +124,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/log_streaming_compiled.yaml b/test_data/compiled-workflows/log_streaming_compiled.yaml index c40c8c37cb3..36c5a159aff 100644 --- a/test_data/compiled-workflows/log_streaming_compiled.yaml +++ b/test_data/compiled-workflows/log_streaming_compiled.yaml @@ -81,6 +81,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/long-running.yaml b/test_data/compiled-workflows/long-running.yaml index d21b5bd0383..7d5773b68d2 100644 --- a/test_data/compiled-workflows/long-running.yaml +++ b/test_data/compiled-workflows/long-running.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/loop_consume_upstream.yaml b/test_data/compiled-workflows/loop_consume_upstream.yaml index e836a432ae1..001f4bd9051 100644 --- a/test_data/compiled-workflows/loop_consume_upstream.yaml +++ b/test_data/compiled-workflows/loop_consume_upstream.yaml @@ -125,6 +125,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/metrics_visualization_v2.yaml b/test_data/compiled-workflows/metrics_visualization_v2.yaml index 211cc28ade7..0b6e48aaa75 100644 --- a/test_data/compiled-workflows/metrics_visualization_v2.yaml +++ b/test_data/compiled-workflows/metrics_visualization_v2.yaml @@ -169,6 +169,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/missing_kubernetes_optional_inputs.yaml b/test_data/compiled-workflows/missing_kubernetes_optional_inputs.yaml index 8493db0d989..defb3ed7779 100644 --- a/test_data/compiled-workflows/missing_kubernetes_optional_inputs.yaml +++ b/test_data/compiled-workflows/missing_kubernetes_optional_inputs.yaml @@ -80,6 +80,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/mixed_parameters.yaml b/test_data/compiled-workflows/mixed_parameters.yaml index 0ba53fd80fe..35c896ee460 100644 --- a/test_data/compiled-workflows/mixed_parameters.yaml +++ b/test_data/compiled-workflows/mixed_parameters.yaml @@ -94,6 +94,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/modelcar.yaml b/test_data/compiled-workflows/modelcar.yaml index d2e17ed8540..0588790d0b1 100644 --- a/test_data/compiled-workflows/modelcar.yaml +++ b/test_data/compiled-workflows/modelcar.yaml @@ -102,6 +102,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/multiple_artifacts_namedtuple.yaml b/test_data/compiled-workflows/multiple_artifacts_namedtuple.yaml index 47671e184f2..f0456cd837a 100644 --- a/test_data/compiled-workflows/multiple_artifacts_namedtuple.yaml +++ b/test_data/compiled-workflows/multiple_artifacts_namedtuple.yaml @@ -98,6 +98,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/multiple_parameters_namedtuple.yaml b/test_data/compiled-workflows/multiple_parameters_namedtuple.yaml index 3d124fc3a4c..52e9960f820 100644 --- a/test_data/compiled-workflows/multiple_parameters_namedtuple.yaml +++ b/test_data/compiled-workflows/multiple_parameters_namedtuple.yaml @@ -97,6 +97,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/nested_pipeline_opt_input_child_level_compiled.yaml b/test_data/compiled-workflows/nested_pipeline_opt_input_child_level_compiled.yaml index 3be6e1679de..615cd691b9e 100644 --- a/test_data/compiled-workflows/nested_pipeline_opt_input_child_level_compiled.yaml +++ b/test_data/compiled-workflows/nested_pipeline_opt_input_child_level_compiled.yaml @@ -157,6 +157,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/nested_pipeline_opt_inputs_nil_compiled.yaml b/test_data/compiled-workflows/nested_pipeline_opt_inputs_nil_compiled.yaml index ae66cce026e..40a36cfe90b 100644 --- a/test_data/compiled-workflows/nested_pipeline_opt_inputs_nil_compiled.yaml +++ b/test_data/compiled-workflows/nested_pipeline_opt_inputs_nil_compiled.yaml @@ -108,6 +108,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/nested_pipeline_opt_inputs_parent_level_compiled.yaml b/test_data/compiled-workflows/nested_pipeline_opt_inputs_parent_level_compiled.yaml index 5660663844d..36b176064fd 100644 --- a/test_data/compiled-workflows/nested_pipeline_opt_inputs_parent_level_compiled.yaml +++ b/test_data/compiled-workflows/nested_pipeline_opt_inputs_parent_level_compiled.yaml @@ -160,6 +160,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/nested_return.yaml b/test_data/compiled-workflows/nested_return.yaml index 7ce64631147..db9c11f722c 100644 --- a/test_data/compiled-workflows/nested_return.yaml +++ b/test_data/compiled-workflows/nested_return.yaml @@ -78,6 +78,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/nested_with_parameters.yaml b/test_data/compiled-workflows/nested_with_parameters.yaml index 802341d6c57..c27dccbbd98 100644 --- a/test_data/compiled-workflows/nested_with_parameters.yaml +++ b/test_data/compiled-workflows/nested_with_parameters.yaml @@ -110,6 +110,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/notebook_component_mixed.yaml b/test_data/compiled-workflows/notebook_component_mixed.yaml index 65b22918d22..50ad5b271a9 100644 --- a/test_data/compiled-workflows/notebook_component_mixed.yaml +++ b/test_data/compiled-workflows/notebook_component_mixed.yaml @@ -306,6 +306,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/notebook_component_simple.yaml b/test_data/compiled-workflows/notebook_component_simple.yaml index 5e3d716fcbf..a93d3d3dc0f 100644 --- a/test_data/compiled-workflows/notebook_component_simple.yaml +++ b/test_data/compiled-workflows/notebook_component_simple.yaml @@ -175,6 +175,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/output_metrics.yaml b/test_data/compiled-workflows/output_metrics.yaml index 1a07c9d0426..8420f1a222c 100644 --- a/test_data/compiled-workflows/output_metrics.yaml +++ b/test_data/compiled-workflows/output_metrics.yaml @@ -79,6 +79,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/parallel_for_after_dependency.yaml b/test_data/compiled-workflows/parallel_for_after_dependency.yaml index a1e07560667..ad3757dcac5 100644 --- a/test_data/compiled-workflows/parallel_for_after_dependency.yaml +++ b/test_data/compiled-workflows/parallel_for_after_dependency.yaml @@ -80,6 +80,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/parameter_cache.yaml b/test_data/compiled-workflows/parameter_cache.yaml index 432286e4ca4..10e8e5ba886 100644 --- a/test_data/compiled-workflows/parameter_cache.yaml +++ b/test_data/compiled-workflows/parameter_cache.yaml @@ -94,6 +94,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/parameter_oneof.yaml b/test_data/compiled-workflows/parameter_oneof.yaml index 23da5ebc02c..7b6bfb7e8ef 100644 --- a/test_data/compiled-workflows/parameter_oneof.yaml +++ b/test_data/compiled-workflows/parameter_oneof.yaml @@ -133,6 +133,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/parameters_complex.yaml b/test_data/compiled-workflows/parameters_complex.yaml index d3a66f17c90..fc91a2f5116 100644 --- a/test_data/compiled-workflows/parameters_complex.yaml +++ b/test_data/compiled-workflows/parameters_complex.yaml @@ -127,6 +127,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/parameters_simple.yaml b/test_data/compiled-workflows/parameters_simple.yaml index e9a78af4b97..32af148cb3a 100644 --- a/test_data/compiled-workflows/parameters_simple.yaml +++ b/test_data/compiled-workflows/parameters_simple.yaml @@ -98,6 +98,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_as_exit_task.yaml b/test_data/compiled-workflows/pipeline_as_exit_task.yaml index 9d482106083..0cf24f3acff 100644 --- a/test_data/compiled-workflows/pipeline_as_exit_task.yaml +++ b/test_data/compiled-workflows/pipeline_as_exit_task.yaml @@ -114,6 +114,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_in_pipeline.yaml b/test_data/compiled-workflows/pipeline_in_pipeline.yaml index f63a484f35f..5456cb7b42f 100644 --- a/test_data/compiled-workflows/pipeline_in_pipeline.yaml +++ b/test_data/compiled-workflows/pipeline_in_pipeline.yaml @@ -83,6 +83,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_in_pipeline_complex.yaml b/test_data/compiled-workflows/pipeline_in_pipeline_complex.yaml index 9b22e9ed0c9..bd987316e1a 100644 --- a/test_data/compiled-workflows/pipeline_in_pipeline_complex.yaml +++ b/test_data/compiled-workflows/pipeline_in_pipeline_complex.yaml @@ -92,6 +92,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_in_pipeline_loaded_from_yaml.yaml b/test_data/compiled-workflows/pipeline_in_pipeline_loaded_from_yaml.yaml index eac0f916c70..ef178f3a1a9 100644 --- a/test_data/compiled-workflows/pipeline_in_pipeline_loaded_from_yaml.yaml +++ b/test_data/compiled-workflows/pipeline_in_pipeline_loaded_from_yaml.yaml @@ -99,6 +99,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_producer_consumer.yaml b/test_data/compiled-workflows/pipeline_producer_consumer.yaml index 7cd6c741f87..f4e08b7e0ff 100644 --- a/test_data/compiled-workflows/pipeline_producer_consumer.yaml +++ b/test_data/compiled-workflows/pipeline_producer_consumer.yaml @@ -130,6 +130,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_after.yaml b/test_data/compiled-workflows/pipeline_with_after.yaml index fda3ea72e0e..6ada6b94f45 100644 --- a/test_data/compiled-workflows/pipeline_with_after.yaml +++ b/test_data/compiled-workflows/pipeline_with_after.yaml @@ -71,6 +71,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_artifact_custom_path.yaml b/test_data/compiled-workflows/pipeline_with_artifact_custom_path.yaml index 5bcd8c00f01..a345cc0d6df 100644 --- a/test_data/compiled-workflows/pipeline_with_artifact_custom_path.yaml +++ b/test_data/compiled-workflows/pipeline_with_artifact_custom_path.yaml @@ -99,6 +99,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_artifact_upload_download.yaml b/test_data/compiled-workflows/pipeline_with_artifact_upload_download.yaml index 48bec534b24..aa533bca590 100644 --- a/test_data/compiled-workflows/pipeline_with_artifact_upload_download.yaml +++ b/test_data/compiled-workflows/pipeline_with_artifact_upload_download.yaml @@ -98,6 +98,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_concat_placeholder.yaml b/test_data/compiled-workflows/pipeline_with_concat_placeholder.yaml index cf1461701e9..497258aba13 100644 --- a/test_data/compiled-workflows/pipeline_with_concat_placeholder.yaml +++ b/test_data/compiled-workflows/pipeline_with_concat_placeholder.yaml @@ -70,6 +70,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_condition.yaml b/test_data/compiled-workflows/pipeline_with_condition.yaml index 0c2a494b7da..acd1abd3c1f 100644 --- a/test_data/compiled-workflows/pipeline_with_condition.yaml +++ b/test_data/compiled-workflows/pipeline_with_condition.yaml @@ -96,6 +96,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_condition_dynamic_task_output_custom_training_job.yaml b/test_data/compiled-workflows/pipeline_with_condition_dynamic_task_output_custom_training_job.yaml index 27170161592..369bef84561 100644 --- a/test_data/compiled-workflows/pipeline_with_condition_dynamic_task_output_custom_training_job.yaml +++ b/test_data/compiled-workflows/pipeline_with_condition_dynamic_task_output_custom_training_job.yaml @@ -193,6 +193,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_dynamic_importer_metadata.yaml b/test_data/compiled-workflows/pipeline_with_dynamic_importer_metadata.yaml index af7a970736d..3c6aea993c1 100644 --- a/test_data/compiled-workflows/pipeline_with_dynamic_importer_metadata.yaml +++ b/test_data/compiled-workflows/pipeline_with_dynamic_importer_metadata.yaml @@ -142,6 +142,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_dynamic_task_output_custom_training_job.yaml b/test_data/compiled-workflows/pipeline_with_dynamic_task_output_custom_training_job.yaml index bd0507825d8..9b0e4758829 100644 --- a/test_data/compiled-workflows/pipeline_with_dynamic_task_output_custom_training_job.yaml +++ b/test_data/compiled-workflows/pipeline_with_dynamic_task_output_custom_training_job.yaml @@ -155,6 +155,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_env.yaml b/test_data/compiled-workflows/pipeline_with_env.yaml index 4db528866da..94b1f51ae57 100644 --- a/test_data/compiled-workflows/pipeline_with_env.yaml +++ b/test_data/compiled-workflows/pipeline_with_env.yaml @@ -83,6 +83,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_exit_handler.yaml b/test_data/compiled-workflows/pipeline_with_exit_handler.yaml index b41b36c2a2d..c843d5ba759 100644 --- a/test_data/compiled-workflows/pipeline_with_exit_handler.yaml +++ b/test_data/compiled-workflows/pipeline_with_exit_handler.yaml @@ -95,6 +95,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_google_artifact_type.yaml b/test_data/compiled-workflows/pipeline_with_google_artifact_type.yaml index da766062219..6b10e6d4619 100644 --- a/test_data/compiled-workflows/pipeline_with_google_artifact_type.yaml +++ b/test_data/compiled-workflows/pipeline_with_google_artifact_type.yaml @@ -160,6 +160,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_importer.yaml b/test_data/compiled-workflows/pipeline_with_importer.yaml index 31378c9f080..7019e0007b2 100644 --- a/test_data/compiled-workflows/pipeline_with_importer.yaml +++ b/test_data/compiled-workflows/pipeline_with_importer.yaml @@ -150,6 +150,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_importer_and_gcpc_types.yaml b/test_data/compiled-workflows/pipeline_with_importer_and_gcpc_types.yaml index c3589c4aaa9..27b5ee9f636 100644 --- a/test_data/compiled-workflows/pipeline_with_importer_and_gcpc_types.yaml +++ b/test_data/compiled-workflows/pipeline_with_importer_and_gcpc_types.yaml @@ -72,6 +72,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_importer_workspace.yaml b/test_data/compiled-workflows/pipeline_with_importer_workspace.yaml index befe7d58d3c..25556e407d7 100644 --- a/test_data/compiled-workflows/pipeline_with_importer_workspace.yaml +++ b/test_data/compiled-workflows/pipeline_with_importer_workspace.yaml @@ -224,6 +224,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_input_status_state.yaml b/test_data/compiled-workflows/pipeline_with_input_status_state.yaml index 1d8a469dd45..5e8648e651d 100644 --- a/test_data/compiled-workflows/pipeline_with_input_status_state.yaml +++ b/test_data/compiled-workflows/pipeline_with_input_status_state.yaml @@ -95,6 +95,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_loops.yaml b/test_data/compiled-workflows/pipeline_with_loops.yaml index 5d35ec74f3c..9ea6d651c72 100644 --- a/test_data/compiled-workflows/pipeline_with_loops.yaml +++ b/test_data/compiled-workflows/pipeline_with_loops.yaml @@ -111,6 +111,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_loops_and_conditions.yaml b/test_data/compiled-workflows/pipeline_with_loops_and_conditions.yaml index becbd874c62..92b897b7e46 100644 --- a/test_data/compiled-workflows/pipeline_with_loops_and_conditions.yaml +++ b/test_data/compiled-workflows/pipeline_with_loops_and_conditions.yaml @@ -157,6 +157,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_metadata_fields.yaml b/test_data/compiled-workflows/pipeline_with_metadata_fields.yaml index 88dc09d1fba..bc8eeb28aa4 100644 --- a/test_data/compiled-workflows/pipeline_with_metadata_fields.yaml +++ b/test_data/compiled-workflows/pipeline_with_metadata_fields.yaml @@ -108,6 +108,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_metrics_outputs.yaml b/test_data/compiled-workflows/pipeline_with_metrics_outputs.yaml index d1dca0efc08..95cf3ab6356 100644 --- a/test_data/compiled-workflows/pipeline_with_metrics_outputs.yaml +++ b/test_data/compiled-workflows/pipeline_with_metrics_outputs.yaml @@ -82,6 +82,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_multiple_exit_handlers.yaml b/test_data/compiled-workflows/pipeline_with_multiple_exit_handlers.yaml index d30445f4d7b..7296cbfbabb 100644 --- a/test_data/compiled-workflows/pipeline_with_multiple_exit_handlers.yaml +++ b/test_data/compiled-workflows/pipeline_with_multiple_exit_handlers.yaml @@ -101,6 +101,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_nested_conditions.yaml b/test_data/compiled-workflows/pipeline_with_nested_conditions.yaml index e72944d6f32..0afd063d360 100644 --- a/test_data/compiled-workflows/pipeline_with_nested_conditions.yaml +++ b/test_data/compiled-workflows/pipeline_with_nested_conditions.yaml @@ -98,6 +98,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_nested_conditions_yaml.yaml b/test_data/compiled-workflows/pipeline_with_nested_conditions_yaml.yaml index e85350ce5c6..702996c3f6c 100644 --- a/test_data/compiled-workflows/pipeline_with_nested_conditions_yaml.yaml +++ b/test_data/compiled-workflows/pipeline_with_nested_conditions_yaml.yaml @@ -110,6 +110,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_nested_loops.yaml b/test_data/compiled-workflows/pipeline_with_nested_loops.yaml index 5be8d24683f..b307d4e2d09 100644 --- a/test_data/compiled-workflows/pipeline_with_nested_loops.yaml +++ b/test_data/compiled-workflows/pipeline_with_nested_loops.yaml @@ -88,6 +88,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_only_display_name.yaml b/test_data/compiled-workflows/pipeline_with_only_display_name.yaml index c5e82daea0a..7dd277b6d91 100644 --- a/test_data/compiled-workflows/pipeline_with_only_display_name.yaml +++ b/test_data/compiled-workflows/pipeline_with_only_display_name.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_outputs.yaml b/test_data/compiled-workflows/pipeline_with_outputs.yaml index 3dc4767b003..04721936f76 100644 --- a/test_data/compiled-workflows/pipeline_with_outputs.yaml +++ b/test_data/compiled-workflows/pipeline_with_outputs.yaml @@ -84,6 +84,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_parallelfor_parallelism.yaml b/test_data/compiled-workflows/pipeline_with_parallelfor_parallelism.yaml index 92bd841829b..30569209dc2 100644 --- a/test_data/compiled-workflows/pipeline_with_parallelfor_parallelism.yaml +++ b/test_data/compiled-workflows/pipeline_with_parallelfor_parallelism.yaml @@ -175,6 +175,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_params_containing_format.yaml b/test_data/compiled-workflows/pipeline_with_params_containing_format.yaml index 0ba29b974e3..8f78c70e2bf 100644 --- a/test_data/compiled-workflows/pipeline_with_params_containing_format.yaml +++ b/test_data/compiled-workflows/pipeline_with_params_containing_format.yaml @@ -97,6 +97,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_placeholders.yaml b/test_data/compiled-workflows/pipeline_with_placeholders.yaml index 57b182c7249..50bb20e7757 100644 --- a/test_data/compiled-workflows/pipeline_with_placeholders.yaml +++ b/test_data/compiled-workflows/pipeline_with_placeholders.yaml @@ -84,6 +84,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_pod_metadata.yaml b/test_data/compiled-workflows/pipeline_with_pod_metadata.yaml index b5dc1edd689..4331d2bc075 100644 --- a/test_data/compiled-workflows/pipeline_with_pod_metadata.yaml +++ b/test_data/compiled-workflows/pipeline_with_pod_metadata.yaml @@ -199,6 +199,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_retry.yaml b/test_data/compiled-workflows/pipeline_with_retry.yaml index f09487eb4a0..118341d0a70 100644 --- a/test_data/compiled-workflows/pipeline_with_retry.yaml +++ b/test_data/compiled-workflows/pipeline_with_retry.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_reused_component.yaml b/test_data/compiled-workflows/pipeline_with_reused_component.yaml index 68f04d34f84..b76f6b4bcd2 100644 --- a/test_data/compiled-workflows/pipeline_with_reused_component.yaml +++ b/test_data/compiled-workflows/pipeline_with_reused_component.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_secret_as_env.yaml b/test_data/compiled-workflows/pipeline_with_secret_as_env.yaml index 3aa31216aa0..a9514c309bb 100644 --- a/test_data/compiled-workflows/pipeline_with_secret_as_env.yaml +++ b/test_data/compiled-workflows/pipeline_with_secret_as_env.yaml @@ -96,6 +96,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_secret_as_volume.yaml b/test_data/compiled-workflows/pipeline_with_secret_as_volume.yaml index 780c0fca788..6bc2b6c25de 100644 --- a/test_data/compiled-workflows/pipeline_with_secret_as_volume.yaml +++ b/test_data/compiled-workflows/pipeline_with_secret_as_volume.yaml @@ -84,6 +84,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_string_machine_fields_pipeline_input.yaml b/test_data/compiled-workflows/pipeline_with_string_machine_fields_pipeline_input.yaml index f8dc36eb675..225e0b363ea 100644 --- a/test_data/compiled-workflows/pipeline_with_string_machine_fields_pipeline_input.yaml +++ b/test_data/compiled-workflows/pipeline_with_string_machine_fields_pipeline_input.yaml @@ -77,6 +77,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_string_machine_fields_task_output.yaml b/test_data/compiled-workflows/pipeline_with_string_machine_fields_task_output.yaml index 290fe74383b..bdb487406c8 100644 --- a/test_data/compiled-workflows/pipeline_with_string_machine_fields_task_output.yaml +++ b/test_data/compiled-workflows/pipeline_with_string_machine_fields_task_output.yaml @@ -72,7 +72,7 @@ spec: kfp\nfrom kfp import dsl\nfrom kfp.dsl import *\nfrom typing import *\n\ndef sum_numbers(a: int, b: int) -\u003e int:\n return a + b\n\n"],"image":"python:3.11","resources":{"accelerator":{"resourceCount":"{{$.inputs.parameters[''pipelinechannel--accelerator-limit-Output'']}}","resourceType":"{{$.inputs.parameters[''pipelinechannel--accelerator-type-Output'']}}"},"resourceCpuLimit":"{{$.inputs.parameters[''pipelinechannel--cpu-limit-Output'']}}","resourceMemoryLimit":"{{$.inputs.parameters[''pipelinechannel--memory-limit-Output'']}}"}}' - name: components-root - value: '{"dag":{"tasks":{"accelerator-limit":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-accelerator-limit"},"taskInfo":{"name":"accelerator-limit"}},"accelerator-type":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-accelerator-type"},"taskInfo":{"name":"accelerator-type"}},"cpu-limit":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-cpu-limit"},"taskInfo":{"name":"cpu-limit"}},"memory-limit":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-memory-limit"},"taskInfo":{"name":"memory-limit"}},"sum-numbers":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-sum-numbers"},"dependentTasks":["accelerator-type","cpu-limit","memory-limit","accelerator-limit"],"inputs":{"parameters":{"a":{"runtimeValue":{"constant":1}},"accelerator_count":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-limit-Output'']}}"}},"accelerator_type":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-type-Output'']}}"}},"b":{"runtimeValue":{"constant":2}},"cpu_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--cpu-limit-Output'']}}"}},"memory_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--memory-limit-Output'']}}"}},"pipelinechannel--accelerator-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-limit"}},"pipelinechannel--accelerator-type-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-type"}},"pipelinechannel--cpu-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"cpu-limit"}},"pipelinechannel--memory-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"memory-limit"}}}},"taskInfo":{"name":"sum-numbers"}}}}}' + value: '{"dag":{"tasks":{"accelerator-limit":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-accelerator-limit"},"taskInfo":{"name":"accelerator-limit"}},"accelerator-type":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-accelerator-type"},"taskInfo":{"name":"accelerator-type"}},"cpu-limit":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-cpu-limit"},"taskInfo":{"name":"cpu-limit"}},"memory-limit":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-memory-limit"},"taskInfo":{"name":"memory-limit"}},"sum-numbers":{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-sum-numbers"},"dependentTasks":["accelerator-type","cpu-limit","accelerator-limit","memory-limit"],"inputs":{"parameters":{"a":{"runtimeValue":{"constant":1}},"accelerator_count":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-limit-Output'']}}"}},"accelerator_type":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-type-Output'']}}"}},"b":{"runtimeValue":{"constant":2}},"cpu_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--cpu-limit-Output'']}}"}},"memory_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--memory-limit-Output'']}}"}},"pipelinechannel--accelerator-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-limit"}},"pipelinechannel--accelerator-type-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-type"}},"pipelinechannel--cpu-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"cpu-limit"}},"pipelinechannel--memory-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"memory-limit"}}}},"taskInfo":{"name":"sum-numbers"}}}}}' entrypoint: entrypoint podMetadata: annotations: @@ -129,6 +129,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: @@ -359,15 +368,15 @@ spec: - name: component value: '{{workflow.parameters.components-49f9a898b718a077f30b7fd8c02d39767cff91ff0bbda4379daf866a91dbdb1b}}' - name: task - value: '{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-sum-numbers"},"dependentTasks":["accelerator-type","cpu-limit","memory-limit","accelerator-limit"],"inputs":{"parameters":{"a":{"runtimeValue":{"constant":1}},"accelerator_count":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-limit-Output'']}}"}},"accelerator_type":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-type-Output'']}}"}},"b":{"runtimeValue":{"constant":2}},"cpu_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--cpu-limit-Output'']}}"}},"memory_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--memory-limit-Output'']}}"}},"pipelinechannel--accelerator-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-limit"}},"pipelinechannel--accelerator-type-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-type"}},"pipelinechannel--cpu-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"cpu-limit"}},"pipelinechannel--memory-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"memory-limit"}}}},"taskInfo":{"name":"sum-numbers"}}' + value: '{"cachingOptions":{"enableCache":true},"componentRef":{"name":"comp-sum-numbers"},"dependentTasks":["accelerator-type","cpu-limit","accelerator-limit","memory-limit"],"inputs":{"parameters":{"a":{"runtimeValue":{"constant":1}},"accelerator_count":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-limit-Output'']}}"}},"accelerator_type":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--accelerator-type-Output'']}}"}},"b":{"runtimeValue":{"constant":2}},"cpu_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--cpu-limit-Output'']}}"}},"memory_limit":{"runtimeValue":{"constant":"{{$.inputs.parameters[''pipelinechannel--memory-limit-Output'']}}"}},"pipelinechannel--accelerator-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-limit"}},"pipelinechannel--accelerator-type-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"accelerator-type"}},"pipelinechannel--cpu-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"cpu-limit"}},"pipelinechannel--memory-limit-Output":{"taskOutputParameter":{"outputParameterKey":"Output","producerTask":"memory-limit"}}}},"taskInfo":{"name":"sum-numbers"}}' - name: container value: '{{workflow.parameters.implementations-49f9a898b718a077f30b7fd8c02d39767cff91ff0bbda4379daf866a91dbdb1b}}' - name: task-name value: sum-numbers - name: parent-dag-id value: '{{inputs.parameters.parent-dag-id}}' - depends: accelerator-type.Succeeded && cpu-limit.Succeeded && memory-limit.Succeeded - && accelerator-limit.Succeeded + depends: accelerator-type.Succeeded && cpu-limit.Succeeded && accelerator-limit.Succeeded + && memory-limit.Succeeded name: sum-numbers-driver template: system-container-driver - arguments: diff --git a/test_data/compiled-workflows/pipeline_with_submit_request.yaml b/test_data/compiled-workflows/pipeline_with_submit_request.yaml index 6771fb4a040..3c71dc8331e 100644 --- a/test_data/compiled-workflows/pipeline_with_submit_request.yaml +++ b/test_data/compiled-workflows/pipeline_with_submit_request.yaml @@ -88,6 +88,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_task_final_status.yaml b/test_data/compiled-workflows/pipeline_with_task_final_status.yaml index e21c6ed05a4..b5e83818f2a 100644 --- a/test_data/compiled-workflows/pipeline_with_task_final_status.yaml +++ b/test_data/compiled-workflows/pipeline_with_task_final_status.yaml @@ -111,6 +111,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_task_final_status_yaml.yaml b/test_data/compiled-workflows/pipeline_with_task_final_status_yaml.yaml index 4cee46c0a28..1f6706c8237 100644 --- a/test_data/compiled-workflows/pipeline_with_task_final_status_yaml.yaml +++ b/test_data/compiled-workflows/pipeline_with_task_final_status_yaml.yaml @@ -76,6 +76,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_task_using_ignore_upstream_failure.yaml b/test_data/compiled-workflows/pipeline_with_task_using_ignore_upstream_failure.yaml index c0d310fe25a..dfcad99d649 100644 --- a/test_data/compiled-workflows/pipeline_with_task_using_ignore_upstream_failure.yaml +++ b/test_data/compiled-workflows/pipeline_with_task_using_ignore_upstream_failure.yaml @@ -91,6 +91,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_utils.yaml b/test_data/compiled-workflows/pipeline_with_utils.yaml index 1d562b4ea2a..a716c457ac5 100644 --- a/test_data/compiled-workflows/pipeline_with_utils.yaml +++ b/test_data/compiled-workflows/pipeline_with_utils.yaml @@ -81,6 +81,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_various_io_types.yaml b/test_data/compiled-workflows/pipeline_with_various_io_types.yaml index 6a97510658b..9c7c48ab77a 100644 --- a/test_data/compiled-workflows/pipeline_with_various_io_types.yaml +++ b/test_data/compiled-workflows/pipeline_with_various_io_types.yaml @@ -72,6 +72,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_volume.yaml b/test_data/compiled-workflows/pipeline_with_volume.yaml index 47460cd1e89..7e2c7eed56a 100644 --- a/test_data/compiled-workflows/pipeline_with_volume.yaml +++ b/test_data/compiled-workflows/pipeline_with_volume.yaml @@ -125,6 +125,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_volume_no_cache.yaml b/test_data/compiled-workflows/pipeline_with_volume_no_cache.yaml index 59209b81ff9..2f3fee60005 100644 --- a/test_data/compiled-workflows/pipeline_with_volume_no_cache.yaml +++ b/test_data/compiled-workflows/pipeline_with_volume_no_cache.yaml @@ -125,6 +125,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pipeline_with_workspace.yaml b/test_data/compiled-workflows/pipeline_with_workspace.yaml index 22786cd45ce..c9cb140516b 100644 --- a/test_data/compiled-workflows/pipeline_with_workspace.yaml +++ b/test_data/compiled-workflows/pipeline_with_workspace.yaml @@ -101,6 +101,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/placeholder_with_if_placeholder_none_input_value.yaml b/test_data/compiled-workflows/placeholder_with_if_placeholder_none_input_value.yaml index 18871d28792..3869976560f 100644 --- a/test_data/compiled-workflows/placeholder_with_if_placeholder_none_input_value.yaml +++ b/test_data/compiled-workflows/placeholder_with_if_placeholder_none_input_value.yaml @@ -71,6 +71,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/preprocess.yaml b/test_data/compiled-workflows/preprocess.yaml index 34a8340ca6e..4cf1a368e47 100644 --- a/test_data/compiled-workflows/preprocess.yaml +++ b/test_data/compiled-workflows/preprocess.yaml @@ -99,6 +99,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/producer_consumer_param_pipeline.yaml b/test_data/compiled-workflows/producer_consumer_param_pipeline.yaml index db75fe9ae60..50b550dd8f6 100644 --- a/test_data/compiled-workflows/producer_consumer_param_pipeline.yaml +++ b/test_data/compiled-workflows/producer_consumer_param_pipeline.yaml @@ -75,6 +75,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pvc_mount.yaml b/test_data/compiled-workflows/pvc_mount.yaml index 349eed6a693..e2170a66770 100644 --- a/test_data/compiled-workflows/pvc_mount.yaml +++ b/test_data/compiled-workflows/pvc_mount.yaml @@ -95,6 +95,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pythonic_artifact_with_single_return.yaml b/test_data/compiled-workflows/pythonic_artifact_with_single_return.yaml index 9db4d334bf2..005e0c569d2 100644 --- a/test_data/compiled-workflows/pythonic_artifact_with_single_return.yaml +++ b/test_data/compiled-workflows/pythonic_artifact_with_single_return.yaml @@ -145,6 +145,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pythonic_artifacts_test_pipeline.yaml b/test_data/compiled-workflows/pythonic_artifacts_test_pipeline.yaml index 2cad13c4600..a1db1ed8d47 100644 --- a/test_data/compiled-workflows/pythonic_artifacts_test_pipeline.yaml +++ b/test_data/compiled-workflows/pythonic_artifacts_test_pipeline.yaml @@ -96,6 +96,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pythonic_artifacts_with_list_of_artifacts.yaml b/test_data/compiled-workflows/pythonic_artifacts_with_list_of_artifacts.yaml index 63b73492c04..1f673e9964c 100644 --- a/test_data/compiled-workflows/pythonic_artifacts_with_list_of_artifacts.yaml +++ b/test_data/compiled-workflows/pythonic_artifacts_with_list_of_artifacts.yaml @@ -97,6 +97,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/pythonic_artifacts_with_multiple_returns.yaml b/test_data/compiled-workflows/pythonic_artifacts_with_multiple_returns.yaml index ab4b32c2847..c3b92aab7b4 100644 --- a/test_data/compiled-workflows/pythonic_artifacts_with_multiple_returns.yaml +++ b/test_data/compiled-workflows/pythonic_artifacts_with_multiple_returns.yaml @@ -102,6 +102,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/ray_integration_compiled.yaml b/test_data/compiled-workflows/ray_integration_compiled.yaml index 975b2b32860..029a9578cfe 100644 --- a/test_data/compiled-workflows/ray_integration_compiled.yaml +++ b/test_data/compiled-workflows/ray_integration_compiled.yaml @@ -92,6 +92,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/sequential_v1.yaml b/test_data/compiled-workflows/sequential_v1.yaml index 8cdf1003bd4..188d885117c 100644 --- a/test_data/compiled-workflows/sequential_v1.yaml +++ b/test_data/compiled-workflows/sequential_v1.yaml @@ -68,6 +68,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/sequential_v2.yaml b/test_data/compiled-workflows/sequential_v2.yaml index 41a9f8cb37f..5cc005a63b4 100644 --- a/test_data/compiled-workflows/sequential_v2.yaml +++ b/test_data/compiled-workflows/sequential_v2.yaml @@ -72,6 +72,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/take_nap_compiled.yaml b/test_data/compiled-workflows/take_nap_compiled.yaml index 3f66be9a121..3f7279b8b37 100644 --- a/test_data/compiled-workflows/take_nap_compiled.yaml +++ b/test_data/compiled-workflows/take_nap_compiled.yaml @@ -93,6 +93,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/take_nap_pipeline_root_compiled.yaml b/test_data/compiled-workflows/take_nap_pipeline_root_compiled.yaml index 3f66be9a121..3f7279b8b37 100644 --- a/test_data/compiled-workflows/take_nap_pipeline_root_compiled.yaml +++ b/test_data/compiled-workflows/take_nap_pipeline_root_compiled.yaml @@ -93,6 +93,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/two_step_pipeline.yaml b/test_data/compiled-workflows/two_step_pipeline.yaml index 8d5cf7df31b..a9bd50d788b 100644 --- a/test_data/compiled-workflows/two_step_pipeline.yaml +++ b/test_data/compiled-workflows/two_step_pipeline.yaml @@ -73,6 +73,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/two_step_pipeline_containerized.yaml b/test_data/compiled-workflows/two_step_pipeline_containerized.yaml index f5df7c3a907..6da282f472f 100644 --- a/test_data/compiled-workflows/two_step_pipeline_containerized.yaml +++ b/test_data/compiled-workflows/two_step_pipeline_containerized.yaml @@ -74,6 +74,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/upload_download_compiled.yaml b/test_data/compiled-workflows/upload_download_compiled.yaml index a571989c282..6d691a3dfb1 100644 --- a/test_data/compiled-workflows/upload_download_compiled.yaml +++ b/test_data/compiled-workflows/upload_download_compiled.yaml @@ -132,6 +132,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: diff --git a/test_data/compiled-workflows/xgboost_sample_pipeline.yaml b/test_data/compiled-workflows/xgboost_sample_pipeline.yaml index 251dc9cefa4..a637c30ce06 100644 --- a/test_data/compiled-workflows/xgboost_sample_pipeline.yaml +++ b/test_data/compiled-workflows/xgboost_sample_pipeline.yaml @@ -336,6 +336,15 @@ spec: - "8080" command: - driver + env: + - name: KFP_POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: KFP_POD_UID + valueFrom: + fieldRef: + fieldPath: metadata.uid image: ghcr.io/kubeflow/kfp-driver:latest name: "" resources: