spinkube / spin-plugin-kube

A Spin plugin for interacting with Kubernetes.
Other
27 stars 7 forks source link

the user should be able to view the status of their spin app #2

Closed bacongobbler closed 9 months ago

bacongobbler commented 9 months ago

Some commands like spin k8s connect rely on the status of the app to be in the "Running" state:

><> spin k8s connect hello-rust
error: unable to forward port because pod is not running. Current status=Pending

We should provide a way for users to view the status of their applications through spin k8s list or spin k8s get. Currently neither command provides that information.

><> spin k8s list
NAMESPACE       NAME            EXECUTOR                REPLICAS
default         hello-rust      containerd-shim-spin    2
><> spin k8s get hello-rust
NAMESPACE       NAME            EXECUTOR                REPLICAS
default         hello-rust      containerd-shim-spin    2