- 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.
推薦閱讀
- Linux設備驅動開發詳解:基于最新的Linux4.0內核
- Linux系統架構與運維實戰
- Linux實戰
- 嵌入式Linux系統開發:基于Yocto Project
- 玩到極致 iPhone 4S完全攻略
- 數據中心系統工程及應用
- 直播系統開發:基于Nginx與Nginx-rtmp-module
- Joomla! 3 Template Essentials
- 細說Linux基礎知識
- Windows 8實戰從入門到精通(超值版)
- Windows 7實戰從入門到精通
- 分布式系統設計實踐
- Heroku Cloud Application Development
- Advanced Infrastructure Penetration Testing
- Agile IT Security Implementation Methodology