Skip to main content
Version: v1.2 (EOL)

Create a Network Attachment Definition

POST 

/apis/k8s.cni.cncf.io/v1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/network-attachment-definitions

Create a NetworkAttachmentDefinition object.

Request

Path Parameters

    namespace stringrequired

    Object name and auth scope, such as for teams and projects

Body

required
    apiVersion stringrequired
    kind stringrequired
    metadata object
    name stringrequired
    namespace string
    spec objectrequired
    config stringrequired

Responses

OK

Schema
    apiVersion stringrequired
    kind stringrequired
    metadata object
    name stringrequired
    namespace string
    spec objectrequired
    config stringrequired
Loading...