error validating "STDIN": 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
I tried to update from v1beta to apps/v1
for Kubernetes1.16+
But the deployment file fails.
error validating "STDIN": 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
I tried to update from v1beta to apps/v1 for Kubernetes1.16+ But the deployment file fails.