Coder Social home page Coder Social logo

Comments (4)

murali-reddy avatar murali-reddy commented on May 27, 2024 1

@mbangert-smarsh thanks for opening issue. We will work on it.

In general, there are scenarios like 'kubectl logs' which need to be handled case by case (unlike kubeclt get kubectl-resource-name for e.g). I am collecting such scenarios, and make kube-shell at the least compatible with kubectl auto completion. We will fix it next release.

from kube-shell.

elonderin avatar elonderin commented on May 27, 2024 1

got the problem too running

  • inside bash
  • on WSL2/Ubuntu 20.04.2 LTS
  • in connection with AWS EKS and IAM auth which needs the aws-iam-authenticator

i noticed that

  • every once in a great while it works
  • always? when i just do kubectl logs TAB TAB then i get listed the files in the current dir

from kube-shell.

harshakondreddy avatar harshakondreddy commented on May 27, 2024

I am having the same issue.. for few people its working on mac.
I am using centos and trying on the master node and it's not working for me

from kube-shell.

harshakondreddy avatar harshakondreddy commented on May 27, 2024

I am using a centos machine to run kubectl and executing the below instruction worked for me

yum install bash-completion 
 
echo 'source <(kubectl completion bash)' >>~/.bashrc 
kubectl completion bash >/etc/bash_completion.d/kubectl 
echo "alias k=\'kubectl\'" >> ~/.bashrc 
echo 'complete -F __start_kubectl k' >>~/.bashrc 
source ~/.bashrc 

once it's completed, it should be able to get the response with TAB TAB

from kube-shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.