Slicc
Slicc

Reputation: 3435

Run out of storage on Service Fabric scale set

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)

Upvotes: 0

Views: 764

Answers (1)

Diego Mendes
Diego Mendes

Reputation: 11341

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.

Upvotes: 2

Related Questions