Sounds a little  like the openshift client  ?
It seems like vendors might build these features on top of kube but not sure if 
kube itself would carry this functionality .  Maybe a part of the ecosystem 
worth creating - kube-interactive-cli.... possibly the red hat folks might be 
benefactors here given the way openshift might need at least some of this 
functionality .

On Dec 29, 2017, at 3:07 PM, Rudy Bonefas <rudyb...@gmail.com> wrote:
> 
> Don't know if this is the right forum for this, but I'm not a kubernetes 
> contributor so I don't post to the dev group.  Here is a feature I'd like 
> added to kubectl:
> 
> I'd like to be able to run kubectl like an interactive session?  Why? Here 
> are my reasons:
> 
> We currently use openid tokens with Kubectl.  We were using certs but the 
> fact that the client key is an un-encrpyted key was found to be not 
> sufficiently secure for our purposes. What we'd like is the option to use an 
> encrypted key and have kubectl either accept the password on the command line 
> or better yet prompt for the password and then open an interactive session.  
> In the session you could do script like things like 
> 
> >use namespace my-namespace     // All subsequent calls apply to this 
> >namespace
> >  pods                                        // pulls from current namespace
> > set mypod = pods/my-pod                    // pulls pod json an puts it in 
> > session variable
> > if mypod.metadata.status,conditions[0].type = 'Ready' then do something 
> > else    // Simple scripting capability based on json values etc
> 
> 
> Basically what I'm looking for is simple kubernetes scripting language 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to