añadiendo ejemplo de multus
This commit is contained in:
20
coredns/net-attach-def-admin.yaml
Normal file
20
coredns/net-attach-def-admin.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: "k8s.cni.cncf.io/v1"
|
||||
kind: NetworkAttachmentDefinition
|
||||
metadata:
|
||||
name: br-admin
|
||||
namespace: coredns-multus
|
||||
spec:
|
||||
config: '{
|
||||
"cniVersion": "0.3.1",
|
||||
"type": "bridge",
|
||||
"bridge": "br-admin",
|
||||
"ipam": {
|
||||
"type": "static",
|
||||
"addresses": [
|
||||
{
|
||||
"address": "192.168.1.100/24",
|
||||
"gateway": "192.168.1.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
}'
|
||||
Reference in New Issue
Block a user