okteto / docs

Apache License 2.0
5 stars 15 forks source link

Document DigitalOcean volume limitation #239

Open ifbyol opened 1 year ago

ifbyol commented 1 year ago

Currently, there is a limitation with Digital Ocean and out autoscaler regarding the volumes configuration https://www.okteto.com/docs/self-hosted/administration/configuration/#autoscaler.

The problem is that we cannot get properly the maximum number of volumes allowed per node. This is an important value used by the autoscaler to know when it has to scale up and scale down. Also, it is important because Digital Ocean has a limitation of only 7 attached volumes per node https://docs.digitalocean.com/products/volumes/details/limits/ and this is a low number.

We can document in the Digital Ocean installation guide and in the autoscaler setting this specific case and recommend to set the following configuration:

  volumes.up: 6
  volumes.down: 5
rberrelleza commented 1 year ago

@ifbyol what does that setting means in 'human language'? that we will scale down when there are less than 5 volumes?

ifbyol commented 1 year ago

@rberrelleza oh, sorry for not giving context. It is a bit tricky. That setting is a percentage, it means that it has to scale up when the percentage of volumes is 6 and scale down when the percentage of volumes is less than 5.

In the specific case of DO, as we cannot get the maximum number of volumes, our default is always 100, so this is causing that it has to scale up when volumes mounted are 6 and scale down when they are 5 (or less).

So yes, in ' human language` it means that it will scale down when there are less than 5 volumes and scale up when there are 6 volumes, but for the specific case of DigitalOcean given the particularities mentioned above