And note that we don’t automatically set that label on single node installs because we are moving to more of an AMI / autoscaing model in the future, where we may configure a control plane by nodes dynamically join as they boot. Setting a compute label via inventory will be required for this scenario.
> On Apr 12, 2018, at 9:09 AM, Michael Gugino <mgug...@redhat.com> wrote: > > That will be the default infra_selector unless you modify it, but yes > that's the new format. You'll want to apply that label to your infra > hosts as well. > >> On Thu, Apr 12, 2018 at 9:06 AM, Charles Moulliard <cmoul...@redhat.com> >> wrote: >> Hi Michael, >> >> Do I have to use this openshift-ansible var to define it for 3.9 ? >> >> openshift_hosted_infra_selector="node-role.kubernetes.io/infra=true" >> >> Regards, >> >> Charles >> >>> On Thu, Apr 12, 2018 at 2:56 PM, Michael Gugino <mgug...@redhat.com> wrote: >>> >>> 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 >> >> > > > > -- > 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 _______________________________________________ dev mailing list dev@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/dev