Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running kubespy #13

Open
leftyb opened this issue Mar 22, 2022 · 1 comment
Open

Error running kubespy #13

leftyb opened this issue Mar 22, 2022 · 1 comment

Comments

@leftyb
Copy link

leftyb commented Mar 22, 2022

Hello!

Installed the kubespy using latest krew: kubectl krew install spy

Issue details

Running :

kubectl spy mypod-10852-599996c776-7rv2d -n test loading spy pod... Error: unknown flag: --generator See 'kubectl run --help' for usage.

Expected

Expected: to get spy info for pod.

Thank you.

@colegatron
Copy link

Sadly, same result:

$ k spy -n backend pg-pg-0 --spy-image busybox
loading spy pod...
error: unknown flag: --generator
See 'kubectl run --help' for usage.

Kubernetes version:
$ k version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:49:13Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:43:11Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants