官术网_书友最值得收藏!

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.
主站蜘蛛池模板: 钟山县| 阿勒泰市| 长汀县| 玛沁县| 泽普县| 岳池县| 罗源县| 威宁| 卫辉市| 吴桥县| 衡东县| 汾西县| 平舆县| 上犹县| 黄龙县| 龙江县| 金乡县| 莎车县| 泰兴市| 凤凰县| 平罗县| 长汀县| 五莲县| 海丰县| 榕江县| 鄂尔多斯市| 通州区| 霸州市| 基隆市| 曲麻莱县| 广平县| 兴安盟| 香港 | 稷山县| 炉霍县| 大新县| 吕梁市| 永宁县| 江门市| 嵊泗县| 临漳县|