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

Increase disk size for BOSH postgres database (AWS/RDS) #65

Open
struijenID opened this issue May 27, 2020 · 1 comment
Open

Increase disk size for BOSH postgres database (AWS/RDS) #65

struijenID opened this issue May 27, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@struijenID
Copy link

struijenID commented May 27, 2020

Hi,

Recently, I ran into some trouble with the bosh postgres database: it ran out of diskspace. The AWS console showed that the RDS instance's disk's capacity was limited to 10GB (db.t2.small instance type). I manually changed it's config to allow it to use up to 50GB (dynamically provisioned).

It appears that a bosh database that is larger than 10GB is no exception. In fact, over on the bosh Slack channel, I was informed that cloudfoundry has a 1TB disk in use for their database as task logs may grow long and large in numbers.

Using the following bosh parameter, I would be able to change the disk size of the DB: https://github.com/cloudfoundry/bosh-deployment/blob/master/bosh.yml#L11

I found it is possible to select the instance type of the database in the readme https://github.com/EngineerBetter/control-tower/blob/master/docs/deploy.md by passing the parameter --db-size value. However disk space does not seem like a configurable attribute.

Does control-tower support configuring the maximum disk size of the database?

Kind regards,
Stefaan

@crsimmons
Copy link
Contributor

Modifying the size of the director's database is not something we have implemented in Control Tower. In theory it wouldn't be too difficult to add a flag and pass it through to the manifest like we're doing for other things. Currently everyone at EngineerBetter is working with customers so we have limited bandwidth to add new features. If you want to take a stab at it we're always open to PRs.

@irbekrm irbekrm added the enhancement New feature or request label Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants