-
Notifications
You must be signed in to change notification settings - Fork 395
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
Support other flavour of CRI #1442
base: main
Are you sure you want to change the base?
Conversation
This first commit implements the following components: - Ansible playbook to configure CRI-O - Define packer build context for QEMU and Ubuntu 2204 This implementations is limited, more OS and infrastructure provider will be probably supported in the following commits. The default CRI flavour is containerd and therefore a new packer common variable has been introduced for providing a default value. Signed-off-by: Nicolò Ciraci <[email protected]>
This commit also include documentation tweaks, the packer variables for a qemu build using crio and generalize the cri socket
Gvisor support is implemented by this commit but it is actually broken, you can refer to google/gvisor#3283 to see the progress. This commit just implements the heavy lifting needed in the future.
Signed-off-by: Nicolò Ciraci <[email protected]>
Hi @CiraciNicolo. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
/retest |
Hi! Am I misunderstanding, or are there problems in the pipeline?
|
/retest I think that's a flake. We'll see. |
Regarding this PR, we were discussing the feasibility of deprecating some variables. Before merging, can we continue with that? It would be pretty nice to unify the variables. |
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Adding label 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. |
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
Signed-off-by: Nicolò Ciraci <[email protected]>
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
PR needs rebase. 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. |
@CiraciNicolo: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Change description
This PR implements support for different CRI implementations, instead of the default containerd. At this moment the only other CRI implementation supported is CRI-O. By default containerd is still the default CRI, to start using CRI-O references the packer configuration called "qemu-ubuntu-2204-crio.json".
Currently the only operating systems supported are debian based and centos based. It should also work on rhel but not tested.
The implementation can be done following this steps:
Both ansible role and default values should be called as your flavour, in this way you can set the
cri_flavour
build variable and all tasks/var should be included.Be also careful to correctly default the variables in
images/capi/packer/config/ansible-args.json
and implement the goss specs.Related issues
No issues are addressed by this PR
This PR also includes the following fixes:
Additional context
This PR is a de facto continuation of #1437, but all my commits have been cherry picked to a dedicated branch.