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

merge snapshotter override logic #2989

Merged
merged 4 commits into from
Nov 2, 2022

Conversation

BenTheElder
Copy link
Member

I think this should fix #2987

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 31, 2022
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 31, 2022
@BenTheElder
Copy link
Member Author

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 31, 2022
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 2, 2022
@aojea
Copy link
Contributor

aojea commented Nov 2, 2022

/assign @AkihiroSuda

he is the expert here

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 2, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: AkihiroSuda, BenTheElder

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@aojea
Copy link
Contributor

aojea commented Nov 2, 2022

should we unhold #2987 (comment)?

@BenTheElder
Copy link
Member Author

Yes. We just deduped the logic a bit to improve prioritizing selecting the right backend.

On containerized ZFS native is the safe fallback, native actually works anywhere but is not as performant.

If kind is running on fuseblk we can pretty safely assume fuse overlafys

Otherwise we check userns and overlayvs vs fuse overlayfs

otherwise overlayfs is the preferred default.

we:

  • dropped trying to use fuse overlayfs on ZFS per the bug
  • check for this case before checking the userns case, because native will also work fine there

@BenTheElder
Copy link
Member Author

/hold cancel
/override pull-kind-e2e-kubernetes
(unrelated failure, known issue with an actual Kubernetes regression affecting more than kind being reverted upstream)

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 2, 2022
@k8s-ci-robot
Copy link
Contributor

@BenTheElder: Overrode contexts on behalf of BenTheElder: pull-kind-e2e-kubernetes

In response to this:

/hold cancel
/override pull-kind-e2e-kubernetes
(unrelated failure, known issue with an actual Kubernetes regression affecting more than kind being reverted upstream)

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.

@k8s-ci-robot k8s-ci-robot merged commit c531062 into kubernetes-sigs:main Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[zfs] kind create cluster crashes
4 participants