-
如果本目录没有列出,您可以通过k8s api 查看所有参数,api 的参数就是yaml中的参数 k8s api 文档
-
通过
kubectl explain 资源
,例如: 查看pod的spec支持的参数kubectl explain pod.spec
(注意查看对应版本的api,否则可能不对,如deployment:kubectl explain deployments --api-version=apps/v1
)
-
Notifications
You must be signed in to change notification settings - Fork 11
zgfh/k8s-demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
本仓库收集整理了一些常用yaml和命令,方便复制粘贴--真懒得记😄
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published