Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 67d3164

Browse files
Update Readme (#214)
Signed-off-by: John O'Loughlin <[email protected]>
1 parent bd74c38 commit 67d3164

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Diff for: README.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,25 @@ For this reason we build userspacecni in a container.
112112
userspacecni is built in a container and then transferred to the host.
113113
By default Docker is used to build the image
114114

115+
Before building be sure to modify the makefile variable `IMAGE_REGISTRY`.
116+
`IMAGE_REGISTRY` should be set to an image registry thats accessible across your cluster.
117+
115118
To build the docker image:
116119
```
117120
git clone https://github.com/intel/userspace-cni-network-plugin.git
118121
cd userspace-cni-network-plugin
119122
make build
120123
```
121124

122-
To copy the userspacecni binary to the host directory /opt/cni/bin/
125+
To copy the userspacecni binary to the host directory `/opt/cni/bin/`
126+
```
127+
make copy
128+
```
129+
To push the image to the docker reg defined in the makefile
130+
```
131+
make push
132+
```
133+
To deploy the userspacecni across the cluster
123134
```
124135
make deploy
125136
```
@@ -423,7 +434,10 @@ kubectl exec -itn vpp vpp-app2 -- ./vpp-pod-setup-memif.sh
423434
424435
# ping pod 2 from pod 1 (through vpp)
425436
kubectl exec -itn vpp vpp-app1 -- vppctl "ping 192.168.1.4"
426-
# sample output
437+
```
438+
439+
Sample output
440+
```
427441
116 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=83.4641 ms
428442
116 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=72.0057 ms
429443
116 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=67.9981 ms

0 commit comments

Comments
 (0)