-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kube-ovn vlan mode ipv6/ipv4 dual stack ...
- Loading branch information
1 parent
e7e5037
commit 947aca4
Showing
10 changed files
with
459 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
inventory/sample/group_vars/k8s_cluster/k8s-net-kube-ovn.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
|
||
# 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 | ||
# 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_vlan_mode_enabled: false | ||
# kube_ovn_default_interface_name: eth0 | ||
kube_ovn_default_vlan_id: 100 | ||
kube_ovn_vlan_name: product | ||
|
||
kube_ovn_cidr: 10.100.0.0/16 | ||
kube_ovn_gateway: 10.100.0.1 | ||
|
||
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.