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

kuma-dp: enable Envoy Admin API by default with an option to opt out #523

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

yskopets
Copy link
Contributor

@yskopets yskopets commented Jan 3, 2020

Summary

  • kuma-dp
    • enable Envoy Admin API by default with an option to opt out
    • --admin-port option now accepts a port or range of ports to choose from, e.g.
      • 9901
      • 9901-9999
      • 9901-
      • -9901
    • the default value of --admin-port has changed from `` (empty) to 30001-65535
    • on startup, kuma-dp will pick the first available port from the range

@yskopets yskopets requested a review from a team January 3, 2020 15:01
@yskopets yskopets force-pushed the feature/enable-kuma-dp-admin-port-by-default branch from a8cc6f7 to 68db76d Compare January 3, 2020 15:03
@yskopets yskopets added this to the 0.4.0 milestone Jan 3, 2020
pkg/test/network.go Show resolved Hide resolved
lowestPort, highestPort = highestPort, lowestPort
}
// we prefer a port to remain stable over time, that's why we do sequential availability check
// instead of random selection
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the use case to have it stable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's probably opinionated.

When, as a user, I define a port range 9901-9999, I expect that application will choose the first available port.

@yskopets yskopets force-pushed the feature/enable-kuma-dp-admin-port-by-default branch from 68db76d to 6b57b8d Compare January 7, 2020 10:20
@yskopets yskopets merged commit 32291b2 into master Jan 7, 2020
@devadvocado devadvocado deleted the feature/enable-kuma-dp-admin-port-by-default branch March 30, 2020 13:15
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.

None yet

2 participants