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 readiness probe & set podManagementPolicy: Parallel & change service configuration #7

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

ivan-kripakov-m10
Copy link
Contributor

@ivan-kripakov-m10 ivan-kripakov-m10 commented Dec 15, 2023

hi, @vcastellm!

It seems that dkron needs some improvements to be usable in kubernetes.
This is one of them (I’ll open an issue about the others in the main repository).

  1. I added a readiness probe for the dkron server - we would like to understand whether the node is in the cluster or not.
  2. podManagementPolicy: Parallel - this is necessary so that the cluster is created even if the readiness probe on the first deployed node does not pass.
  3. publishNotReadyAddresses: true - so that nodes can communicate for elections

In essence, this is a consul-like approach - statefulset и service

Copy link
Member

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

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

Hey! sorry for missing this, thanks for your contribution! LGTM

@vcastellm vcastellm merged commit 2cef010 into distribworks:master Feb 10, 2024
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.

None yet

3 participants