2019-07-31 11:10:20 +08:00
---
2021-02-10 18:25:01 +08:00
kube_ovn_db_cpu_request : 500m
kube_ovn_db_memory_request : 200Mi
kube_ovn_db_cpu_limit : 3000m
kube_ovn_db_memory_limit : 3000Mi
kube_ovn_node_cpu_request : 200m
kube_ovn_node_memory_request : 200Mi
kube_ovn_node_cpu_limit : 1000m
kube_ovn_node_memory_limit : 800Mi
2021-10-15 03:11:09 +08:00
kube_ovn_cni_server_cpu_request : 200m
kube_ovn_cni_server_memory_request : 200Mi
kube_ovn_cni_server_cpu_limit : 1000m
kube_ovn_cni_server_memory_limit : 1Gi
2021-02-10 18:25:01 +08:00
kube_ovn_controller_cpu_request : 200m
kube_ovn_controller_memory_request : 200Mi
kube_ovn_controller_cpu_limit : 1000m
kube_ovn_controller_memory_limit : 1Gi
2020-04-15 18:10:03 +08:00
kube_ovn_pinger_cpu_request : 100m
2021-02-10 18:25:01 +08:00
kube_ovn_pinger_memory_request : 200Mi
2020-04-15 18:10:03 +08:00
kube_ovn_pinger_cpu_limit : 200m
kube_ovn_pinger_memory_limit : 400Mi
2021-06-16 23:10:00 +08:00
kube_ovn_monitor_memory_request : 200Mi
kube_ovn_monitor_cpu_request : 200m
kube_ovn_monitor_memory_limit : 200Mi
kube_ovn_monitor_cpu_limit : 200m
2022-05-12 12:35:15 +08:00
kube_ovn_dpdk_node_cpu_request : 1000m
kube_ovn_dpdk_node_memory_request : 2Gi
kube_ovn_dpdk_node_cpu_limit : 1000m
kube_ovn_dpdk_node_memory_limit : 2Gi
2019-07-31 11:10:20 +08:00
2022-12-28 12:51:27 +08:00
kube_ovn_central_hosts : "{{ groups['kube_control_plane'] }}"
kube_ovn_central_replics : "{{ kube_ovn_central_hosts | length }}"
kube_ovn_controller_replics : "{{ kube_ovn_central_hosts | length }}"
kube_ovn_central_ips : |-
{% for item in kube_ovn_central_hosts -%}
{{ hostvars[item]['ip'] | default(fallback_ips[item]) }}{% if not loop.last %},{% endif %}
{%- endfor %}
2022-05-12 12:35:15 +08:00
2023-01-16 16:08:52 +08:00
kube_ovn_ic_enable : false
kube_ovn_ic_autoroute : true
kube_ovn_ic_dbhost : "127.0.0.1"
kube_ovn_ic_zone : "kubernetes"
2022-05-12 12:35:15 +08:00
# geneve or vlan
kube_ovn_network_type : geneve
# geneve, vxlan or stt. ATTENTION: some networkpolicy cannot take effect when using vxlan and stt need custom compile ovs kernel module
kube_ovn_tunnel_type : geneve
## The nic to support container network can be a nic name or a group of regex separated by comma e.g: 'enp6s0f0,eth.*', if empty will use the nic that the default route use.
# kube_ovn_iface: eth1
## The MTU used by pod iface in overlay networks (default iface MTU - 100)
# kube_ovn_mtu: 1333
## Enable hw-offload, disable traffic mirror and set the iface to the physical port. Make sure that there is an IP address bind to the physical port.
kube_ovn_hw_offload : false
# traffic mirror
kube_ovn_traffic_mirror : false
# kube_ovn_pool_cidr_ipv6: fd85:ee78:d8a6:8607::1:0000/112
# kube_ovn_default_interface_name: eth0
kube_ovn_external_address : 8.8 .8 .8
kube_ovn_external_address_ipv6 : 2400 : 3200 : : 1
kube_ovn_external_dns : alauda.cn
# kube_ovn_default_gateway: 10.233.64.1,fd85:ee78:d8a6:8607::1:0
kube_ovn_default_gateway_check : true
kube_ovn_default_logical_gateway : false
2023-05-25 09:34:51 +08:00
# u2o_interconnection
kube_ovn_u2o_interconnection : false
2022-05-12 12:35:15 +08:00
# kube_ovn_default_exclude_ips: 10.16.0.1
kube_ovn_node_switch_cidr : 100.64 .0 .0 /16
kube_ovn_node_switch_cidr_ipv6 : fd00:100:64::/64
## vlan config, set default interface name and vlan id
# kube_ovn_default_interface_name: eth0
kube_ovn_default_vlan_id : 100
kube_ovn_vlan_name : product
## pod nic type, support: veth-pair or internal-port
kube_ovn_pod_nic_type : veth_pair
## Enable load balancer
kube_ovn_enable_lb : true
## Enable network policy support
kube_ovn_enable_np : true
## Enable external vpc support
kube_ovn_enable_external_vpc : true
## Enable checksum
kube_ovn_encap_checksum : true
## enable ssl
kube_ovn_enable_ssl : false
## dpdk
kube_ovn_dpdk_enabled : false
2022-12-09 07:58:11 +08:00
kube_ovn_dpdk_tunnel_iface : br-phy
2023-05-25 09:34:51 +08:00
## bind local ip
kube_ovn_bind_local_ip_enabled : true
2022-12-09 07:58:11 +08:00
## eip snat
kube_ovn_eip_snat_enabled : true
2023-05-25 09:34:51 +08:00
# ls dnat mod dl dst
kube_ovn_ls_dnat_mod_dl_dst : true
2022-12-09 07:58:11 +08:00
## keep vm ip
kube_ovn_keep_vm_ip : true
## cni config priority, default: 01
2024-07-26 09:42:20 +08:00
kube_ovn_cni_config_priority : '01'