Files
kubernetes/coredns-demo/net-attach-def-srv.yaml

21 lines
390 B
YAML

apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: br-srv
namespace: coredns-multus
spec:
config: '{
"cniVersion": "0.3.1",
"type": "bridge",
"bridge": "br-srv",
"ipam": {
"type": "static",
"addresses": [
{
"address": "192.168.200.100/22",
"gateway": "192.168.200.1"
}
]
}
}'