Open KirylMi opened 1 year ago
running make install gives the same error
This project was broken and I have made major changes to it.
I will be updating the documentation when I get the ci running.
userspace cni is now built in a container and copied out to the host with a deployment script.
the container can be built with docker build . -f ./docker/userspacecni/Dockerfile -t userspacecni:latest
I currently deploy userspace with
cat << EOF | kubectl apply -f -
---
apiVersion: v1
kind: Pod
metadata:
name: userspacecni-$worker
namespace: vpp
spec:
nodeSelector:
kubernetes.io/hostname: $worker
containers:
- name: userspacecni-$worker
image: userspacecni:latest
imagePullPolicy: IfNotPresent
volumeMounts:
- name: cni
mountPath: /opt/cni/bin
volumes:
- name: cni
hostPath:
path: /opt/cni/bin
restartPolicy: Never
EOF
This project was broken and I have made major changes to it. I will be updating the documentation when I get the ci running. userspace cni is now built in a container and copied out to the host with a deployment script. the container can be built with
docker build . -f ./docker/userspacecni/Dockerfile -t userspacecni:latest
I currently deploy userspace withcat << EOF | kubectl apply -f - --- apiVersion: v1 kind: Pod metadata: name: userspacecni-$worker namespace: vpp spec: nodeSelector: kubernetes.io/hostname: $worker containers: - name: userspacecni-$worker image: userspacecni:latest imagePullPolicy: IfNotPresent volumeMounts: - name: cni mountPath: /opt/cni/bin volumes: - name: cni hostPath: path: /opt/cni/bin restartPolicy: Never EOF
Thank you for the reply!
I assume the current guide on setting up everything won't work with the container approach?
Hi.
I'm trying to install the userspace-cni-network-plugin on Ubuntu20 machine. It's clean, nothing else is installed, i'm running this ubuntu machine through VirtualBox.
I've installed go 1.11.10 I've installed vpp 22.02 version
After issuing
(I also tried with GO111MODULE=on and without sudo, but with sudo it's better. During make i have this error:
Without sudo it's
I would be glad to share with you more details in case you need them.