-
Notifications
You must be signed in to change notification settings - Fork 460
Admin not working in standalone mode #5856
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
Comments
the port is set to 0, which makes listener port selection dynamic
cc @shawnh2 |
@shawnh2 any reason why it's not fixed ? |
Correct me if I'm wrong, but afaict the problem isn't that the admin mode doesn't work, but that I can't specify a stable port number to it. This isn't really a problem in k8s because you can easily set up port forwarding, but it's not as straightforward if you're trying to launch standalone mode through docker, since you have to know the port up front, unless you want to open a whole range of ports. |
+1 to fixing it to 19000, and making it configurable in a future iteration |
I deployed envoy gateway in kubernetes with helm and i the pods don't even listen to any port that points to admin. Im running version 1.3.2. https://gateway.envoyproxy.io/v1.3/troubleshooting/envoy-proxy-admin-interface/ These docs are not correct. These are the only ports the pods listen to:
|
@kivra-ahmwar this issue is for non k8s, in k8s the admin port is exposed only on localhost, refer to https://gateway.envoyproxy.io/docs/troubleshooting/envoy-proxy-admin-interface/ for more info |
Previously i was following that guide but it doesn't work when i try to port-forward the deployment. However, i tried port-forwarding the pod itself and that worked much better. Ignore my previous post :D |
If we fix admin port to 19000, the envoyproxy won't start due to Cannot fix this port to another number, it will successfully starts one envoyproxy, but if you are trying to start another one, same |
ah, thanks for explaining, can we pick a dedicated port for standalone mode - 19004 maybe ? |
sounds like there 2 issues - CP admin server and DP admin server use the same port and based on the current design are in the same network namespace, so they have to be set to different ports the other issue is if more proxies are being created in the same network namespace (because a new Gateway is added), then they will stop working, so fixing it to a specific port will block the creation of more DPs |
Thanks @rdavison for sharing this. And yes @arkodg . So I initially set admin port to a dynamic one, simplest approach. Due to the case @rdavison described, we may need to reconsider expose a port-range config. For users who launch standalone through docker, we can limit admin port in a specific range. |
this could be solved by adding an API field to edit admin port within EnvoyProxy so its per Gateway |
Description:
I set up a standalone deployment using containers by following the instructions at https://gateway.envoyproxy.io/docs/tasks/operations/standalone-deployment-mode/
Then I tried exposing port 19000 to get access to the admin interface, but it doesn't seem to work.
Repro steps:
Environment:
See above
Logs:
No logs printed
The text was updated successfully, but these errors were encountered: