kubernetes # kubernetes apiVersion-kind使用
查看k8s的apiversion版本命令kubectl api-versionskubectl explain deployment.apiVersion查看版本使用哪一个apiVersion[root@master k8s-prometheus-grafana]#kubectl explain DaemonSet.apiVersionKIND:DaemonSetVERSION:apps/v1FI
·
查看k8s的apiversion版本命令
kubectl api-versions
kubectl explain deployment.apiVersion
查看版本使用哪一个apiVersion
[root@master k8s-prometheus-grafana]# kubectl explain DaemonSet.apiVersion
KIND: DaemonSet
VERSION: apps/v1
FIELD: apiVersion <string>
DESCRIPTION:
APIVersion defines the versioned schema of this representation of an
object. Servers should convert recognized schemas to the latest internal
value, and may reject unrecognized values. More info:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
更多推荐
已为社区贡献1条内容
所有评论(0)