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

Diego api to automatically add diego cell or Create BOSH VM on which containers can be deployed on . #605

Closed
viju2008 opened this issue Nov 21, 2021 · 1 comment

Comments

@viju2008
Copy link

viju2008 commented Nov 21, 2021

Detailed Description
Diego API api to add diego cell or Create BOSH VM on which containers can be deployed on .

Currently a new diego cell has to be provisioned manually on Vsphere environment

Context
. We wish to automate it using scripts so that based on load a new diego cell can be provisioned automatically on cloud environments like Azure/AWS etc.

This will help users to not only scale containers but also the underlying VMs on which containers are deployed on

Possible Implementation
Bosh could provide apis to provision new diego Cells

Complexity
Medium

@viju2008 viju2008 changed the title Diego API api to add diego cell or Create BOSH VM on which containers can be deployed on . Diego API api to automatically add diego cell or Create BOSH VM on which containers can be deployed on . Nov 21, 2021
@viju2008 viju2008 changed the title Diego API api to automatically add diego cell or Create BOSH VM on which containers can be deployed on . Diego api to automatically add diego cell or Create BOSH VM on which containers can be deployed on . Nov 21, 2021
@ameowlia ameowlia moved this from Inbox to Reviewer Assigned in DEPRECATED App Platform - Diego Nov 30, 2021
@geofffranks
Copy link
Contributor

geofffranks commented Nov 30, 2021

Hey @viju2008!

VM management and scaling isn't really in the scope of diego's responsibilities. I don't believe BOSH provides any APIs for triggering scale out of instance groups at this time either, so I'd suggest adding a feature request to bosh itself for the live instance-group scale-up/down API.

After that, you could potentially write something that watches scaling KPI metrics for cells on the firehose, and trigger the BOSH scaling API with any custom logic you have for ensuring the events don't happen in an inopportune time, or scale out of control. There's a lot of potential for unexpected issues when doing this though, so I'd proceed with a lot of caution.

Going to close this out, since I don't think it's something we'd ever provide via diego specifically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants