-
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
Keep 'orchestrator.cluster.name' if 'kubeconfig' is not returned in GKE metadata #33418
Keep 'orchestrator.cluster.name' if 'kubeconfig' is not returned in GKE metadata #33418
Conversation
Signed-off-by: Tetiana Kravchenko <[email protected]>
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Signed-off-by: Tetiana Kravchenko <[email protected]>
Signed-off-by: Tetiana Kravchenko <[email protected]>
Signed-off-by: Tetiana Kravchenko <[email protected]>
5a2d7bc
to
95e535e
Compare
…kravchenko/beats into gke-identifier-keep-cluster-name
Signed-off-by: Tetiana Kravchenko <[email protected]>
Signed-off-by: Tetiana Kravchenko <[email protected]>
@tetianakravchenko is this (missing kubeconfig in metadata but present cluster name) something that you noticed that happens? And under which circumstances ? |
@MichaelKatsoulis |
/package |
…KE metadata (#33418) * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * remove orchestrator if cluster name is mepty Signed-off-by: Tetiana Kravchenko <[email protected]> * changes needed to pass golangci-lint Signed-off-by: Tetiana Kravchenko <[email protected]> Signed-off-by: Tetiana Kravchenko <[email protected]> (cherry picked from commit 6c01bc6)
…KE metadata (#33418) * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * remove orchestrator if cluster name is mepty Signed-off-by: Tetiana Kravchenko <[email protected]> * changes needed to pass golangci-lint Signed-off-by: Tetiana Kravchenko <[email protected]> Signed-off-by: Tetiana Kravchenko <[email protected]> (cherry picked from commit 6c01bc6)
…g' is not returned in GKE metadata (#33558) * Keep 'orchestrator.cluster.name' if 'kubeconfig' is not returned in GKE metadata (#33418) * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * remove orchestrator if cluster name is mepty Signed-off-by: Tetiana Kravchenko <[email protected]> * changes needed to pass golangci-lint Signed-off-by: Tetiana Kravchenko <[email protected]> Signed-off-by: Tetiana Kravchenko <[email protected]> (cherry picked from commit 6c01bc6) * Fix the changelog Co-authored-by: Tetiana Kravchenko <[email protected]> Co-authored-by: Denis <[email protected]>
…g' is not returned in GKE metadata (#33557) * Keep 'orchestrator.cluster.name' if 'kubeconfig' is not returned in GKE metadata (#33418) * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * remove orchestrator if cluster name is mepty Signed-off-by: Tetiana Kravchenko <[email protected]> * changes needed to pass golangci-lint Signed-off-by: Tetiana Kravchenko <[email protected]> Signed-off-by: Tetiana Kravchenko <[email protected]> (cherry picked from commit 6c01bc6) * Update CHANGELOG.next.asciidoc Co-authored-by: Tetiana Kravchenko <[email protected]>
…KE metadata (#33418) * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * keep if is not returned in GKE metadata Signed-off-by: Tetiana Kravchenko <[email protected]> * add PR number Signed-off-by: Tetiana Kravchenko <[email protected]> * remove orchestrator if cluster name is mepty Signed-off-by: Tetiana Kravchenko <[email protected]> * changes needed to pass golangci-lint Signed-off-by: Tetiana Kravchenko <[email protected]> Signed-off-by: Tetiana Kravchenko <[email protected]>
Signed-off-by: Tetiana Kravchenko [email protected]
What does this PR do?
Keep the
orchestrator.cluster.name
inadd_cloud_metadata
processor ifkubeconfig
is not returned in GKE metadata.Why is it important?
For some GKE configurations,
kubeconfig
is not returned in GKE metadata. In this case we were dropping allorchestrator
object from the metadata andorchestrator.cluster.name
were not populated.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs