Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec #633

Open
0521ak47 opened this issue Jan 14, 2020 · 1 comment
Open

Comments

@0521ak47
Copy link

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.

@sete391
Copy link

sete391 commented Feb 12, 2020

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants