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

Changing how core pods watch the cluster to use Informer() rather tha… #26

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

kuzmik
Copy link
Collaborator

@kuzmik kuzmik commented Dec 20, 2023

…n a manual loop

@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch from f105f26 to 8b86851 Compare December 20, 2023 19:41
@kuzmik
Copy link
Collaborator Author

kuzmik commented Dec 20, 2023

I know this has no tests, I can't figure out how to mock the k8s stuff out and test it. GPT wasn't much help here, either.

Open to suggestions!

@kuzmik kuzmik marked this pull request as ready for review December 20, 2023 19:41
@kuzmik kuzmik requested a review from a team as a code owner December 20, 2023 19:41
@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch from 8b86851 to 01c1555 Compare January 11, 2024 22:07
@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch from 01c1555 to 63ab031 Compare January 19, 2024 19:07
@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch 2 times, most recently from 204dc17 to f28885d Compare January 30, 2024 01:05
internal/proxysql/core.go Outdated Show resolved Hide resolved
internal/proxysql/core.go Outdated Show resolved Hide resolved
//
// Example pod (scaled up core-1, then scaled it back down):
//
// OLD POD NAME OLD POD IP OLD STATUS NEW POD NAME NEW POD IP NEW STATUS

Choose a reason for hiding this comment

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

Is this just an issue with how Github is rendering this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

what specifically, the spacing? i did that on purpose so i could read it easier

Choose a reason for hiding this comment

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

Oh sorry I mean that the column names don't line up with the data below AFAICT

internal/proxysql/core.go Outdated Show resolved Hide resolved
internal/proxysql/core.go Outdated Show resolved Hide resolved
internal/proxysql/proxysql.go Show resolved Hide resolved
@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch 2 times, most recently from abf49bb to f3226b1 Compare February 6, 2024 19:23
Makefile Outdated Show resolved Hide resolved
internal/proxysql/core.go Show resolved Hide resolved
internal/proxysql/core.go Outdated Show resolved Hide resolved
internal/proxysql/core.go Show resolved Hide resolved
@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch 3 times, most recently from a2bf992 to 8d1b42e Compare February 6, 2024 21:10
@kuzmik kuzmik force-pushed the kuzmik/25/checksum-satellites branch from 8d1b42e to ba97345 Compare February 6, 2024 21:14
@kuzmik kuzmik merged commit f56fbff into main Feb 8, 2024
2 checks passed
@kuzmik kuzmik deleted the kuzmik/25/checksum-satellites branch February 8, 2024 15:48
kuzmik added a commit that referenced this pull request Feb 8, 2024
Changing how core pods watch the cluster to use Informer() rather tha…
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.

Make the core pod checksum the satellite pods, like it does with core already.
2 participants