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
1.5 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. ## How to use it
  5. Enable kube-ovn in `group_vars/k8s-cluster/k8s-cluster.yml`
  6. ```yml
  7. ...
  8. kube_network_plugin: kube-ovn
  9. ...
  10. ```
  11. ## Verifying kube-ovn install
  12. Kube-OVN run ovn and controller in `kube-ovn` namespace
  13. * Check the status of kube-ovn pods
  14. ```ShellSession
  15. # From the CLI
  16. kubectl get pod -n kube-ovn
  17. # Output
  18. NAME READY STATUS RESTARTS AGE
  19. kube-ovn-cni-49lsm 1/1 Running 0 2d20h
  20. kube-ovn-cni-9db8f 1/1 Running 0 2d20h
  21. kube-ovn-cni-wftdk 1/1 Running 0 2d20h
  22. kube-ovn-controller-68d7bb48bd-7tnvg 1/1 Running 0 2d21h
  23. ovn-central-6675dbb7d9-d7z8m 1/1 Running 0 4d16h
  24. ovs-ovn-hqn8p 1/1 Running 0 4d16h
  25. ovs-ovn-hvpl8 1/1 Running 0 4d16h
  26. ovs-ovn-r5frh 1/1 Running 0 4d16h
  27. ```
  28. * Check the default and node subnet
  29. ```ShellSession
  30. # From the CLI
  31. kubectl get subnet
  32. # Output
  33. NAME PROTOCOL CIDR PRIVATE NAT
  34. join IPv4 100.64.0.0/16 false false
  35. ovn-default IPv4 10.16.0.0/16 false true
  36. ```