-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Fix image defaults on Darwin to usable configuration #12533
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
Conversation
Use the Linux default rather than the block size from the local macOS system. The local macOS block size is not relevant as the erofs file will not be mounted directly on macOS. Signed-off-by: Derek McGowan <derek@mcg.dev>
f1dc303 to
8ce044f
Compare
fuweid
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Non-Linux hosts are not expected to be able to directly mount erofs snapshotters on the host system. Non-Linux hosts should use block mode by default with a reasonably set default block size. Signed-off-by: Derek McGowan <derek@mcg.dev>
Use the erofs differ by default on darwin. This could be default for all Unix platforms but limit the default changes to fix broken cases for backports. Signed-off-by: Derek McGowan <derek@mcg.dev>
Fix the default unpack configuration on darwin to a usable configuration. Signed-off-by: Derek McGowan <derek@mcg.dev>
Match the defaults set by the transfer service which will configure linux by default on darwin hosts. Signed-off-by: Derek McGowan <derek@mcg.dev>
8ce044f to
c2b22d6
Compare
|
/cherry-pick release/2.2 |
|
@dmcgowan: new pull request created: #12544 DetailsIn response to this:
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-sigs/prow repository. |
Updates the defaults for the pull process to match the snapshotter/differ defaults on darwin.
Some of these defaults, such as trying erofs for differ service, could be safely applied to Linux as well. This change is scoped to fixing broken defaults rather than changing existing or otherwise working defaults. We should consider making those default changes for the next release though.