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

[WIP] volume: Volume Size Override Proposal (PROJQUAY-1090) #10

Merged
merged 1 commit into from
Jan 17, 2022

Conversation

jonathankingfc
Copy link
Contributor

  • Volume Size Override Proposal

@jonathankingfc jonathankingfc changed the title volume: Volume Size Override Proposal (PROJQUAY-1090) [WIP] volume: Volume Size Override Proposal (PROJQUAY-1090) Nov 1, 2021
Copy link

@ricardomaraschini ricardomaraschini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonathankingfc I think that we gonna need more details into this Enhancement Proposal before we move on. It would be vital to have here a proposal for the actual implementation (it does not need to be the right implementation, but one that should work and that we can start working on). You gonna need to answer here questions as:

  1. How will the CRD spec look like ?
  2. How will the CRD status look like (when users enter override values and when they don't) ?
  3. What is the expected behavior for the operator when an user asks for shrinking and existing storage ?
  4. Can we shrink? What should we be worried about?
  5. Are we going to need more Conditions (component conditions) to support this feature ?

This is where to call out areas of the design that require closure before deciding
to implement the design. For instance,

> 1. Where should the configuration options be presented to the end user? In the CR? Or should they be applying a patch?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that to answer this question is one of the goals of this enhancement proposal.

### Goals

- Creating a zero-config `QuayRegistry` on OpenShift will be use default PVC sizes for the ObjectStorage, Clair, and Postgres components
- Creating a `QuayRegistry` with volumeSizeOverride fields under the ObjectStorage, Clair, or Postgres managed components will override the default size

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How the CR would look like under this situation? Can you write down an example here?

@ricardomaraschini ricardomaraschini merged commit d43b216 into main Jan 17, 2022
@ricardomaraschini ricardomaraschini deleted the volume_overrides branch January 17, 2022 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants