Git Product home page Git Product logo

Comments (9)

liyanyanli avatar liyanyanli commented on July 18, 2024 1

Ok, I see. thank you very much!

from frakti.

liyanyanli avatar liyanyanli commented on July 18, 2024

I will do it.

from frakti.

resouer avatar resouer commented on July 18, 2024

Please attention to CRI change: #279

from frakti.

resouer avatar resouer commented on July 18, 2024

@liyanyanli If you will do this. You can start now, please update the vendor to v1.10.0-rc.1

And later, when 1.10.0 stable is out, update vendor again to latest stable.

from frakti.

liyanyanli avatar liyanyanli commented on July 18, 2024

@resouer Should we implement dockershim inside frakti and not rely on dockeshim of Kubernetes?

Kubernetes PR: dockershim: remove the use of kubelet's internal API

from frakti.

resouer avatar resouer commented on July 18, 2024

@liyanyanli dockershim is a workaround, we can keep it for now. In next or next next release, we will not use dockershim and cooperate with containerd instead. You can help with that part if you are interested.

See: https://github.com/cncf/soc#katacontainers-support-for-containerdcri-containerd

from frakti.

resouer avatar resouer commented on July 18, 2024

@liyanyanli 1.10.0 is out now. Please update the vendor to this stable release if possible.

If you have already finish the work, please just send out and we can update it to 1.10.0 stable later.

from frakti.

liyanyanli avatar liyanyanli commented on July 18, 2024

Hi, @resouer

I have updated the vendor to 1.10.0. However, the changes made by dockershim make frakti have the following problems when compiling codes and I am trying to solve it.

example:

./frakti.go:113:41: cannot use privilegedRuntime (type *docker.PrivilegedRuntime) as type "k8s.io/frakti/pkg/runtime".RuntimeService in argument to manager.NewFraktiManager:
        *docker.PrivilegedRuntime does not implement "k8s.io/frakti/pkg/runtime".RuntimeService (wrong type for Attach method)
                have Attach(context.Context, *v1alpha2.AttachRequest) (*v1alpha2.AttachResponse, error)
                want Attach(*v1alpha2.AttachRequest) (*v1alpha2.AttachResponse, error)

I have two solutions:

  1. Implement dockershim inside frakti

  2. Frakti starts dockershim grpc server inside, then connects dockershim's grpc interface

What do you think? Thanks very much!

from frakti.

resouer avatar resouer commented on July 18, 2024

@liyanyanli Please choose 2.

Just make frakti work like a CRI proxy. Thank you very much!

from frakti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.