superbrothers/kubectl-open-svc-plugin

Option to enable open-svc in environment without browser

Closed this issue · 2 comments

Thank you for making a great tool.

It would be nice to be able to open-svc even in an environment without a browser.

kubectl open-svc mysvc -p 9999 --address=dev.yoshwata.foo.jp
Opening service/mysvc in the default browser...
Error: exec: "xdg-open,x-www-browser,www-browser": executable file not found in $PATH

I want to access dev.yoshwata.foo.jp:9999 with a local browser after setting it to open-svc state on the remote server.

I would recommend opener. It is a tool that allows you to open a page in your local browser with open command on a remote server.

Thank you @superbrothers . I understand that my suggestion is far from the open-svc concept. This issue will be closed.