-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes Pod Operator Init container logging #42498
Labels
kind:bug
This is a clearly a bug
kind:feature
Feature Requests
provider:cncf-kubernetes
Kubernetes provider related issues
Comments
johnhoran
added
kind:feature
Feature Requests
needs-triage
label for new issues that we didn't triage yet
labels
Sep 26, 2024
dosubot
bot
added
kind:bug
This is a clearly a bug
provider:cncf-kubernetes
Kubernetes provider related issues
labels
Sep 26, 2024
Thanks for the proposal - I think is is a valid feature! If you implement it, you might make this configurable, maybe not everybody wants logs, maybe some only on error? |
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 9, 2024
This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 9, 2024
This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 10, 2024
This change adds an option to print logs for init containers. The init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 10, 2024
…che#42498) This change adds an option to print logs for init containers. The init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 10, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 10, 2024
…che#42498) This change adds an option to print logs for init containers. The init_container_logs argument enables the display of logs specifically for spec.initContainers (not spec.containers). Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 10, 2024
…che#42498) This change adds an option to print logs for init containers. The init_container_logs argument enables the display of logs specifically for spec.initContainers (not spec.containers). Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 12, 2024
…che#42498) This change adds an option to print logs for init containers. The init_container_logs argument enables the display of logs specifically for spec.initContainers (not spec.containers). Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 12, 2024
…che#42498) This change adds an option to print logs for init containers. The init_container_logs argument enables the display of logs specifically for spec.initContainers (not spec.containers). Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 12, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 12, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 13, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Nov 14, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
mrk-andreev
added a commit
to mrk-andreev/airflow
that referenced
this issue
Dec 3, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
eladkal
pushed a commit
to mrk-andreev/airflow
that referenced
this issue
Dec 12, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
potiuk
pushed a commit
to mrk-andreev/airflow
that referenced
this issue
Dec 16, 2024
…che#42498) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
LefterisXefteris
pushed a commit
to LefterisXefteris/airflow
that referenced
this issue
Jan 5, 2025
…che#42498) (apache#43853) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
agupta01
pushed a commit
to agupta01/airflow
that referenced
this issue
Jan 6, 2025
…che#42498) (apache#43853) This change adds an option to print logs for init containers. The get_init_containers_logs and init_container_logs functions allow displaying the logs of init containers. Fixes: apache#42498
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind:bug
This is a clearly a bug
kind:feature
Feature Requests
provider:cncf-kubernetes
Kubernetes provider related issues
Description
When writing a pod using an init container, I notice that you don't get any logs from the init container. I tried adding the name of the init container to the container_logs option in KubernetesPodOperator, but it complains that the container couldn't be found.
I also noticed that the airflow would say the pod was pending while the init container process was running.
Use case/motivation
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: