In our project, we want to use VPP for external communication in pod
In this pod, I want to use two containers to allow VPP and vpp_api_test 
respectively ,
VPP is used to process messages received by pod from dpdk bound network 
card,and vpp_api_test is used to configure VPP when messages are received by 
other services of the same k8s cluster
but vpp_api_test only can use shm or sock file to cfg vpp, I try modify vpp 
container startup.conf
statseg {
socket-name /volumeshare/api_1.sock
}
in vpp container ./vpp_api_test socket-name /volumeshare/api_1.sock
it can work
but vpp_ai_test container , it can not work:
clib_socket_init: connect (fd 3, '/volumeshare/api_1.sock'): Protocol wrong 
type for socket
WARNING: socket connection failed

These two containers belong to the same pod. And in the pod yaml , I mount 
/volumeshare/ directory for these two containers.

how can I do?
Thanks
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16067): https://lists.fd.io/g/vpp-dev/message/16067
Mute This Topic: https://lists.fd.io/mt/73009185/21656
Mute #vat: https://lists.fd.io/mk?hashtag=vat&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to