[英]kubectl YAML documentation for a resource
Is there a kubectl
command that gives advice about essential fields required in the YAML, or YAML examples, for a given resource? 是否有一个
kubectl
命令为给定资源提供有关YAML或YAML示例中必填字段的建议?
Currently, when I want a YAML example of a resource, for example a deployment , I search the online documentation. 当前,当我需要资源的YAML示例( 例如部署)时 ,我会搜索在线文档。 I'd rather stay in the terminal.
我宁愿留在航站楼。
kubectl explain deployment
发布openapi规范的资源的kubectl explain deployment
工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.