Giter VIP home page Giter VIP logo

Comments (3)

ammmze avatar ammmze commented on August 22, 2024

I get the same error on my self-hosted k8s cluster running on Talos. As far as I cant tell crictl is not present on Talos and getting it installed on the host would be a bit of a hassle because there is no shell access to Talos. It's an API driven and immutable operating system. Basically the only way to get crictl on the host is gonna be to have a job that mounts a host path directory, downloads and extracts crictl. But also this would need to happen prior to the agent starting up, otherwise when the agent attempts to mount it (for example I set the path to /var/lib/akri/bin/crictl) it ends up creating that full path as a directory on the host. So this effectively creates a race condition for either producing a file or a directory at /var/lib/akri/bin/crictl.

I'm not really familiar with crictl. Does it NEED to live on the host? Perhaps we could have an option in the helm chart that would add an init container that downloads and extracts it to an emptyDir mount that could be mounted by the agent?

from akri.

bfjelds avatar bfjelds commented on August 22, 2024

interesting. crictl is used by Akri to query the existing containers (it is needed because the Kubernetes Device-Plugin system doesn't notify when a scheduled pod/container dies/crashes/finishes).

i'm not sure it needs to be on the host ... it probably just needs access to Kubernetes' container socket. maybe it can be installed in the agent container?

from akri.

github-actions avatar github-actions commented on August 22, 2024

Issue has been automatically marked as stale due to inactivity for 90 days. Update the issue to remove label, otherwise it will be automatically closed.

from akri.

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.