是否可以更新Service Fabric群集清单? [英] Is it possible to update the Service Fabric Cluster Manifest?

查看:70
本文介绍了是否可以更新Service Fabric群集清单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找到了以下API

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

但是还没有弄清楚在哪里存储新manifest.xml文件?

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

使用此处列出的内容会引发异常,导致商店中不存在文件testMani.xml.

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.

推荐答案

群集清单和引用该清单的API是Microsoft Service Fabric内部使用的工件.不建议也不支持操作清单.

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.

对于Azure部署,您应该通过ARM模板对群集进行所有更改.对于本地开发,集群配置当前是固定的,但是我们最终还将在那里支持附加的灵活性,这样您就可以使您的单一框看起来更像您的实际环境,尤其是对于放置约束之类的概念.在这种情况下,群集定义可能采用与

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.

这篇关于是否可以更新Service Fabric群集清单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆