diff --git a/doc/how-to-use.md b/doc/how-to-use.md index a41421442..a0a04a7f1 100644 --- a/doc/how-to-use.md +++ b/doc/how-to-use.md @@ -255,8 +255,7 @@ $ cat < /etc/cni/multus/net.d/macvlan2.conf [ { "subnet": "11.10.0.0/16", "rangeStart": "11.10.1.20", - "rangeEnd": "11.10.3.50", - "gateway": "11.10.0.254" + "rangeEnd": "11.10.3.50" } ] ] } @@ -285,6 +284,52 @@ spec: EOF ``` +#### Lauch pod with text annotation for NetworkAttachmentDefinition in different namespace + +You can also specify NetworkAttachmentDefinition with its namespace as adding `/` + +``` +# Execute following command at Kubernetes master +$ cat <`. @@ -295,12 +340,12 @@ $ cat <"`. + +``` +# Execute following command at Kubernetes master +$ cat < mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 inet 127.0.0.1/8 scope host lo