Skip to content

Add VPP network connection to selected containers #1754

@kongyanye

Description

@kongyanye

Hi All,

I'm new to k8s and contiv/vpp and has just tried a few small examples to set up a cluster. My goal is to edit the network connection in k8s according to my specifications, i.e., create connections between selected containers using VETH or VXLAN. I'm going to use VPP to connect the containers. I've successfully connected containers using purely VPP for docker containers but don't know how to achieve the same goal in k8s.

Things I've tried: I set up a k8s cluster with VPP network plugin by following tutorial in this repo. Just install the VPP tools and then use the command 'kubectl apply -f contiv-vpp.yaml', then the network is configured well. But I do not want to connect all containers into one network. I want to create connections between pairs of containers I specified (e.g., for 3 containers A, B, C on one node, I need to create connection between A and B using VETH pair, and between B and C, but not between A and C).Can somebody tells me how to achieve it or give directions to some resources?

Thanks for your help!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions