lens icon indicating copy to clipboard operation
lens copied to clipboard

Prometheus Block Storage Minimum Size (on vultr.com)

Open darkpixel opened this issue 3 years ago • 5 comments

I think this is similar to #3587. When deploying the bundled Prometheus stack on vultr.com, it fails to create the volume with an error:

failed to provision volume with StorageClass "vultr-block-storage-hdd": rpc error: code = Internal desc = {"error":"Unable to add block storage: Failed to add block storage device. Invalid size (20GB) - Must be between 40GB and 40000GB.","status":400}

Vultr doesn't allow volumes smaller than 40 GB. Maybe the volume size could be customizable before deployment?

I can't directly edit the PVC to adjust it to 40 GB: PersistentVolumeClaim "data-prometheus-0" is invalid: spec: Forbidden: spec is immutable after creation except resources.requests for bound claims

darkpixel avatar May 16 '22 15:05 darkpixel

Can you deploy a helm Prometheus stack instead? This won't be a very high priority for us.

Nokel81 avatar May 24 '22 13:05 Nokel81

Understood. I just figured I would bring it to your attention. Thanks!

darkpixel avatar May 24 '22 13:05 darkpixel

Yes thank you. Though having such a large minimum size is very strange.

Nokel81 avatar May 24 '22 13:05 Nokel81

Same here, plz help, I don't need the helm Prometheus stack, how to deploy minimal required lens-metrics?

lopnu avatar Jun 20 '25 07:06 lopnu

I found a simple solution:

  1. I copied data-prometheus-0 claim yaml
  2. Removed the claim with 20GB
  3. Applied the yaml from step 1 with changed size to 40GB
  4. Turned on Prometheus in Lens config

lopnu avatar Jun 20 '25 13:06 lopnu