pulumi / kubespy

Tools for observing Kubernetes resources in real time, powered by Pulumi.
https://pulumi.com/
Apache License 2.0
2.88k stars 92 forks source link

Proposal: implement kubespy as kubectl plugin #35

Open liftedkilt opened 5 years ago

liftedkilt commented 5 years ago

Looking at : https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/, it appears that we could use https://github.com/kubernetes/cli-runtime to implement kubespy as a plugin, and get a lot of the heavy lifting done for us.

Syntax could look something like:

kubectl spy po nginx --status
kubectl spy svc nginx --trace

^ I'm just spitballing here. @hausdorff WDYT?

hausdorff commented 5 years ago

This is a good idea and something I've been considering since it started to take off. May or may not put some time into this in my free time over the next couple weeks...

liftedkilt commented 5 years ago

I've been poking at it a bit as time permits today... Struggling my way through a lack of docs and a ton of unfamiliar interfaces to implement 😀 - mostly just trying to get alias expansion working still so that we can use CRDs and all the shortnames.

joelkperkins commented 5 years ago

@hausdorff @liftedkilt Any updates here?

corneliusweig commented 4 years ago

Somewhat related to #65