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.

55 lines
1.8 KiB

  1. # Kube-OVN
  2. Kube-OVN integrates the OVN-based Network Virtualization with Kubernetes. It offers an advanced Container Network Fabric for Enterprises.
  3. For more information please check [Kube-OVN documentation](https://github.com/alauda/kube-ovn)
  4. **Warning:** Kernel version (`cat /proc/version`) needs to be different from `3.10.0-862` or kube-ovn won't start and will print this message:
  5. ```bash
  6. kernel version 3.10.0-862 has a nat related bug that will affect ovs function, please update to a version greater than 3.10.0-898
  7. ```
  8. ## How to use it
  9. Enable kube-ovn in `group_vars/k8s_cluster/k8s_cluster.yml`
  10. ```yml
  11. ...
  12. kube_network_plugin: kube-ovn
  13. ...
  14. ```
  15. ## Verifying kube-ovn install
  16. Kube-OVN run ovn and controller in `kube-ovn` namespace
  17. * Check the status of kube-ovn pods
  18. ```ShellSession
  19. # From the CLI
  20. kubectl get pod -n kube-ovn
  21. # Output
  22. NAME READY STATUS RESTARTS AGE
  23. kube-ovn-cni-49lsm 1/1 Running 0 2d20h
  24. kube-ovn-cni-9db8f 1/1 Running 0 2d20h
  25. kube-ovn-cni-wftdk 1/1 Running 0 2d20h
  26. kube-ovn-controller-68d7bb48bd-7tnvg 1/1 Running 0 2d21h
  27. ovn-central-6675dbb7d9-d7z8m 1/1 Running 0 4d16h
  28. ovs-ovn-hqn8p 1/1 Running 0 4d16h
  29. ovs-ovn-hvpl8 1/1 Running 0 4d16h
  30. ovs-ovn-r5frh 1/1 Running 0 4d16h
  31. ```
  32. * Check the default and node subnet
  33. ```ShellSession
  34. # From the CLI
  35. kubectl get subnet
  36. # Output
  37. NAME PROTOCOL CIDR PRIVATE NAT
  38. join IPv4 100.64.0.0/16 false false
  39. ovn-default IPv4 10.16.0.0/16 false true
  40. ```