-
Notifications
You must be signed in to change notification settings - Fork 92
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
Switch to use kata-containers main branch #1754
Switch to use kata-containers main branch #1754
Conversation
32f8e17
to
169400f
Compare
169400f
to
b17593d
Compare
Hi @stevenhorsman here is the commit that we need to fix the fieldMask error: Build is passing locally here when including this commit. Feel free to incorporate it in your PR. |
f6191f5
to
ea9c24b
Compare
bcf9d39
to
fad3fb7
Compare
d8a5a05
to
c7b8c6c
Compare
4dd86b7
to
c7c48d6
Compare
If anyone is interested. I've created some instructions for how to test this PR out in #1596 (comment) There are still some things to resolve though, so it's not fully ready yet:
|
f19b998
to
3ac419d
Compare
05d1072
to
4b51ae4
Compare
b532596
to
18d15d3
Compare
- Remove old PullImage and image service code as image protos not supported on kata main - Also remove the criClient code. We used to use the this to get the image based on digest, but don't have that code now that we've moved to the snapshotter approach, so remove the unused references - As we don't need the cri runtime endpoint in the code now, we can also remove the related kustomizes that set it Signed-off-by: stevenhorsman <[email protected]>
- Update the agentServer to match the kata-runtime changes in protobuf versions in kata-containers/kata-containers#8061 - Primarily swapping `types.Empty` for `emptypb.Empty` Signed-off-by: stevenhorsman <[email protected]>
- Re generate the podvminfo proto implementation with the new protobuff - The re-gened podvm info is in a package __, so we need to alias the package to podvm in our code Signed-off-by: stevenhorsman <[email protected]>
c8816d8
to
d9f219d
Compare
Remove specific nydus test now it is needed for all image pulls Signed-off-by: stevenhorsman <[email protected]>
- Update IsPulledWithNydusSnapshotter to no longer check for the old direct pull image messages as that isn't used anymore Signed-off-by: stevenhorsman <[email protected]>
- Bump kata-containers to use the 3.5.0 release of the agent to match the runtime version we are using Signed-off-by: stevenhorsman <[email protected]>
The kata-agent build (specifically libseccomp) requires the version of yq that kata-containers uses. So run the kata install_yq.sh before we build it Signed-off-by: stevenhorsman <[email protected]>
Bump kata-runtime go module to use the 3.5.0 as the latest released runtime that has remote hypervisor and guest image pull support Signed-off-by: stevenhorsman <[email protected]>
- Perform go mod tidy after bumping kata runtime Signed-off-by: stevenhorsman <[email protected]>
d9f219d
to
1037c9d
Compare
We don't think with the latest nydus-snapshotter changes, so that cri-runtime annotation is needed, so try drop the comments completely Signed-off-by: stevenhorsman <[email protected]>
1037c9d
to
02b99ec
Compare
In order to switch to `main` kata-containers payload we need to switch to use the latest operator. There isn't a released version of it yet that supports the peer pods and nydus-snapshotter changes required, so switch to the latest branch for now Signed-off-by: stevenhorsman <[email protected]>
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.
Thanks @stevenhorsman I tested this PR in my x86/s390x cluster, they worked as expected, thanks!
Here the images I built out:
quay.io/liudalibj/podvm-generic-ubuntu-s390x:bcc4c405f4aa5ac4526f508a4bdb3e8a86f4d6500d4eb56337944b1be83423a1
quay.io/liudalibj/podvm-generic-ubuntu-amd64:bcc4c405f4aa5ac4526f508a4bdb3e8a86f4d6500d4eb56337944b1be83423a1
quay.io/liudalibj/podvm-binaries-ubuntu-s390x:bcc4c405f4aa5ac4526f508a4bdb3e8a86f4d6500d4eb56337944b1be83423a1
quay.io/liudalibj/podvm-binaries-ubuntu-amd64:bcc4c405f4aa5ac4526f508a4bdb3e8a86f4d6500d4eb56337944b1be83423a1
quay.io/liudalibj/podvm-builder-ubuntu:bcc4c405f4aa5ac4526f508a4bdb3e8a86f4d6500d4eb56337944b1be83423a1
quay.io/liudalibj/cloud-api-adaptor:dev-6c395be8927835b6e5e0a59dfab891abedb4893b
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.
HI @stevenhorsman ! Re-reviewed, my eyes I couldn't spot any error. Great work, thanks once again!
No description provided.