Poul K. Sørensen
Poul K. Sørensen

Reputation: 17530

Is it possible to update the Service Fabric Cluster Manifest?

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.

Upvotes: 13

Views: 5958

Answers (1)

Sean McKenna
Sean McKenna

Reputation: 3714

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.

Upvotes: 4

Related Questions