当前位置:网站首页>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 the built-in function of win to transfer files between two computers in the same LAN (the speed is the same as that between local disks)
- Informatics Olympiad 1955: [11noip popularization group] Swiss round | openjudge 4.1 4363: Swiss round | Luogu p1309 [noip2011 popularization group] Swiss round
- The applet calls the function of scanning QR code and jumps to the path specified by QR code
- A trinomial expression that causes a null pointer
- 持续集成(CI)/持续交付(CD)如何彻底改变自动化测试
- 机器学习---线性回归
- TypeError: ‘Collection‘ object is not callable. If you meant to call the ......
- C. Tree infection (simulation + greed)
- [2021] Spatio-Temporal Graph Contrastive Learning
- Backup MySQL database with Navicat
猜你喜欢
Making message board with PHP + MySQL
[2022 ICLR] Pyramid: low complexity pyramid attention for long range spatiotemporal sequence modeling and prediction
【数据库】表的查看、修改和删除
Sword finger offer: the path with a certain value in the binary tree (backtracking)
持续集成(CI)/持续交付(CD)如何彻底改变自动化测试
泰克示波器DPO3054自校准SPC失败维修
The 2021 more reading report was released, and the book consumption potential of post-95 and Post-00 rose
MySQL memo (for your own query)
数据安全问题已成隐患,看vivo如何让“用户数据”重新披甲
Pixel mobile phone brick rescue tutorial
随机推荐
【数据库】MySQL基本操作(基操~)
Mac 进入mysql终端命令
Luogu p2731 horse riding fence repair
Learning Android V from scratch - UI
跨境电商 | Facebook 和 Instagram:哪个社交媒体更适合你?
C. Tree infection (simulation + greed)
Pixel mobile phone brick rescue tutorial
AQS源码阅读
MySQL slow query
COM in wine (2) -- basic code analysis
Define defines constants and macros, pointers and structures
Docker installation and mysql5 7 installation
独立站运营 | FaceBook营销神器——聊天机器人ManyChat
Wine (COM) - basic concept
Analysis of POM files
JS determines whether the numeric string contains characters
redis数据类型有哪些
Leetcode -- heuristic search
Live delivery form template - automatically display pictures - automatically associate series products
MySQL 慢查询