GithubHelp home page GithubHelp logo

Comments (7)

longwuyuan avatar longwuyuan commented on May 23, 2024 1

Check K3S dos for implementing a LB

from ingress-nginx.

bbqf avatar bbqf commented on May 23, 2024 1

Thanks for the hint, I deployed the metallb and everything started to work like a charm. I'll see if this can be done with servicelb as well, but if anyone stumbles upon this - on a single host k3s running at home, you likely need Layer 2 LoadBalancer.

from ingress-nginx.

k8s-ci-robot avatar k8s-ci-robot commented on May 23, 2024

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from ingress-nginx.

longwuyuan avatar longwuyuan commented on May 23, 2024

/remove-kind bug

  • The reason is that the traffic is not even ingested to the controller to begin with
  • The service of type LoadBalancer created by the ingress-nginx installation is in pending state so regardless of what test you do, they are all invalid
  • You can implement the controller as per docs (specifically the infra provider's LB or metallb) and allow that port on host OS TCP/IP stack (in case you are using packet filters on host OS)

from ingress-nginx.

longwuyuan avatar longwuyuan commented on May 23, 2024

and also add the output of kubectl get all -o wide to the issue description

from ingress-nginx.

bbqf avatar bbqf commented on May 23, 2024
  • The reason is that the traffic is not even ingested to the controller to begin with
  • The service of type LoadBalancer created by the ingress-nginx installation is in pending state so regardless of what test you do, they are all invalid
    This is what confuses me: I've seen the pending state as well, however http(s) traffic is ingested perfectly, including routes, etc.
  • You can implement the controller as per docs (specifically the infra provider's LB or metallb) and allow that port on host OS TCP/IP stack (in case you are using packet filters on host OS)
    There's a servicelb that comes with the k3s installation (it's a single node installation on a pc running in my basement). However if it's enabled, it doesn't get created due to ports 80 and 443 being taken by ingress-nginx-controller.

I am sure I am missing some basic stuff, but that's exactly the problem - I cannot identify which one.

from ingress-nginx.

longwuyuan avatar longwuyuan commented on May 23, 2024

https://kubernetes.github.io/ingress-nginx/deploy/#rancher-desktop

from ingress-nginx.

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.