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

feat(kuma-cp) Add control plane identifier in DiscoveryResponse #1319

Conversation

jewertow
Copy link
Contributor

Signed-off-by: Jacek Ewertowski jacek.ewertowski1@gmail.com

Summary

This pull requests adds control plane id callback to callbacks chain in the XDS server.

Issues resolved

Fix #1011

Signed-off-by: Jacek Ewertowski <jacek.ewertowski1@gmail.com>
@jewertow jewertow requested a review from a team as a code owner December 14, 2020 22:58
Copy link
Contributor

@jakubdyszkiewicz jakubdyszkiewicz left a comment

Choose a reason for hiding this comment

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

Can you maybe add either in this PR or as a follow-up a new pane in Kuma DP Prometheus a new Pane that informs to which CP the DP is connected?

@@ -70,12 +72,14 @@ type Builder struct {
}

func BuilderFor(cfg kuma_cp.Config) *Builder {
hostname, _ := os.Hostname()
Copy link
Contributor

Choose a reason for hiding this comment

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

please do not ignore errors. Change the signature to

func BuilderFor(cfg kuma_cp.Config) (*Builder, error)

…ane-identifier-to-discovery-response

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
@jakubdyszkiewicz jakubdyszkiewicz merged commit 1fbce80 into kumahq:master Dec 23, 2020
mergify bot pushed a commit that referenced this pull request Dec 23, 2020
Signed-off-by: Jacek Ewertowski <jacek.ewertowski1@gmail.com>
(cherry picked from commit 1fbce80)
jakubdyszkiewicz pushed a commit that referenced this pull request Dec 23, 2020
Signed-off-by: Jacek Ewertowski <jacek.ewertowski1@gmail.com>
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.

Add control plane identifier in DiscoveryResponse
2 participants