Service Fabric秤集上的存储空间用完 [英] Run out of storage on Service Fabric scale set

查看:75
本文介绍了Service Fabric秤集上的存储空间用完的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Azure Service Fabric scleets上的存储空间已用完,因此不能再部署任何更新.我猜这是因为SF正在跟踪所有部署并用完了空间.

I've run out of storage on my Azure Service Fabric sclesets, so can no longer deploy any updates. I'm guessing this is because SF is keeping track of all the deployments and using up space.

任何人都可以告诉我是否存在:

Can anyone tell me if there is:

1)一种告诉服务结构删除旧部署(例如早于10天之前)的方法. 2)一种增加规模集上可用存储量的方法(Service Fabric当前正在使用OS磁盘进行部署)

1) A way to tell service fabric to delete old deployments (say older than 10 days ago.) 2) A way to increase the storage available on the scalesets (Service Fabric is currently using the OS disk for deployments)

推荐答案

关于第一个问题

无法告诉SF根据天自动删除旧软件包,您可以:

There is no way to tell SF to auto-delete old packages based on days, you can either:

  • 在运行 Deploy-FabricApplication.ps1 脚本时使用标志-UnregisterUnusedApplicationVersionsAfterUpgrade = $true进行升级
  • 更新 Deploy-FabricApplication.ps1 脚本或创建计划的脚本以检查未使用的特定版本之前的软件包,如
  • Do upgrades using the flag -UnregisterUnusedApplicationVersionsAfterUpgrade = $true when running the Deploy-FabricApplication.ps1 script
  • Update the Deploy-FabricApplication.ps1 script or create a scheduled script to check for unused packages older than a specific version, something like described in this SO

关于第二个问题:

  • 是的,您可以通过ARM模板更新来更改磁盘大小,

但是问题可能还在于日志大小,请查看这个问题可能有助于在没有更大磁盘的情况下解决问题.

But the issue might also be the LOGs size, take a look in this question might help solve the problem without bigger disks.

这篇关于Service Fabric秤集上的存储空间用完的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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