Skip to content

Conversation

@brouberol
Copy link
Contributor

This can be useful for long running pods running for minutes, hours or even days, as it both reduces the number of API calls sent to the Kubernetes API masters, as well as the task logs volume.

I made sure to make the changes backwards compatible with the current behavior, and I will also submit another PR to update the airflow/decorators/__init__.pyi file, as per the instructions.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels Mar 14, 2025
@brouberol brouberol force-pushed the k8spodexecutor-status-polling-interval branch 2 times, most recently from 1aa4541 to 69bf808 Compare March 14, 2025 10:23
…l configurable

This can be useful for long running pods running for minutes, hours or
even days, as it both reduces the number of API calls sent to the
Kubernetes API masters, as well as the task logs volume.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
@brouberol brouberol force-pushed the k8spodexecutor-status-polling-interval branch from 69bf808 to dfa5719 Compare March 14, 2025 10:41
@brouberol brouberol marked this pull request as ready for review March 14, 2025 11:29
@eladkal eladkal requested a review from romsharon98 March 15, 2025 13:06
@potiuk potiuk merged commit 966ea18 into apache:main Mar 16, 2025
133 checks passed
@potiuk
Copy link
Member

potiuk commented Mar 16, 2025

Nice Small change :)

brouberol added a commit to brouberol/airflow that referenced this pull request Mar 16, 2025
…orCollection type

This is a follow up to apache#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
brouberol added a commit to brouberol/airflow that referenced this pull request Mar 16, 2025
…orCollection type

This is a follow up to apache#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
@brouberol brouberol deleted the k8spodexecutor-status-polling-interval branch March 16, 2025 17:35
potiuk pushed a commit that referenced this pull request Mar 20, 2025
…orCollection type (#47833)

This is a follow up to #47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Mar 21, 2025
…l configurable (apache#47774)

This can be useful for long running pods running for minutes, hours or
even days, as it both reduces the number of API calls sent to the
Kubernetes API masters, as well as the task logs volume.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
agupta01 pushed a commit to agupta01/airflow that referenced this pull request Mar 21, 2025
…orCollection type (apache#47833)

This is a follow up to apache#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
shubham-pyc pushed a commit to shubham-pyc/airflow that referenced this pull request Mar 22, 2025
…orCollection type (apache#47833)

This is a follow up to apache#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
…l configurable (apache#47774)

This can be useful for long running pods running for minutes, hours or
even days, as it both reduces the number of API calls sent to the
Kubernetes API masters, as well as the task logs volume.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
…orCollection type (apache#47833)

This is a follow up to apache#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request May 28, 2025
…orCollection type (#47833)

This is a follow up to apache/airflow#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
GitOrigin-RevId: b2216e6114f13b0f5eae45904d0b636e75a8438e
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 24, 2025
…orCollection type (#47833)

This is a follow up to apache/airflow#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
GitOrigin-RevId: b2216e6114f13b0f5eae45904d0b636e75a8438e
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 22, 2025
…orCollection type (#47833)

This is a follow up to apache/airflow#47774,
addind the type of the new `base_container_status_polling_interval` argument
to the `TaskDecoratorCollection` type, to update the type autocompletion
when using the `@kubernetes` decorator.

Signed-off-by: Balthazar Rouberol <brouberol@wikimedia.org>
GitOrigin-RevId: b2216e6114f13b0f5eae45904d0b636e75a8438e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants