如何查看Kubernetes pod yaml文件的在线语法帮助

我们在撰写Kubernetes pod的yaml文件时,一定都为Kubernetes yaml文件复杂的语法苦恼过。 其实Kubernetes是提供了很好的在线(online)文档的。 命令: kubectl explain pod.spec | grep -i "containers" -5 很快就能看到pod.spec这个区域应该怎么填:
相关文章
相关标签/搜索