简体   繁体   中英

Service fabric endpoint port configuration

I want to deploy multiple instances of service fabric application to one service fabric cluster. In order to do it I need to have ability to configure port in service manifest (so different instances are running on different port). Every example which i seen use 'hardcoded' value in this file. Is it possible to have it configured in ApplicationParameters or in Settings.xml file ?

Another option which I consider is to use tokenization to solve my problem (so i have token in service manifest, which will be replaced by tokenization task during VSTS deployment). But in that case I don't have simple way to run service locally in Visual Studio (or maybe I have ? I will also appreciate suggestions how to do it).

Thank you in advance.

It is not possible to override the port. If you do not care about a particular port, leave it blank or set to 0. We are working on allowing to override the port.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM