Comments (3)
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.
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.
We no longer use the ConfigMap as we make user of the Kubernetes API directly.
from kube-vip.
Related Issues (20)
- Better support for offline deployment HOT 1
- The enable service security feature is not working in some environment due to the iptables-legacy executable not being found HOT 3
- Kube-vip depends on `nodename == hostname` for service election, which easily breaks HOT 2
- kube-vip didn't add VIP to the network interface HOT 3
- Node preferences/priorities for loadbalancer services
- Cannot start in just services mode in Equinix Metal HOT 4
- Allow vip_interface to be set on a per-node basis using node labels or annotations HOT 6
- kube-vip deletes route if second service with same IP has no backends HOT 5
- Cleanup on VIP/Iptables/IPVS on kube-vip deletion (SIGTERM or SIGINT) fails HOT 1
- Defaults the control plane LB mode to use masquerade forwarding method
- panic: open /var/run/secrets/kubernetes.io/serviceaccount/token: no such file or directory when starting static pod HOT 1
- Support table mode for CP mode HOT 1
- The load balancer IP addresses are not being release after the LB-type Services are deleted HOT 1
- kube-vip announcing k3s nodeips as vips HOT 1
- Allow disable upnp for one service
- Egress + service without selector HOT 1
- Kube-VIP does not recover after network outages
- Report the use of components with vulnerabilities in kube-vip
- DHCP for control plane VIP fails: got an error while the discovery request: no matching response packet received
- [Question / Bug] kube-vip keeps assigning used IP to LoadBalancer HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kube-vip.