ValidationError: missing required field “selector” in io.k8s.api.v1.DeploymentSpec
You need to fix your deployment yaml file. As you can see from your error message, the Deployment.spec.selector field can’t be empty. Update the yaml (i.e. add spec.selector) as shown in below: spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: sawtooth-0 template: metadata: labels: app.kubernetes.io/name: sawtooth-0 Why selector field is important? The selector field defines how the … Read more