Skip to content

Use startup_check_interval_seconds instead of poll_interval to check pod while startup - #38075

Merged
pankajastro merged 3 commits into
apache:mainfrom
astronomer:use_startup_check_interval_seconds
Mar 18, 2024
Merged

pankajastro merged 3 commits into
apache:mainfrom
astronomer:use_startup_check_interval_seconds

Conversation

@pankajastro

Copy link
Copy Markdown
Member

Currently, the KPO trigger utilizes the polling_interval parameter to
check the status of a pod during its startup. However,
this approach appears incorrect and inconsistent with
the synchronous version of the operator, where we use the
startup_check_interval_seconds. The asynchronous approach should
also use the startup_check_interval_seconds parameter to check the
status of a pod during its startup.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Comment thread airflow/providers/cncf/kubernetes/triggers/pod.py Outdated
@pankajastro
pankajastro requested a review from dirrao March 12, 2024 18:18
@pankajastro
pankajastro merged commit f3982aa into apache:main Mar 18, 2024
@pankajastro
pankajastro deleted the use_startup_check_interval_seconds branch March 18, 2024 07:42
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.

3 participants