Error validating Pod template with NodeSelector
The above error is for:
nodeSelector: app: "v1-tesla" resources: {}
Here, resources: {}
representing map
, but it should be string
. So remove resources: {}
or change it's value to string
.
apiVersion: v1kind: Podmetadata: creationTimestamp: null labels: run: nginx4 name: nginx4spec: containers: - image: nginx name: nginx4 nodeSelector: app: "v1-tesla" resources: "whatever" dnsPolicy: ClusterFirst restartPolicy: Neverstatus: {}