huazhihao / kubespy Goto Github PK
View Code? Open in Web Editor NEWpod debugging tool for kubernetes clusters with docker runtimes
License: Apache License 2.0
pod debugging tool for kubernetes clusters with docker runtimes
License: Apache License 2.0
Hi!
For some reason plugin isn't working at all with version v1.16.11-gke.5 but still working with v1.16.8-gke.15. Can you please check it?
$ kubectl spy mypod
loading spy pod...
Flag --generator has been deprecated, has no effect and will be removed in the future.
pod "spy-2557" deleted
Error from server (BadRequest): container "spy" in pod "spy-2557" is not available
This will allow people with multiple clusters to use this tool more easily
I am getting this error:
~/.krew/bin/kubectl-spy: line 94: shuf: command not found
info:
NAME: spy
INDEX: default
URI: https://github.com/huazhihao/kubespy/releases/download/v0.3.3/kubespy.tar.gz
SHA256: fab1365ab650d662c4cfa2c90a7ec3617795343d257cb76304ee038cdd6d5804
VERSION: v0.3.3
oading spy pod...
^C[root@node-10-120-13-236 ~]# kubectl get pod
NAME READY STATUS RESTARTS AGE
counter 3/3 Running 0 49d
nginx-86c57db685-5925s 1/1 Running 0 45d
nginx-86c57db685-fkmw2 1/1 Running 0 45d
nginx-86c57db685-t5lfl 1/1 Running 0 45d
spy-6179 0/1 ImagePullBackOff 0 10m
spy-8003 0/1 ImagePullBackOff 0 7m56s
spy-9310 0/1 ImagePullBackOff 0 2m22s
[root@node-10-120-13-236 ~]# docker pull busybox:1.28
1.28: Pulling from library/busybox
07a152489297: Pull complete
Digest: sha256:141c253bc4c3fd0a201d32dc1f493bcf3fff003b6df416dea4f41046e0f37d47
Status: Downloaded newer image for busybox:1.28
[root@node-10-120-13-236 ~]# kubectl spy nginx-86c57db685-t5lfl --spy-image busybox:1.28
loading spy pod...
kind
Please add new release version v0.4.0 to krew-index.
And if possible add automation for future releases with https://krew.sigs.k8s.io/docs/developer-guide/release/automating-updates/
Regards.
Installed the kubespy using latest krew: kubectl krew install spy
Running :
kubectl spy mypod-10852-599996c776-7rv2d -n test loading spy pod... Error: unknown flag: --generator See 'kubectl run --help' for usage.
Expected: to get spy info for pod.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.