Unable to set default-route to an additional network

Solution In Progress - Updated -

Issue

  • Default route configuration cannot be set with annotations.
      annotations:
        k8s.v1.cni.cncf.io/networks: '[
          {
            "name": "macvlan2",
            "interface": "net2",
            "default-route": ["172.22.200.254"]
          }
        ]'

Environment

  • OpenShift Container Platform 4
    • 4.12.0 ~ 4.12.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content