Hmmm... there is only hard requirement for the selector to
be non-nil [1] because empty selector is a valid selector [2].
[1]
https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/extensions/validation/validation.go#L344
[2]
https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/labels.md#label-selectors
Maciej
On 01/12/2016 05:28 PM, Philippe Lafoucrière wrote:
I'll have a look at status update, maybe we have a bug there.
Anyway thanks pointing us to that!
I saw the PR, good catch :)
Btw, we have an explanation for the pod restart rate: A selector in the job
was empty, and openshift probably restart ALL the pods on job failure...
That's a huge mistake on our side, but it probably worth a warning or
something on the job creation?
Thanks,
Philippe
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users