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

refactor!: rewrite and cleanup kubenurse server code #29

Merged
merged 15 commits into from
Jan 5, 2022

Conversation

ghouscht
Copy link
Contributor

@ghouscht ghouscht commented Jan 4, 2022

By using a package and multiple separate files the code is easier to
understand and test. A new /ready handler was added so we can configure
a readiness probe to allow seamless updates of kubenurse.

@ghouscht ghouscht force-pushed the feat/graceful-shutdown branch from b47fd28 to 1a499d4 Compare January 4, 2022 16:42
@ghouscht ghouscht changed the title refactor!: rewrite kubenurse server code to allow clean shutdowns refactor!: rewrite and cleanup kubenurse server code Jan 4, 2022
@ghouscht ghouscht marked this pull request as ready for review January 4, 2022 16:44
@ghouscht ghouscht marked this pull request as draft January 4, 2022 17:15
@ghouscht ghouscht marked this pull request as ready for review January 5, 2022 08:54
@ghouscht ghouscht requested a review from clementnuss January 5, 2022 09:15
Copy link
Contributor

@clementnuss clementnuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work @ghouscht code is cleaner to read 👍🏻

README.md Outdated Show resolved Hide resolved
internal/kubenurse/handler.go Outdated Show resolved Hide resolved
internal/kubenurse/handler.go Outdated Show resolved Hide resolved
main.go Show resolved Hide resolved
main.go Show resolved Hide resolved
ghouscht and others added 2 commits January 5, 2022 11:25
@ghouscht ghouscht merged commit 7beac30 into postfinance:master Jan 5, 2022
@ghouscht ghouscht deleted the feat/graceful-shutdown branch January 5, 2022 11:31
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