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(options): add flag for GoBGP grpc port #1820

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aauren
Copy link
Collaborator

@aauren aauren commented Mar 2, 2025

Introduces the option --gobgp-admin-port which allows for setting the port that will be used for exposing GoBGP's grpc port.

Fixes: #1816

@aauren
Copy link
Collaborator Author

aauren commented Mar 2, 2025

@rbrtbnfgl / @mrueg / @twz123 - This one is hopefully a simple one to review

@@ -164,6 +166,8 @@ func (s *KubeRouterConfig) AddFlags(fs *pflag.FlagSet) {
"Excluded CIDRs are used to exclude IPVS rules from deletion.")
fs.BoolVar(&s.GlobalHairpinMode, "hairpin-mode", false,
"Add iptables rules for every Service Endpoint to support hairpin traffic.")
fs.Uint16Var(&s.GoBGPAdminPort, "gobgp-admin-port", defaultGoBGPAdminPort,
"Port to connect to GoBGP for administrative purposes.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Worth mentioning that 0 = disabling it?

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.

support change the default port of 50051
3 participants