-
Notifications
You must be signed in to change notification settings - Fork 687
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
Enable Diagnostic UI in the internal k8s network only #3074
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
/notstale |
As mentioned on Slack:
|
Actually.... this is not related to the bind address. It's just hardcoded in the code: enabled = app.ir.ambassador_module.diagnostics.get("enabled", False)
if not enabled and not _is_local_request():
return Response("Not found\n", 404) so when I set I might need to add something like config:
diagnostics:
enabled: false
expose_non_local: true Maybe there is another way... |
I'd go with |
This option allows to expose the diag UI to non-local clients, even when the diag UI is disabled. Implements emissary-ingress#3074
This option allows to expose the diag UI to non-local clients, even when the diag UI is disabled. Implements emissary-ingress#3074
This option allows to expose the diag UI to non-local clients, even when the diag UI is disabled. Implements emissary-ingress#3074
Please describe your use case / problem.
Since 1.6, when the diagnostics is disabled, the admin UI is not exposed to envoy, but it is also not exposed to the pod IP. It is only exposed the 127.0.0.1.
This makes exposing the UI difficult.
Our use case is that we have another ambassador group running, for all the admin UIs and we were exposing the public ambassador admin with this admin ambassador group. Now it returns
Not found
.Describe the solution you'd like
Right now, there is a flag diagnotics.enabled which is "true" or "false".
There are two options: Either we make this flag accept multiple values (ex: "disabled", "enabled", "pod_enabled_only") instead of a bool, or we add a second flag, (ex pod_enabled: true) to enable the admin UI outside of the pod (but not publicly).
(Names are probably bad, it's just provided as example).
Additional context
Initial discussion: https://datawire-oss.slack.com/archives/CAULN7S76/p1605206931353900
The text was updated successfully, but these errors were encountered: