[英]Delete old Applications Physical folders from Service Fabric on-Premise
I am trying to delete old packages from Service Fabric On premise Via Powershell.我正在尝试通过 Powershell 从 Service Fabric On Premise 中删除旧包。 I tried to un-register but it doesn't delete the folders from nodes and I am unable to find the ImageStore Package Path (if exist) to run Remove-ServiceFabricApplicationPackage... Any idea?我试图取消注册,但它没有从节点中删除文件夹,我无法找到 ImageStore 包路径(如果存在)来运行 Remove-ServiceFabricApplicationPackage ... 知道吗?
By default, the imagestore service holds the packages as its State.默认情况下, imagestore服务将包保存为它的状态。
Delete applications by using使用删除应用程序
Remove-ServiceFabricApplicationPackage -ApplicationPackagePathInImageStore MyApplicationV1 -ImageStoreConnectionString (Get-ImageStoreConnectionStringFromClusterManifest (Get-ServiceFabricClusterManifest))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.