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

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.
主站蜘蛛池模板: 四川省| 汶川县| 陵水| 靖江市| 浦北县| 乡城县| 汽车| 吴江市| 镇平县| 炎陵县| 陵水| 赣州市| 九龙城区| 开封县| 囊谦县| 灵寿县| 黄梅县| 西畴县| 宕昌县| 泽普县| 张家界市| 杭锦旗| 苍溪县| 珲春市| 镇巴县| 玛沁县| 同心县| 将乐县| 江门市| 中卫市| 乌海市| 新余市| 伊通| 贡觉县| 龙门县| 罗山县| 阳高县| 遵义市| 嘉义县| 景洪市| 桃源县|