当前位置:网站首页>Kubectl command automatic replenishment
Kubectl command automatic replenishment
2022-04-23 05:04:00 【canger_】
install bash-completion
apt-get install bash-completion
Then add the following to ~/.bashrc
echo 'source /usr/share/bash-completion/bash_completion' >> ~/.bashrc
Reload shell
source ~/.bashrc
Reenter command
type _init_completion
To verify bash-completion Installation status of
start-up kubectl Automatic completion function
# The current user
echo 'source <(kubectl completion bash)' >> ~/.bashrc
# The whole system
kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null
Then reload shell
source ~/.bashrc
版权声明
本文为[canger_]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220552063452.html
边栏推荐
- Use AES encryption - reuse the wisdom of predecessors
- Innovation training (V) mid term inspection
- C. Tree infection (simulation + greed)
- Sword finger offer: push in and pop-up sequence of stack
- Innovation training (V) configuration information
- C. Tree Infection(模拟+贪心)
- MySQL slow query
- [2021] Spatio-Temporal Graph Contrastive Learning
- Set Chrome browser background to eye protection (eye escort / darkreader plug-in)
- 持续集成(CI)/持续交付(CD)如何彻底改变自动化测试
猜你喜欢
Innovation training (V) configuration information
Data security has become a hidden danger. Let's see how vivo can make "user data" armor again
Wine (COM) - basic concept
跨境电商 | Facebook 和 Instagram:哪个社交媒体更适合你?
COM in wine (2) -- basic code analysis
Innovation training (IV) preliminary preparation - server
How can continuous integration (CI) / continuous delivery (CD) revolutionize automated testing
Pixel 5 5g unlocking tutorial (including unlocking BL, installing edxposed and root)
[database] MySQL single table query
The 2021 more reading report was released, and the book consumption potential of post-95 and Post-00 rose
随机推荐
Use model load_ state_ Attributeerror appears when dict(): 'STR' object has no attribute 'copy‘
Chapter III project schedule management of information system project manager summary
【数据库】表的查看、修改和删除
Various ways of writing timed tasks of small programs
Get the number of days between dates, get the Chinese date, get the date of the next Monday of the date, get the working day, get the rest day
TypeError: ‘Collection‘ object is not callable. If you meant to call the ......
js 判断数字字符串中是否含有字符
JS determines whether the numeric string contains characters
calendar. Pit point of getactualmaximum (calendar. Day_of_month)
数据安全问题已成隐患,看vivo如何让“用户数据”重新披甲
Basic concepts of multithreading (concurrency and parallelism, threads and processes) and entry cases
信息学奥赛一本通 1212:LETTERS | OpenJudge 2.5 156:LETTERS
Chapter II project scope management of information system project manager summary
[2021] Spatio-Temporal Graph Contrastive Learning
Innovation training (VII) FBV view & CBV view
View, modify and delete [database] table
Wechat payment function
[database] MySQL multi table query (I)
Innovation training (II) task division
Luogu p2731 horse riding fence repair