쿠버네티스
kubectl _get_comp_words_by_ref: command not found 자동완성 에러
궁굼하다
2024. 1. 10. 10:29
728x90
반응형
# install bash-completion
#우분투 경우
source /etc/bash_completion
source <(kubectl completion bash)
source /etc/bash_completion
참고사이트:
https://kubernetes.io/ko/docs/reference/kubectl/cheatsheet/
kubectl 치트 시트
이 페이지는 일반적으로 사용하는 kubectl 커맨드와 플래그에 대한 목록을 포함한다. Kubectl 자동 완성 BASH source <(kubectl completion bash) # bash-completion 패키지를 먼저 설치한 후, bash의 자동 완성을 현재
kubernetes.io
https://eli-kim.tistory.com/entry/K8s-getcompwordsbyref-command-not-found-%ED%95%B4%EA%B2%B0
K8s, _get_comp_words_by_ref: command not found 해결
그냥 작업하면 잘되는데 kubectl에서는 tap을 누르면 아래와 같은 에러가 뜬다. _get_comp_words_by_ref: command not found 보통 bash-completion을 설치하지 않아서 생기는 문제이지만, 다른 때에는 잘 되다가 꼭 k
eli-kim.tistory.com
반응형