Skip to content
/ vpp Public
forked from contiv/vpp

Kubernetes CNI plugin based on FD.io VPP

License

Notifications You must be signed in to change notification settings

pastorsong/vpp

Repository files navigation

Contiv - VPP

Build Status Coverage Status Go Report Card GoDoc GitHub license

Please note that the content of this repository is currently WORK IN PROGRESS.

This Kubernetes network plugin uses FD.io VPP to provide the network connectivity between PODs. Currently, only one-node k8s cluster is supported, with no connection to the k8s services running on the host from the PODs.

Quickstart

Given that you have your k8s cluster running, e.g. using kubeadm.

Deploy the Contiv-VPP network plugin:

kubectl apply -f https://raw.githubusercontent.com/contiv/vpp/master/k8s/contiv-vpp.yaml

Check the status of the deployment:

$ kubectl get pods -n kube-system
NAME                             READY     STATUS    RESTARTS   AGE
contiv-vpp-whgb5                 2/2       Running   0          57m

You can go ahead and deploy some PODs, e.g.:

$ kubectl apply -f ubuntu.yaml

Use kubectl describe pod to get the IP address of a POD, e.g.:

$ kubectl describe pod ubuntu | grep IP
IP:		10.0.0.1

To check the connectivity, you can connect to VPP debug CLI and execute a ping:

telnet 0 5002
vpp# ping 10.0.0.1

About

Kubernetes CNI plugin based on FD.io VPP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 77.0%
  • TypeScript 8.4%
  • Shell 6.6%
  • RobotFramework 5.3%
  • HTML 1.3%
  • Makefile 0.5%
  • Other 0.9%