jhgoebbert commented on issue #56545: URL: https://github.com/apache/airflow/issues/56545#issuecomment-3393222949
You can see from the tests of the kubernetes provider that only images with an entrypoint as root are used: - ubuntu:16.04 - alpine - bash:5.2 - perl:5.34.0 - gcr.io/spark-operator/spark:v2.4.4 So the integration tests cannot show this issue. ------- I have added the links for each image to its layer-details to show the root-style of the image and the link to the tests where it is used in the kubernetes-provider below. [image="ubuntu:16.04"](https://hub.docker.com/layers/library/ubuntu/16.04/images/sha256-a3785f78ab8547ae2710c89e627783cfa7ee7824d3468cae6835c9f4eae23ff7?context=explore) - [example_kubernetes.py#L62](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes.py#L62) - [example_kubernetes.py#L114](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes.py#L114) - [example_kubernetes_async.py#L62](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_async.py#L62) - [example_kubernetes_async.py#L115](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_async.py#L115) - [example_kubernetes_async.py#L140](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_async.py#L140) [image="alpine"](https://hub.docker.com/layers/library/alpine/latest/images/sha256-9eec16c5eada75150a82666ba0ad6df76b164a6f8582ba5cb964c0813fa56625) - [example_kubernetes.py#L152](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes.py#L152) - [example_kubernetes_async.py#L183](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_async.py#L183) [image="bash:5.2"](https://hub.docker.com/layers/library/bash/5.2/images/sha256-da1b3b5c01eb25c82c32cc13303814331aed3105b135456038d6b42017329b50) - [example_kubernetes_cmd_decorator.py#L41](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_cmd_decorator.py#L41) [image="perl:5.34.0"](https://hub.docker.com/layers/library/perl/5.34.0/images/sha256-cc24449e3f32565f971bb9067141faa4f504562b04919597219170044253bfe3) - [example_kubernetes_job.py#L50C9-L50C28](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_job.py#L50C9-L50C28) - [example_kubernetes_job.py#L69](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_job.py#L69) - [example_kubernetes_kueue.py#L118](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_kubernetes_kueue.py#L118) [image: "gcr.io/spark-operator/spark:v2.4.4"](https://github.com/apache/spark/blob/branch-2.4/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/bindings/python/Dockerfile) - [example_spark_kubernetes_spark_pi.yaml#L27](https://github.com/apache/airflow/blob/main/providers/cncf/kubernetes/tests/system/cncf/kubernetes/example_spark_kubernetes_spark_pi.yaml#L27) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
