Skip to content

[RFC] Enhance Stack Handling #1220

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

FloThinksPi
Copy link
Member

@FloThinksPi FloThinksPi commented Jun 25, 2025

Click Here for a better reviewable/readable version.

@FloThinksPi FloThinksPi changed the title RFC-0040 Enhance Stack Handling [RFC] Enhance Stack Handling Jun 25, 2025
@beyhan beyhan added the rfc CFF community RFC label Jun 25, 2025
@beyhan beyhan requested review from a team, rkoster, beyhan, stephanme, ameowlia and ChrisMcGowan and removed request for a team June 25, 2025 13:12
@rkoster
Copy link
Contributor

rkoster commented Jun 25, 2025

Hi @FloThinksPi,

Thank you for drafting RFC-0040! It provides a comprehensive overview of enhancements to stack handling in Cloud Foundry, and I appreciate the effort you’ve put into addressing these critical issues.

However, I feel the RFC could benefit from being split into individual, logically scoped RFCs to improve focus and facilitate discussion. For example:

  1. Improved Logical Stack Management: Covering changes to CF API for stack states like deprecated, locked, disabled, and their timestamps.

  2. Bring Your Own Stack: Discussing the introduction of user-managed stacks via container image references and the related CF API changes.

  3. Stack Release Cycle Alignment: Addressing the proposal to build stacks for every Ubuntu LTS release.

  4. Org-Scoped Stack Management: Introducing organization-specific stack visibility and control.

Each topic is significant and detailed enough to warrant its own RFC. Splitting them would allow contributors to dive deeper into specific areas, streamline discussions, and prioritize implementation efforts more effectively.

On a higher level I'm also worried about handing responsibility for stacks in the hands of app developers. One of the great features of CF is that platform operators can fix CVEs in for example OpenSSL with a single bosh deploy.

I understand the desire to fix this, but maybe a compromise could be found in making stack management an admin only feature (using the cf cli). Ideally using a blobstore first approach so it works in airgapped environments.

Last but not least I'm wondering about the roll out mechanisms for handeling custom stack updates, given these changes are not orchestrated through bosh, how do we ensure we don't over we Diego? There needs to be some sort of global max_in_flight setting to control the total number of apps that are being restarted at the same time.

@Gerg Gerg self-requested a review June 25, 2025 21:26
@rkoster rkoster moved this from Inbox to In Progress in CF Community Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rfc CFF community RFC
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants