Support OVN Interconnect

This commit is contained in:
Jochen Friedrich 2022-12-19 13:37:33 +00:00
parent 491e260d20
commit bbcd10ea92
2 changed files with 19 additions and 0 deletions

View file

@ -31,6 +31,11 @@ kube_ovn_dpdk_node_memory_limit: 2Gi
kube_ovn_central_replics: 1
kube_ovn_controller_replics: 1
kube_ovn_ic_enable: false
kube_ovn_ic_autoroute: true
kube_ovn_ic_dbhost: "127.0.0.1"
kube_ovn_ic_zone: "kubernetes"
# geneve or vlan
kube_ovn_network_type: geneve

View file

@ -608,3 +608,17 @@ spec:
ports:
- port: 10665
name: metrics
---
kind: ConfigMap
apiVersion: v1
metadata:
name: ovn-ic-config
namespace: kube-system
data:
enable-ic: "{{ kube_ovn_ic_enable | lower }}"
az-name: "{{ kube_ovn_ic_zone }}"
ic-db-host: "{{ kube_ovn_ic_dbhost }}"
ic-nb-port: "6645"
ic-sb-port: "6646"
gw-nodes: "{{ kube_ovn_central_hosts|join(',') }}"
auto-route: "{{ kube_ovn_ic_autoroute | lower }}"