-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fixing pod name indexer to use both namespace, pod name to frame index key #4775
Conversation
Can one of the admins verify this patch? |
a361f84
to
08e4fba
Compare
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically on build-eu-00. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor comment
@@ -5,6 +5,8 @@ import ( | |||
|
|||
"github.com/stretchr/testify/assert" | |||
|
|||
"fmt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please move this one next to "testing"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry i keep missing this always. done.
08e4fba
to
95d1f56
Compare
jenkins test it please |
jenkins test it please |
9e8796e
to
5cbbd3d
Compare
…x key (elastic#4775) * Fixing pod name indexer to use both namespace, pod name to frame index key * Adding field pattern matcher to support pod name indexer matching
…x key (#4775) * Fixing pod name indexer to use both namespace, pod name to frame index key * Adding field pattern matcher to support pod name indexer matching
…x key (elastic#4775) * Fixing pod name indexer to use both namespace, pod name to frame index key * Adding field pattern matcher to support pod name indexer matching
Today we use only pod name in the index key for pod name indexer. With the advent of stateful sets, users can now spin up pods with consistent names like
zookeeper-1
on multiple namespaces which can cause collision very easily. Hence it is mandatory for usingnamespace/podname
as the key for pod name indexer.