alkem-io / infrastructure

Creates deployments, managing infrastructure scripts, devops, monitoring, ...
European Union Public License 1.2
4 stars 0 forks source link

Vertical scaling for DB container #52

Closed techsmyth closed 3 years ago

techsmyth commented 3 years ago

Description

As a CT user I want a performant db server

Acceptance criteria

Additional Context

GhostOnTheFiber commented 3 years ago

It is possible to vertically scale the nodes where kubes is running the pods. This will then allow for the db container to utilize more resources. It is not possible to just scale say the db container as it already will vertically scale to its needs until it reaches the node constraint. We can horizontally scale the db service to run on multiple nodes.

I do have to point out that we are not pushing any container very heavily at the moment. For a more advanced deployment I would suggest auto scaling groups in both kubes and azure. So that containers and nodes scale to meet demand.

I can create a write up on how to set auto-scaling up.