How To - Kubespy

Kubespy

Website: github.com/pulumi/kubespy

A open source tool that makes it easy to observe how Kubernetes resources change in real time.

Install Kubespy

brew install kubespy

Verify Installed Kubespy Version

kubespy version

Kubespy Help

kubespy help

Show K8s Resource Status

This command will emits all changes made to the .status field of an arbitrary Kubernetes resource, as a JSON diff in real time.

kubespy status <apiVersion> <kind> [<namespace>/]<name>
kubespy status v1 pod nginx

Show K8s Resource Changes

This command will emits all changes to any field in a Kubernetes resource, as a JSON diff in real time.

kubespy changes <apiVersion> <kind> [<namespace>/]<name>
kubespy changes v1 pod nginx

Show K8s Resource Changes

This command will trace the changes, a complex Kubernetes resource makes throughout a cluster, and aggregates them into a high-level summary, which is updated in real time.

kubespy trace <kind> [<namespace>/]<name>
kubespy trace deploy nginx

Did you find this article valuable?

Support Ashutosh Kumar Sinha by becoming a sponsor. Any amount is appreciated!