-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
service: allow per-service configuration of protocol (mongodb:// for example) #2885
Comments
Can you get this to work using the |
@dlorenc that would only work for a single service though I believe. If you had, for example, an http service and a mongo service running you'd want differing schemes for both. |
Hmm, is there any way to detect from the service itself what protocol to use? I don't think it would be a very good idea to force users to configure this themselves. |
Agreed that forcing users to configure it adds extra complexity. But don't you think an option would be fine? Possibly could use the service port name, although that wouldn't fare so well for services that expose more than one endpoint of the same scheme. For example, this abbreviated service config:
…would yield:
|
Maybe I'm misunderstanding - for a single service example like you showed, you can do that with the --format flag. Does that make sense? |
Updated my earlier comment to make it a bit clearer I hope |
I have a service configured to expose two ports. one uses HTTP and the other uses the PostgreSQL wire protocol. so I am running into this issue too instead of adding something to Minikube, would it make sense to change the column name to the |
This appears somewhat related to #3112 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is a feature request. In summary I'd like to be able to configure the output of
minikube service
to allow more accurate information to be displayed for our developers.Environment:
Minikube version (use
minikube version
): v0.27.0What happened:
Using mongodb as an example, but this applies to any external service you'd like to expose that isn't http.
What you expected to happen:
It'd be great if there were a way of configuring the service endpoint to display as
mongodb://<ip>:<port>
and be configurable on a service-by-service basis.Very happy to submit a pull request for this although I could use some help in identifying an appropriate place to add it since this would be my first contribution.
The text was updated successfully, but these errors were encountered: