Coder Social home page Coder Social logo

Comments (7)

zhangzujian avatar zhangzujian commented on September 28, 2024

provider-networks cannot share the same nic.

from kube-ovn.

zhangzujian avatar zhangzujian commented on September 28, 2024

If you want to use different VLANs on the same nic, you can refer the provider-network in multiple vlans:

apiVersion: kubeovn.io/v1
kind: Vlan
metadata:
  name: vlan1
spec:
  id: 1
  provider: external
---
apiVersion: kubeovn.io/v1
kind: Vlan
metadata:
  name: vlan2
spec:
  id: 2
  provider: external

from kube-ovn.

Smithx10 avatar Smithx10 commented on September 28, 2024

K, I was trying to separate out a different name for use with. ovn-external-gw-config It requires you to have the name be the same as your provider device which in my case is "external" I was hoping to use something like "default-eip"

https://kubeovn.github.io/docs/v1.13.x/en/advance/ovn-eip-fip-snat/#2-ovn-eip

from kube-ovn.

zcq98 avatar zcq98 commented on September 28, 2024

K, I was trying to separate out a different name for use with. ovn-external-gw-config It requires you to have the name be the same as your provider device which in my case is "external" I was hoping to use something like "default-eip"

https://kubeovn.github.io/docs/v1.13.x/en/advance/ovn-eip-fip-snat/#2-ovn-eip

like this?

apiVersion: kubeovn.io/v1
kind: ProviderNetwork
metadata:
  name: default-eip
spec:
  defaultInterface: external

from kube-ovn.

Smithx10 avatar Smithx10 commented on September 28, 2024

@zcq98,

When deploying the default vpc external gateway, it requires the gateway-switch name match the subnet name etc.

"external" is a generic subnet name, and I was hoping to be able to name it something a bit more detailed like "eip" or "default-eip".

We use the name "External" to describe our top of rack bond that is external, we have another bond that is "admin" and in some cases another bond that is for "storage" 3 different pieces of fabric.

I declared the following in our kube-ovn-controller:
- --external-gateway-vlanid=1998
- --external-gateway-switch=external

from kube-ovn.

bobz965 avatar bobz965 commented on September 28, 2024
  • --external-gateway-vlanid=1998
  • --external-gateway-switch=eip|default-eip

you can use this as you said, but the subnet name eip|default-eip should be created.

from kube-ovn.

github-actions avatar github-actions commented on September 28, 2024

Issues go stale after 60d of inactivity. Please comment or re-open the issue if you are still interested in getting this issue fixed.

from kube-ovn.

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.