If you're installing an all-in-one, you need to set the label
node-role.kubernetes.io/compute=true on the node as that is the
default node selector in 3.9.

On Thu, Apr 12, 2018 at 4:01 AM, Charles Moulliard <cmoul...@redhat.com> wrote:
> Hi,
>
> I have installed openshift origin using the openshift-ansible "release-3.9"
> branch but
> when I create a new application such as MySQL using the openshift template
> within by example the project "demo", then the deployment fails and reports
> this error
>
> "0/1 nodes are available: 1 MatchNodeSelector."
>
> This problem is due to the fact that the project doesn't include the
> following annotation "openshift.io/node-selector="
>
> See -->
> oc describe project/demo
> Name: demo
> Created: About a minute ago
> Labels: <none>
> Annotations:    openshift.io/description=
> openshift.io/display-name=
> openshift.io/requester=admin
> openshift.io/sa.scc.mcs=s0:c11,c5
> openshift.io/sa.scc.supplemental-groups=1000120000/10000
> openshift.io/sa.scc.uid-range=1000120000/10000
> ...
>
> Is there a way to tell to openshift to add such annotation for every project
> created ?
> Do I have to report a bug to origin or openshif-ansible project ?
>
> Regards,
>
> Charles
>
> _______________________________________________
> dev mailing list
> dev@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>



-- 
Michael Gugino
Senior Software Engineer - OpenShift
mgug...@redhat.com
540-846-0304

_______________________________________________
dev mailing list
dev@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to