News for hackers. Stuff that matters.
Re:KUI - hybrid command-line/UI development experience for c... by jonfw on Friday March 06, 2020 @10:19AM (#22504219)
There is certainly a space in the market for pretty-printed kubectl output. The complete lack of formatting and color makes it significantly harder to poke around and troubleshoot.

One thing that has been pretty effective is using 'kubectl get -o yaml | jid' which lets you poke around in the json a bit

Re:KUI - hybrid command-line/UI development experience for c... by atoreno on Friday March 06, 2020 @10:28AM (#22504281)
I too have been looking for a good solution.

Some that I've found:

- octant.dev from vmware

- infra.app from kubernetes podcast a couple weeks back

- kontena lens (looks like the company shut down)

Re:KUI - hybrid command-line/UI development experience for c... by farisjarrah on Friday March 06, 2020 @02:05PM (#22506260)
I was pretty bummed out by Kontena Lens shutting down, but I definitely sympathize with their struggles. They made a really fantastic product and gave it away for free and then they couldn't sustain development costs according to their twitter page. A couple thoughts on their departure: The application (an app image that ran on your local laptop) relied on talking to their servers, once they shut down their business, the product literally 100% stopped working. That was pretty shocking, as I didn't hear that the company was struggling before they shut down. I had to go hunt around on social media to find that news as their website was also no longer up. Although it wasn't mission critical to our work flow, as it was basically a (very very nice) GUI wrapper around Kubectl, our team came to rely on it. So it was troubling when all of a sudden part of our workflow broke. I know Kontena has a few other open source products. It would be nice if they put up the old codebase up on github even if they state explicitly that they will not maintain it, although I know how burdensome it can be to prepare code for open source if it wasn't initially designed as such.
Re:KUI - hybrid command-line/UI development experience for c... by atoreno on Friday March 06, 2020 @03:13PM (#22506862)
I've been using infra.app for a couple of weeks now. It is said to be created by the founders of Kitematic. I didn't know they had left their jobs at Docker to build a new tool. Very cool! I loved using their products in the past, including Docker for mac. Hoping for good things to come.
Re:KUI - hybrid command-line/UI development experience for c... by shric on Saturday March 07, 2020 @07:49AM (#22511301)
I really like https://github.com/derailed/k9s for navigating around.
Re:KUI - hybrid command-line/UI development experience for c... by akavel on Friday March 06, 2020 @11:21AM (#22504795)
I wish something like this was available as a plugin for http://userland.org ; also, that it had a mode for "live update of results" (or, does it work with 'watch -n1' already?)
Re:KUI - hybrid command-line/UI development experience for c... by ivan_ah on Friday March 06, 2020 @10:57AM (#22504560)
In a similar vein, there was kubenav https://github.com/kubenav/kubenav that was recently posted on HN https://news.ycombinator.com/item?id=22381870
Re:KUI - hybrid command-line/UI development experience for c... by awinter-py on Friday March 06, 2020 @12:16PM (#22505329)
kubectl is an iffy tool, long-term annoying things like inability to ssh to a deployment and impossible-to-read events are ergonomic headaches, but jeez, electron is a lot to take on

also is this IBM now?

Re:KUI - hybrid command-line/UI development experience for c... by moondev on Friday March 06, 2020 @12:36PM (#22505510)
By "ssh to a deployment" do you mean exec into a pod? "kubectl exec -it <podname> sh"
Re:KUI - hybrid command-line/UI development experience for c... by awinter-py on Friday March 06, 2020 @01:36PM (#22506033)
great, but if the pod is a member of a deployment, that's a 2-step process

(1, get the name of a random pod from a deployment, 2, exec in)

Re:KUI - hybrid command-line/UI development experience for c... by moondev on Friday March 06, 2020 @02:05PM (#22506270)
Like this?

kubectl exec -it deploy/<deployment> sh

Re:KUI - hybrid command-line/UI development experience for c... by jrockway on Friday March 06, 2020 @04:18PM (#22507398)
I think the complaint is about the number of screen <-> brain cycles required. "kubectl exec -it something-" <TAB> <read a list of deployment hashes, pick the first letter/number of the one you want, type it> <TAB> <read a list of pod hashes, pick the first letter/number of one, type it> <TAB> " sh".
Re:KUI - hybrid command-line/UI development experience for c... by xnxn on Friday March 06, 2020 @04:26PM (#22507467)
The parent comment is saying you can use `kubectl exec -it deploy/something` instead, and it will pick a pod for you. That landed in 1.15, IIRC.
Re:KUI - hybrid command-line/UI development experience for c... by jrockway on Friday March 06, 2020 @04:32PM (#22507514)
Ah, interesting. Unfortunately it works poorly with tab completion (i.e., not at all), so you still have to type the entire name of your deployment, even if there's only one in the context's namespace.
Re:KUI - hybrid command-line/UI development experience for c... by awinter-py on Saturday March 07, 2020 @10:21PM (#22516125)
wait that's amazing -- have been waiting for this for years