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

Installs upstream nydus-snapshotter #359

Open
wainersm opened this issue Apr 8, 2024 · 10 comments
Open

Installs upstream nydus-snapshotter #359

wainersm opened this issue Apr 8, 2024 · 10 comments
Labels
operator install Issue related with installation of the operator

Comments

@wainersm
Copy link
Member

wainersm commented Apr 8, 2024

The operator installs nydus-snapshotter built in-house since release 0.8.0. However, recently the nydus-snapshotter project has implemented its own set of daemonSets and built binaries to deploy it on Kubernetes.

The Kata CI already uses nydus-snapshotter's provided daemonsets/images.

Likewise, the CoCo operator could be using the upstream nydus-snapshotter daemonsets and images, so to avoid duplication and maintenance burden.

Proposed by @fidencio in https://cloud-native.slack.com/archives/C066XLCU95Z/p1712331709471629

Cc @bpradipt @fitzthum @zvonkok

@wainersm wainersm added the operator install Issue related with installation of the operator label Apr 8, 2024
@wainersm
Copy link
Member Author

wainersm commented Apr 8, 2024

@fidencio @fitzthum for 0.9.0? If yes then let's put in the board.

@fitzthum
Copy link
Member

fitzthum commented Apr 8, 2024

I am on the fence about this one for v0.9.0. We do still need to support forked containerd for enclave-cc and (different fork) for GPU.

@wainersm
Copy link
Member Author

Hi @bpradipt @fitzthum @zvonkok @fidencio !

Now that 0.9.0-alpha0 is released, could we resume that discussion here?

When CoCo (0.8.0 release) became dependent on nydus-snapshotter we didn't have a better way to deploy that component in Kubernetes, so @fidencio implement the support in this operator. Now that nydus-snapshotter project provides the daemonsets and configurations itself; why would us continue to install it via CoCo operator?

@ldoktor
Copy link
Contributor

ldoktor commented May 15, 2024

Do you mean only to switch to containerd/nydus-snapshotter repo or to completely change the deployment? If the repo only then that should have been covered by #364

@fitzthum
Copy link
Member

Whoops, I made a duplicate of this issue #369

@wainersm
Copy link
Member Author

Whoops, I made a duplicate of this issue #369

Note actually a duplicate per se. I guess we still need the pre-reqs regardless if we drop nydus or not.

@wainersm
Copy link
Member Author

Do you mean only to switch to containerd/nydus-snapshotter repo or to completely change the deployment? If the repo only then that should have been covered by #364

I meant remove the deployment completely from this operator. And assume that users will install nydus-snapshotter by their own as a requirement.

@fitzthum
Copy link
Member

Note actually a duplicate per se. I guess we still need the pre-reqs regardless if we drop nydus or not.

Yeah I guess there are a few options. We could keep the containerd stuff for certain cases, for instances, but do nydus separately. Ideally we can get rid of the pre-reqs thing at some point tho.

@wainersm
Copy link
Member Author

Cc @mkulke @stevenhorsman

@mkulke
Copy link

mkulke commented May 16, 2024

I tested the nydus ds a bit, they work well, but the process is a bit manual. how do we intend to consume/proces the upstream nydus manifests?

as part of some higher-level invocation (e.g in a makefile sitting next to the coco operator installation)?

managing a nydus ds with the operator? (peerpods is doing something like this in peerpodconfig-ctrl, could lead to overhead if the nydus installation needs tweaking in some cases)

@wainersm wainersm moved this to 🆕 New in CoCo Releases Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operator install Issue related with installation of the operator
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants