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

"advanced" partitioning layouts #257

Closed
MaxRink opened this issue Jun 18, 2020 · 8 comments
Closed

"advanced" partitioning layouts #257

MaxRink opened this issue Jun 18, 2020 · 8 comments
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@MaxRink
Copy link
Contributor

MaxRink commented Jun 18, 2020

Currently CAPI-Images build from ISOs use a very simplistic partition layout which makes them more prone for certain failures, like an overfull /var and /var/log.
We mitigated that by adding /var and /var/log partitions, but this currently breaks the cleanup-steps in sysprep as /var/log cant be deleted at this point.
We've also build autoexpansion of the OS to the disksize specified in vmware/OpenStack.
Would there be a general Interest to include such things in Image-builder, because if so i would invest time to refactor them a bit.

@detiber
Copy link
Member

detiber commented Jun 18, 2020

@MaxRink my initial thoughts are that yes, we should likely support more advanced partitioning layouts, especially as we are looking to support things like using a separate volume for etcd, and trying to take advantage of ephemeral disks where possible for performance reasons.

I suspect @voor, @codenrhoden, @randomvariable, @CecileRobertMichon, and possibly others might have additional thoughts.

/cc @voor @codenrhoden @randomvariable @CecileRobertMichon

@voor
Copy link
Member

voor commented Jun 18, 2020

So I think the idea here was that these new partitions would exist at creation time of the actual instance as provided by the underlying IAAS rather than at time of the base image being built by image-builder. If anything, image builder should make sure those directories are ready to be mounted over. Am I misunderstanding that approach? This is related to an issue in CAPI already:

@moshloop
Copy link
Contributor

I think this problem is cross-provider - it would be nice to have a solution (or at least interface) that is agnostic and takes an existing image and converts it into a specific layout

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 21, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 21, 2020
@voor
Copy link
Member

voor commented Oct 21, 2020

Just want to chime in on this issue if anybody finds it, with the new support for overriding where images are coming from, I highly encourage an approach that partitions the image prior to running it through image builder. The requirements around partitions are vastly complex.

@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

6 participants