Giter Club home page Giter Club logo

Comments (6)

scotty-c avatar scotty-c commented on August 14, 2024 1

@nickperry I have just tested the module on 1.9.4 with Weave and was able to install consul and hit the service. Can you open a separate issue? I am keen to see whats happening there. I don't want it to take over this issue.

Thanks in advance

from puppetlabs-kubernetes.

scotty-c avatar scotty-c commented on August 14, 2024

@mrwulf The userspace mode is set for backwards compatibility to 1.6 and we didnt want to support iptables. Here is a good explanation of the two options https://stackoverflow.com/questions/36088224/what-does-userspace-mode-means-in-kube-proxys-proxy-mode I am working on adding Calico support now. This will also fix the issue of the kube proxy versioning not available as a param

from puppetlabs-kubernetes.

nickperry avatar nickperry commented on August 14, 2024

I can't get any traffic to reach a destination pod via kube-proxy services in my puppetlabs-kubernetes module built 1.9.3 cluster (weave pod networking). However, I have no such problems on my kubeadm built clusters (also 1.9.3 with weave pod networking). They're using iptables mode and kube-proxy 1.9.3.

from puppetlabs-kubernetes.

mrwulf avatar mrwulf commented on August 14, 2024

I've added a PR that removes the explicit parameter, but allows you to specify the kube-proxy version. I did some testing (albeit only with newer versions of k8s) and couldn't notice/measure and difference between userspace or iptables modes. Nearly everyone uses iptables mode these days though, so default == better.

from puppetlabs-kubernetes.

scotty-c avatar scotty-c commented on August 14, 2024

@mrwulf As mentioned above we need to be able to support older versions of K8 as well. I am working internally on what that model looks like and how it affects the code base. I don't want if version throughout the code. It will just not scale.

from puppetlabs-kubernetes.

mrwulf avatar mrwulf commented on August 14, 2024

PR #82 is in now and allows a custom kube-proxy version. proxy-mode=userspace was removed so the proxy mode will be whatever the default is for that version. Pick a version with the default proxy-mode of iptables (or eventually ipvs) if you want something else.

from puppetlabs-kubernetes.

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.