Support OVN Interconnect (#9599)
Mostly taken from: https://raw.githubusercontent.com/kubeovn/kube-ovn/master/yamls/ovn-ic.yaml.j2pull/9661/head
parent
6b4bb2a121
commit
6f61f3d9cb
|
@ -55,3 +55,9 @@ kube_ovn_enable_ssl: false
|
|||
|
||||
## dpdk
|
||||
kube_ovn_dpdk_enabled: false
|
||||
|
||||
## enable interconnection to an existing IC database server.
|
||||
kube_ovn_ic_enable: false
|
||||
kube_ovn_ic_autoroute: true
|
||||
kube_ovn_ic_dbhost: "127.0.0.1"
|
||||
kube_ovn_ic_zone: "kubernetes"
|
||||
|
|
|
@ -36,6 +36,11 @@ kube_ovn_central_ips: |-
|
|||
{{ hostvars[item]['ip'] | default(fallback_ips[item]) }}{% if not loop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -608,3 +608,19 @@ spec:
|
|||
ports:
|
||||
- port: 10665
|
||||
name: metrics
|
||||
{% if kube_ovn_ic_enable %}
|
||||
---
|
||||
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 }}"
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue