Skip to Content
Kubernetes即学即用(第二版)
book

Kubernetes即学即用(第二版)

by Brendan Burns, Joe Beda, Kelsey Hightower
June 2021
Intermediate to advanced
300 pages
5h 4m
Chinese
China Electric Power Press Ltd.
Content preview from Kubernetes即学即用(第二版)
常用的
kubectl
命令
57
echo "source <(kubectl completion bash)" >> ${HOME}/.bashrc
如果你使用
zsh
,则可以在网上找到相应的说明(地址:
https://kubernetes.io/
docs/tasks/tools/install-kubectl/#using-zsh
)。
4.8
查看集群的其他方法
除了
kubectl
,你也可以使用其他工具可以与
Kubernetes
集群进行交互。
例如,有些编辑器的插件将
Kubernetes
集成到了编辑器环境中,例如:
Visual Studio Code
http://bit.ly/32ijGV1
IntelliJ
http://bit.ly/2Gen1eG
Eclipse
http://bit.ly/2XHi6gP
此外,还有一个开源移动应用程序,可以让你从手机上访问集群(地址:
https://github.com/bitnami-labs/cabin
)。
4.9
小结
kubectl
是一款功能十分强大的工具,可用于管理
Kubernetes
集群中的应用
程序。本章我们详细介绍了这款工具的许多常见用法,而且
kubectl
内置的
帮助文档也很完善。你可以通过以下方式查看该帮助文档:
$
kubectl help
或者:
$
kubectl help <
命令名称
>
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PyTorch深度学习

PyTorch深度学习

Posts & Telecom Press, Vishnu Subramanian
Python数据分析

Python数据分析

Posts & Telecom Press, Ivan Idris
Python贝叶斯分析(第2版)

Python贝叶斯分析(第2版)

Posts & Telecom Press, Osvaldo Martin
Python高级编程(第2版)

Python高级编程(第2版)

Posts & Telecom Press, Michał Jaworski, Tarek Ziadé

Publisher Resources

ISBN: 9787519856762