Giter VIP home page Giter VIP logo

fleet-kubevip's Introduction

Kube-VIP with DHCP LoadBalancers

apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
  name: dgiebert-fleet-kubevip
  namespace: fleet-default
spec:
  branch: main
  repo: https://github.com/dgiebert/fleet-kubevip.git

Requirements

  • Disable the servicelb for k3s
  • Uses the default network interface (autodetected)
  • Tested with Harvester VMs only (but should work on all nodes)

How it works

In order to do this, we need to signify to kube-vip and the cloud provider that we don't need one of their managed addresses. We do this by explicitly exposing a Service on the address 0.0.0.0. When kube-vip sees a Service on this address, it will create a macvlan interface on the host and request a DHCP address. Once this address is provided, it will assign it as the LoadBalancer IP and update the Kubernetes Service.

-- Kubevip Docs

  1. Set the global-cidr in the kubevip configmap to be 0.0.0.0/32 this will assign all LBs the IP 0.0.0.0 done by the kube-vip-cloud-provider
  2. The kube-vip pod will look for services that are configured this and request a DHCP address

Links

fleet-kubevip's People

Contributors

dgiebert avatar renovate[bot] avatar

Watchers

 avatar

fleet-kubevip's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

fleet
kube-vip-cloud-provider/fleet.yaml
  • kube-vip-cloud-provider 0.2.2
kube-vip/fleet.yaml
  • kube-vip 0.5.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.