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

Reconciallation improvment: wait for installation managedresources healhtcheck #38

Open
ppalucki opened this issue Sep 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@ppalucki
Copy link
Contributor

at the end of reconcillation try this:

timeoutCtx, cancelCtx := context.WithTimeout(ctx, time.Minute)
defer cancelShootCtx()

managedresources.WaitUntilHealthy(timeoutShootCtx, a.client, namespace, consts.ManagedResourceName)

that will wait for healthcheck (systemctl status of kubelet before returning Succeed status)

@ppalucki ppalucki added the enhancement New feature or request label Sep 23, 2022
@ppalucki ppalucki added this to the future/undecided milestone Sep 23, 2022
@ppalucki ppalucki self-assigned this Sep 23, 2022
@ppalucki ppalucki added the question Further information is requested label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant