- 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.
推薦閱讀
- pcDuino開發實戰
- Linux系統架構與運維實戰
- Kali Linux滲透測試全流程詳解
- Extending Bootstrap
- 嵌入式實時操作系統:RT-Thread設計與實現
- Kali Linux 2018:Windows Penetration Testing
- Mastering Reactive JavaScript
- jQuery UI Cookbook
- Linux設備驅動開發
- Hands-On UX Design for Developers
- Cassandra 3.x High Availability(Second Edition)
- 完美應用Ubuntu(第2版)
- Linux內核分析及應用
- Java EE 8 High Performance
- Learning Joomla! 3 Extension Development(Third Edition)