GithubHelp home page GithubHelp logo

Comments (13)

rdegez avatar rdegez commented on June 18, 2024 2

Damn :-)
We will look at this and maybe try to find a work-around since we don't want to exclude eBPF users from using kuik!

from kube-image-keeper.

szinn avatar szinn commented on June 18, 2024 1

I had the same issue running on cilium / talos. I was able to get it to work by deleting the hostIP from the daemonset. That means that port 7439 is a little more visible since the proxy is listening on all devices, but it is able to resolve the localhost:7439/image...

Perhaps the hostIP can be parameterized in the helm chart, defaulting to localhost but can be set to the empty string and left off?

from kube-image-keeper.

donch avatar donch commented on June 18, 2024

Hi,

It seems you are unable to pull images on localhost:7439.
As mentionned in the README, you need to enable HostPort feature in your CNI configuration. Hostport are disabled according to your Calico configuration : https://github.com/onedr0p/home-ops/blob/main/kubernetes/apps/tigera-operator/tigera-operator/app/helmrelease.yaml#L38

I hope it will solve your issue.

from kube-image-keeper.

onedr0p avatar onedr0p commented on June 18, 2024

Ah, darn. I'm using eBPF with Calico and they explicitly tell you to disable host ports since it's not supported.

https://projectcalico.docs.tigera.io/maintenance/ebpf/enabling-ebpf

you must also clear the hostPorts setting because host ports are not supported in BPF mode:

from kube-image-keeper.

donch avatar donch commented on June 18, 2024

May the docs be outdated ? According to this issue projectcalico/calico#6766, it should works ?

from kube-image-keeper.

onedr0p avatar onedr0p commented on June 18, 2024

Doesn't appear to be possible :(

    - lastTransitionTime: "2023-02-07T13:49:12Z"
      message: 'Invalid Installation provided: spec.calicoNetwork.hostPorts is not
        supported with the eBPF dataplane'

from kube-image-keeper.

onedr0p avatar onedr0p commented on June 18, 2024

If I ever decide to drop ebpf in my homelab I'll be sure to check out this project again.

from kube-image-keeper.

rdegez avatar rdegez commented on June 18, 2024

What calico version are you using ?
projectcalico/calico#6522 suggest that it should indeed be ok now ? (starting from 3.24.2)

from kube-image-keeper.

onedr0p avatar onedr0p commented on June 18, 2024

I read that too, I am on 3.25.

from kube-image-keeper.

onedr0p avatar onedr0p commented on June 18, 2024

You can close this issue, or keep it open if you think there's a way around those using eBPF. I am not sure if other CNIs have this issue with eBPF e.g. Cilium

from kube-image-keeper.

donch avatar donch commented on June 18, 2024

Hi @onedr0p, i didn't catch if Cilium has this kind of limitation.
Anyway, i've updated the Chart to deploy the daemonSet with hostNetwork: true instead of using hostPort.
Would you mind test it on your setup please ? https://github.com/enix/kube-image-keeper/tree/test-proxy-hostnet

Thanks !

from kube-image-keeper.

Related Issues (6)

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.