Make local k8s setup work for mmless configuration#235
Merged
AdheipSingh merged 2 commits intodatainfrahq:masterfrom Aug 12, 2025
Merged
Make local k8s setup work for mmless configuration#235AdheipSingh merged 2 commits intodatainfrahq:masterfrom
AdheipSingh merged 2 commits intodatainfrahq:masterfrom
Conversation
cryptoe
approved these changes
Aug 12, 2025
There was a problem hiding this comment.
The changes seem cool to me.
@AdheipSingh It would be great if you could take a look as well.
AdheipSingh
approved these changes
Aug 12, 2025
|
Thanks for the review @AdheipSingh !! |
SatyaKuppam
reviewed
Aug 19, 2025
Contributor
SatyaKuppam
left a comment
There was a problem hiding this comment.
I think the problem you are having here is using deployments instead of statefulsets which is the canonical way to route to pods in K8s. You can use headless services for all statefulsets for communicating with the pods. Another thing to keep in mind is setting druid.host will override the Druid default behaviour which is getCanonicalName(), this is similar to runnings hostname --fqdn` that will provide entire pod address.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gets the pods to contact to each other locally. Without these changes, the pods were using the entire pod name to be able to connect with each other.
However, in k8s, the dns records for pod names doesn't exist, however they exist for specific nodes. Kindly see the example
DNS record search by pod name
DNS record by nodename.
This PR has:
Key changed/added files in this PR
tiny-cluster-mmless.yaml