Is it possible to update the Service Fabric Cluster Manifest?

烂漫一生 提交于 2019-12-08 14:59:21

问题


I found the following API

await fabricClient.ClusterManager.ProvisionFabricAsync(null, "testMani.xml");

but have not figured out where to store the new manifest.xml file?

using it as listed here it will throw exception that the file testMani.xml do not exist in the store.

How can one after deployment manipulate the cluster manifest.


回答1:


The cluster manifest and APIs that reference it are artifacts of Service Fabric's internal usage at Microsoft. Manipulating the manifest is not recommended nor supported.

For Azure deployments, you should make all changes to your cluster through an ARM template. For local development, the cluster configuration is currently fixed but we will eventually support additional flexibility there as well so that you can make your onebox look more like your real environment, especially for concepts like placement constraints. In that case, the cluster definition will likely take the same form as we'll use for on-premise deployments.



来源:https://stackoverflow.com/questions/35830791/is-it-possible-to-update-the-service-fabric-cluster-manifest

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!