2 apiVersion: apiextensions.k8s.io/v1
3 kind: CustomResourceDefinition
5 name: network-attachment-definitions.k8s.cni.cncf.io
10 plural: network-attachment-definitions
11 singular: network-attachment-definition
12 kind: NetworkAttachmentDefinition
21 description: 'NetworkAttachmentDefinition is a CRD schema specified by the Network Plumbing
22 Working Group to express the intent for attaching pods to one or more logical or physical
23 networks. More information available at: https://github.com/k8snetworkplumbingwg/multi-net-spec'
27 description: 'APIVersion defines the versioned schema of this represen
28 tation of an object. Servers should convert recognized schemas to the
29 latest internal value, and may reject unrecognized values. More info:
30 https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
33 description: 'Kind is a string value representing the REST resource this
34 object represents. Servers may infer this from the endpoint the client
35 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
40 description: 'NetworkAttachmentDefinition spec defines the desired state of a network attachment'
44 description: 'NetworkAttachmentDefinition config is a JSON-formatted CNI configuration'
48 apiVersion: rbac.authorization.k8s.io/v1
52 - apiGroups: ["k8s.cni.cncf.io"]
75 kind: ClusterRoleBinding
76 apiVersion: rbac.authorization.k8s.io/v1
80 apiGroup: rbac.authorization.k8s.io
84 - kind: ServiceAccount
86 namespace: kube-system
92 namespace: kube-system
97 name: multus-cni-config
98 namespace: kube-system
105 "name": "multus-cni-network",
112 "cniVersion": "0.3.1",
113 "name": "default-cni-network",
116 "name": "k8s-pod-network",
117 "cniVersion": "0.3.0",
120 "datastore_type": "kubernetes",
121 "nodename": "__KUBERNETES_NODE_NAME__",
124 "type": "calico-ipam"
130 "kubeconfig": "/etc/cni/multus/calico/net.d/calico-kubeconfig"
136 "capabilities": {"portMappings": true}
141 "kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig"
148 namespace: kube-system
172 serviceAccountName: multus
175 image: ghcr.io/k8snetworkplumbingwg/multus-cni:stable
176 command: ["/entrypoint.sh"]
178 - "--multus-conf-file=auto"
179 - "--cni-version=0.3.1"
191 mountPath: /host/etc/cni/net.d
193 mountPath: /host/opt/cni/bin
195 mountPath: /tmp/multus-conf
197 - name: install-multus-binary
198 image: ghcr.io/k8snetworkplumbingwg/multus-cni:stable
201 - "/usr/src/multus-cni/bin/multus"
202 - "/host/opt/cni/bin/multus"
211 mountPath: /host/opt/cni/bin
212 mountPropagation: Bidirectional
213 terminationGracePeriodSeconds: 10
223 name: multus-cni-config