cloudnativelabs / kube-shell

Kubernetes shell: An integrated shell for working with the Kubernetes
Apache License 2.0
2.38k stars 174 forks source link

Server-side autocomplete doesn't work on kubernetes object names with Ubuntu 18.10 #68

Open weber-d opened 5 years ago

weber-d commented 5 years ago

For me the autocomplete works on kubectl commands like kubectl, get, pods, deployment and so on. But it doesn't work for server side object names. As the following screencast shows, the autocomplete stops after pod and I don't get the pod names, altough kubectl get pods shows that there are pods which could be displayed:

https://u-img.net/img/8788Lc.gif Only --all-namespaces is shown from the history. But when I e.g. enter kubectl get deployments, it shows nothing, altough there are also deployments on kubernetes.

Environment information:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.10
Release:    18.10
Codename:   cosmic

$ python --version
Python 2.7.15+

I installed kube-shell using pip install --user kube-shell.

sigmonsays commented 5 years ago

I have similar issues with "kubectl get pod " -- and "kubectl describe pod", pod names are not completed.

sig@desktop3:~$ python -V
Python 2.7.15rc1
sig@desktop3:~$ lsb_release  -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic
hjacobs commented 5 years ago

This seems to be a duplicate of #48