Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpiderMultusConfig Support for capabilities and IPAM Static Routes #3641

Open
infinitydon opened this issue Jun 23, 2024 · 1 comment
Open
Assignees
Labels
kind/support If you need any helps

Comments

@infinitydon
Copy link

What help do you need?

I was going through the reference of SpiderMultusConfig https://spidernet-io.github.io/spiderpool/v0.9/reference/crd-spidermultusconfig/ but I could not find support for when there is need to create static route and IP capabilities.

Example of multus NAD that requires static routes:

apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
  name: core-n2
  namespace: example
spec:
  config: |
    {
      "cniVersion": "0.3.1",
      "name": "core-n2",
      "plugins": [
        {
          "type": "ipvlan",
          "capabilities": {
            "ips": true
          },
          "master": "eth1",
          "mode": "l2",
          "ipam": {
            "type": "static",
            "routes": [{ "dst": "10.4.2.0/24", "gw": "10.3.0.1" }]
          }
        }
      ]
    }

If this is supported, kindly refer me to the docs.

Thanks
@infinitydon infinitydon added the kind/support If you need any helps label Jun 23, 2024
@ty-dc
Copy link
Collaborator

ty-dc commented Jun 24, 2024

Refer to the following document, hope it can help you.

https://github.com/spidernet-io/spiderpool/blob/main/docs/usage/route.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support If you need any helps
Projects
None yet
Development

No branches or pull requests

2 participants