Skip to content
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

Retry logic for stdin and stdout from pod #673

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

fosterseth
Copy link
Member

@fosterseth fosterseth commented Sep 30, 2022

Currently receptor has one attempt at opening stdin and stdout streams from the pod.

An error during this prevents any chance of the pod running successfully.

This change provides some retry logic when opening these streams to offer better stability when receptor interacts with a k8s cluster.

see ansible/awx#12881

@fosterseth fosterseth force-pushed the k8s_retry_stdin_to_pod branch from 8891cae to 9718fa4 Compare September 30, 2022 02:27
@fosterseth fosterseth requested a review from shanemcd October 3, 2022 14:54
@fosterseth fosterseth force-pushed the k8s_retry_stdin_to_pod branch from 9718fa4 to 147953a Compare October 3, 2022 17:36
Currently receptor has one attempt at opening stdin and stdout streams
from the pod.

An error during this prevents any chance of the pod running
successfully.

This change provides some retry logic when opening these streams to
offer better stability when receptor interacts with a k8s cluster.
@fosterseth fosterseth merged commit 8b12890 into ansible:devel Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants