kube-shell icon indicating copy to clipboard operation
kube-shell copied to clipboard

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

Open weber-d opened this issue 6 years ago • 2 comments

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.

weber-d avatar Mar 29 '19 13:03 weber-d

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

sigmonsays avatar Apr 05 '19 03:04 sigmonsays

This seems to be a duplicate of #48

hjacobs avatar Apr 14 '19 09:04 hjacobs