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

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.
主站蜘蛛池模板: 策勒县| 叙永县| 黔西| 江川县| 定结县| 普定县| 临西县| 慈利县| 临泉县| 成都市| 青海省| 泰和县| 怀宁县| 中山市| 沁源县| 高要市| 策勒县| 罗山县| 凤台县| 彭泽县| 扶绥县| 眉山市| 乐陵市| 永新县| 桐柏县| 隆德县| 滨州市| 木里| 府谷县| 江门市| 丹东市| 六盘水市| 徐闻县| 郑州市| 桃园市| 黑山县| 阜宁县| 东辽县| 如东县| 平湖市| 成武县|