- Learn OpenShift
- Denis Zuev Artemii Kropachev Aleksey Usov
- 107字
- 2021-08-13 16:03:51
Working with kubectl
Kubectl is a command-line interface for managing a Kubernetes cluster and its resources. In this section, you will learn about the most common commands and their use cases.
The syntax for all the commands follows this convention:
$ kubectl <COMMAND> <RESOURCE_TYPE> <RESOURCE_NAME> <OPTIONS>
Commands in angle brackets <> mean the following:
- COMMAND: An action to be executed against one or more resources.
- RESOURCE_TYPE: The type of resource to be acted upon, for example, a pod or service.
- RESOURCE_NAME: The name of the resource(s) to manage.
- OPTIONS: Various flags used to modify the behavior of kubectl commands. They have higher priority than default values and environment variables, thus overriding them.
推薦閱讀
- Containerization with LXC
- Cybersecurity:Attack and Defense Strategies
- 鴻蒙生態:開啟萬物互聯的智慧新時代
- BPEL and Java Cookbook
- 計算機系統開發與優化實戰
- 嵌入式實時操作系統:RT-Thread設計與實現
- 無蘋果不生活 The New iPad隨身寶典
- VMware Horizon View Essentials
- iOS 10 開發指南
- Mastering Windows 8 C++ App Development
- Multi-Cloud for Architects
- Linux指令從初學到精通
- 鴻蒙HarmonyOS應用開發從入門到精通
- 物聯網操作系統AliOS Things探索與實踐
- 數字系統設計與VHDL