News for hackers. Stuff that matters.
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