You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.7 KiB

  1. # OVN4NFV-k8S-Plugin
  2. Intro to [ovn4nfv-k8s-plugin](https://github.com/opnfv/ovn4nfv-k8s-plugin)
  3. ## How to use it
  4. * Enable ovn4nfv in `group_vars/k8s_cluster/k8s_cluster.yml`
  5. ```yml
  6. ...
  7. kube_network_plugin: ovn4nfv
  8. ...
  9. ```
  10. ## Verifying ovn4nfv kube network plugin
  11. * ovn4nfv install ovn control plan in the master and ovn daemonset in all nodes
  12. * Network function Networking(nfn) operator is install in the master and nfn agent is installed in all the node
  13. * ovn4nfv install `ovn4nfvk8s-cni` cni shim binary in `/opt/cni/bin/` and nfn agent act as the cni server
  14. * All ovn4nfv pods are installed in the kube-system
  15. ```ShellSession
  16. # From K8s client
  17. # kubectl get pods -n kube-system -l app=ovn-control-plane -o wide
  18. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
  19. ovn-control-plane-5f8b7bcc65-w759g 1/1 Running 0 3d18h 192.168.121.25 master <none> <none>
  20. # kubectl get pods -n kube-system -l app=ovn-controller -o wide
  21. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
  22. ovn-controller-54zzj 1/1 Running 0 3d18h 192.168.121.24 minion01 <none> <none>
  23. ovn-controller-7cljt 1/1 Running 0 3d18h 192.168.121.25 master <none> <none>
  24. ovn-controller-cx46g 1/1 Running 0 3d18h 192.168.121.15 minion02 <none> <none>
  25. # kubectl get pods -n kube-system -l name=nfn-operator -o wide
  26. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
  27. nfn-operator-6dc44dbf48-xk9zl 1/1 Running 0 3d18h 192.168.121.25 master <none> <none>
  28. # kubectl get pods -n kube-system -l app=nfn-agent -o wide
  29. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
  30. nfn-agent-dzlpp 1/1 Running 0 3d18h 192.168.121.15 minion02 <none> <none>
  31. nfn-agent-jcdbn 1/1 Running 0 3d18h 192.168.121.25 master <none> <none>
  32. nfn-agent-lrkzk 1/1 Running 0 3d18h 192.168.121.24 minion01 <none> <none>
  33. # kubectl get pods -n kube-system -l app=ovn4nfv -o wide
  34. NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
  35. ovn4nfv-cni-5zdz2 1/1 Running 0 3d18h 192.168.121.24 minion01 <none> <none>
  36. ovn4nfv-cni-k5wjp 1/1 Running 0 3d18h 192.168.121.25 master <none> <none>
  37. ovn4nfv-cni-t6z5b 1/1 Running 0 3d18h 192.168.121.15 minion02 <none> <none>
  38. ```