当前位置: 代码迷 >> 综合 >> error validating data: ValidationError(Deployment.spec): missing required field selector in io.k8s
  详细解决方案

error validating data: ValidationError(Deployment.spec): missing required field selector in io.k8s

热度:51   发布时间:2023-12-16 19:43:37.0

error:

error validating data: ValidationError(Deployment.spec): missing required field “selector” in io.k8s.api.apps.v1.DeploymentSpec; if you choose to ignore these errors, turn validation off with --validate=false

solution:
Kubernetes基础:Deployments从beta版本到v1的变化对应方法

  相关解决方案