cleaning, add ipvs and fixed some litle bug
This commit is contained in:
parent
103271d12c
commit
56bb742890
5 changed files with 85 additions and 24 deletions
|
|
@ -23,4 +23,16 @@
|
|||
{% else %}
|
||||
<port protocol="tcp" port="10250"/>
|
||||
{% endif %}
|
||||
{% if kubernetes_network == "flannel" %}
|
||||
# flannel vxlan
|
||||
<port protocol="udp" port="8472"/>
|
||||
{% elif kubernetes_network == "calico" %}
|
||||
# calico
|
||||
<port protocol="udp" port="4789"/>
|
||||
<port protocol="tcp" port="5473"/>
|
||||
{% elif kubernetes_network == "weave-net" %}
|
||||
# Weave-Net
|
||||
<port protocol="udp" port="6783-6784"/>
|
||||
<port protocol="tcp" port="6783"/>
|
||||
{% endif %}
|
||||
</service>
|
||||
|
|
|
|||
6
templates/etc/modules-load.d/ipvs.conf.j2
Normal file
6
templates/etc/modules-load.d/ipvs.conf.j2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
ip_vs
|
||||
ip_vs_rr
|
||||
ip_vs_wrr
|
||||
ip_vs_sh
|
||||
nf_conntrack_ipv4
|
||||
nf_conntrack_ipv6
|
||||
Loading…
Add table
Add a link
Reference in a new issue