Coder Social home page Coder Social logo

Comments (3)

mrbojangles3 avatar mrbojangles3 commented on July 21, 2024 1

The error message is:

[error] getKubernetesDelegate: cannot find a network-attachment-definition () in namespace (default): resource name may not be empty
[error] GetNetworkDelegates: failed getting the delegate: getKubernetesDelegate: cannot find a network-attachment-definition () in namespace (default): resource name may not be empty
[error] TryLoadPodDelegates: error in getting k8s network for pod: GetNetworkDelegates: failed getting the delegate: getKubernetesDelegate: cannot find a network-attachment-definition () in namespace (default): resource name may not be empty```

from multus-cni.

dougbtv avatar dougbtv commented on July 21, 2024

Example:

b63593600d9170f3f9e95b74fbe8a950e1690b23b7303277a9e89c8): error adding pod default_samplepod-bridge to CNI network "multus-cni-network": plugin type="multus" name="multus-cni-network" failed (add): Multus: [default/samplepod-bridge/772c8b51-d36f-413d-aa66-efea9b618e35]: error loading k8s delegates k8s args: TryLoadPodDelegates: error in getting k8s network for pod: GetNetworkDelegates: failed getting the delegate: getKubernetesDelegate: cannot find a network-attachment-definition () in namespace (default): resource name may not be empty

It's there with:

 cannot find a network-attachment-definition () in namespace (default): resource name may not be empty

But I'd prefer something that's actionable by the user. Like "you have a mistake in the format of your */networks annotation"

With the annotation:

  annotations:
    k8s.v1.cni.cncf.io/networks: "bridge-conf-1,bridge-conf-2,bridge-conf-3,bridge-conf-4,"

from multus-cni.

github-actions avatar github-actions commented on July 21, 2024

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.

from multus-cni.

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.