Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document DigitalOcean volume limitation #239

Open
ifbyol opened this issue Oct 26, 2022 · 2 comments
Open

Document DigitalOcean volume limitation #239

ifbyol opened this issue Oct 26, 2022 · 2 comments

Comments

@ifbyol
Copy link
Member

ifbyol commented Oct 26, 2022

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
Copy link
Member

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

@ifbyol
Copy link
Member Author

ifbyol commented Nov 10, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants