This repository was archived by the owner on Apr 8, 2025. It is now read-only.
File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -112,14 +112,25 @@ For this reason we build userspacecni in a container.
112
112
userspacecni is built in a container and then transferred to the host.
113
113
By default Docker is used to build the image
114
114
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
+
115
118
To build the docker image:
116
119
```
117
120
git clone https://github.com/intel/userspace-cni-network-plugin.git
118
121
cd userspace-cni-network-plugin
119
122
make build
120
123
```
121
124
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
123
134
```
124
135
make deploy
125
136
```
@@ -423,7 +434,10 @@ kubectl exec -itn vpp vpp-app2 -- ./vpp-pod-setup-memif.sh
423
434
424
435
# ping pod 2 from pod 1 (through vpp)
425
436
kubectl exec -itn vpp vpp-app1 -- vppctl "ping 192.168.1.4"
426
- # sample output
437
+ ```
438
+
439
+ Sample output
440
+ ```
427
441
116 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=83.4641 ms
428
442
116 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=72.0057 ms
429
443
116 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=67.9981 ms
You can’t perform that action at this time.
0 commit comments