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
반응형
'쿠버네티스' 카테고리의 다른 글
Networkgin - Prerequisite - Switching Routing-DNS-CoreDNS-Network Namespaces (0) | 2025.01.14 |
---|---|
Docker VS Containerd (0) | 2024.12.11 |
컨테이너-컨테이너 오케스트레이션 시스템-쿠버네티스 (0) | 2024.01.10 |
마이크로서비스와 컨테이너-1 (0) | 2023.08.05 |
컨테이너 인프라 환경을 지원하는 도구 (0) | 2023.07.22 |