Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I configure Service Fabric Placement Constraints?

I want to be able to configure placement constraints based on different node types (i.e. FrontEnd, BackEnd). Can I do this per-environment, so that in my test/local cluster there are no constraints, but on my production environments there is?

like image 297
aoetalks Avatar asked Mar 10 '23 16:03

aoetalks


1 Answers

Yes, you can! The official docs describe a way to do this via code, but you can also do so with the service manifest files directly to get default & per-environment configuration. There is a blog post you can follow (found it in this answer).

like image 105
aoetalks Avatar answered Apr 02 '23 13:04

aoetalks