Run out of storage on Service Fabric scale set

泄露秘密 提交于 2019-12-08 10:28:47

问题


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) 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)


回答1:


Regarding your first question,

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

  • 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

Regarding the second Question:

  • Yes you can change the disk size via ARM template update,

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



来源:https://stackoverflow.com/questions/52839459/run-out-of-storage-on-service-fabric-scale-set

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