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

Add nacos support for proxyd #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Add nacos support for proxyd #1

wants to merge 5 commits into from

Conversation

Vui-Chee
Copy link

@Vui-Chee Vui-Chee commented Oct 14, 2024

For new services to be discovered, they must publish networking details to Nacos. This PR adds code to support Nacos configuration.

@Vui-Chee Vui-Chee marked this pull request as ready for review October 14, 2024 04:47
@Vui-Chee Vui-Chee requested a review from giskook October 14, 2024 05:43
Comment on lines +76 to +79
externalListenAddr := config.Nacos.ExternalListenAddr
if os.Getenv(nacosExternalListenAddr) != "" {
externalListenAddr = os.Getenv(nacosExternalListenAddr)
}
Copy link
Author

Choose a reason for hiding this comment

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

This needs to be populated by the k8s pod's IP address. But that only happens after the pod starts.

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.

1 participant