Giter Club home page Giter Club logo

Comments (3)

poidag-zz avatar poidag-zz commented on July 20, 2024

for now should we leave this as a ConfigMap with a reference to the namespace/service that we are load balancing, perhaps if we require more structured data and authorization around these resources we could transition to a CRD produced by plndr that kube-vip consumes, that way we could update status field and have custom printed fields when performing GETs of CRD resources etc also.

If we were to use the data in an existing cm for example

data:
  plndr-services: '{"services":[{"vip":"10.176.37.249","port":80,"type":"TCP","uid":"e14c9d7a-00a4-4b09-a3ee-338c85143477","serviceName":"nginx-loadbalancer"},{"vip":"10.176.37.250","port":80,"type":"TCP","uid":"6ece0038-fd89-4ab5-a81a-ab9f4bd87a35","serviceName":"kuard"}]}'

I feel we would still need vip, port (as a service could have multiple and we may not want to LB all of them), and type (as we may want to be explicit)

cc @thebsdbox

from kube-vip.

thebsdbox avatar thebsdbox commented on July 20, 2024

OK, tbh I had a plan when I wrote this to do something better and it's been that long (and so much has happened) that I can't remember what I was planning on doing.

from kube-vip.

thebsdbox avatar thebsdbox commented on July 20, 2024

We no longer use the ConfigMap as we make user of the Kubernetes API directly.

from kube-vip.

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.