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

add retry option to keep evicting until all initial pods are gone #18

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

grosser
Copy link
Contributor

@grosser grosser commented Aug 7, 2024

go run . --context foo -n truth-service -l project=truth-service --retry
INFO[0034] pod truth-service-app-server-d96646b4d-ck8pf in namespace truth-service evicted successfully
WARN[0041] pod truth-service-app-server-d96646b4d-m8wdb in namespace truth-service evicting failed
WARN[0041] pod truth-service-app-server-d96646b4d-zlbd2 in namespace truth-service evicting failed
WARN[0047] pod truth-service-app-server-d96646b4d-m8wdb in namespace truth-service evicting failed
WARN[0047] pod truth-service-app-server-d96646b4d-zlbd2 in namespace truth-service evicting failed
INFO[0054] pod truth-service-app-server-d96646b4d-m8wdb in namespace truth-service evicted successfully
WARN[0054] pod truth-service-app-server-d96646b4d-zlbd2 in namespace truth-service evicting failed
WARN[0059] pod truth-service-app-server-d96646b4d-zlbd2 in namespace truth-service evicting failed
WARN[0065] pod truth-service-app-server-d96646b4d-zlbd2 in namespace truth-service evicting failed
INFO[0070] pod truth-service-app-server-d96646b4d-zlbd2 in namespace truth-service evicted successfully

... and then it stops

@grosser
Copy link
Contributor Author

grosser commented Aug 7, 2024

@rajatjindal after this one I'd love a release because that's the features I need to add it to our internal docs :)

@grosser
Copy link
Contributor Author

grosser commented Aug 12, 2024

@rajatjindal

@rajatjindal rajatjindal merged commit cbdb44a into rajatjindal:main Aug 12, 2024
@grosser
Copy link
Contributor Author

grosser commented Aug 12, 2024

can you cut a new release so I can install via krew ... or does that point to latest ?

@rajatjindal
Copy link
Owner

rajatjindal commented Aug 13, 2024

a new release was tagged for this. 🎉 kubernetes-sigs/krew-index#4011

thank you for the contribution.

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