One or more placement constraints on the service are undefined on all nodes that are currently up -
trying setup specific services deploy specific node types getting error using visual studio publish dialog (that breaks calling new-servicefabricapplication ps command)
i using service manifest define placementconstraints this:
<statelessservicetype servicetypename="visualobjects2.webservicetype" > <placementconstraints>(nodetype==node2)</placementconstraints> </statelessservicetype>
how can define placement constraints on nodes?
in azure portal, go sf cluster, select node types , each 1 can add key-value list of placement constraints. there put key-value: nodetype = node2. after this, deployment done in nodes attribute
Comments
Post a Comment