- 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.
推薦閱讀
- 全屋互聯:智能家居系統開發指南
- Windows Server 2019 Cookbook
- Linux系統文件安全實戰全攻略
- Linux從零開始學(視頻教學版)
- SOA實踐者說
- Alfresco 4 Enterprise Content Management Implementation
- 嵌入式系統原理及開發
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- Hands-On UX Design for Developers
- 新編電腦辦公(Windows 10+ Office 2013版)從入門到精通
- Python UNIX和Linux系統管理指南
- Linux系統最佳實踐工具:命令行技術
- Linux系統安全:縱深防御、安全掃描與入侵檢測
- 鴻蒙入門:HarmonyOS應用開發
- openEuler操作系統核心技術與行業應用實踐