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

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.
主站蜘蛛池模板: 博客| 兴仁县| 桐柏县| 桐庐县| 金堂县| 大邑县| 岳池县| 重庆市| 雅江县| 香格里拉县| 屯留县| 商城县| 睢宁县| 通榆县| 东平县| 木兰县| 西畴县| 临朐县| 疏勒县| 固镇县| 汉寿县| 梁平县| 田阳县| 盘山县| 临邑县| 南澳县| 昭平县| 小金县| 伊宁县| 陆良县| 沂南县| 无极县| 梁山县| 交口县| 和平区| 昌邑市| 安达市| 甘泉县| 嵊泗县| 广元市| 乐东|