Fix bug on lb_kubemaster
This commit is contained in:
parent
b2e96c59da
commit
c60ae1c343
2 changed files with 27 additions and 25 deletions
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
<short>Kubernetes</short>
|
||||
<description>Open needed Kubernetes ports.</description>
|
||||
{% if kubernetes_master == true %}
|
||||
<short>Kubernetes master</short>
|
||||
<description>Open Kubernetes master ports.</description>
|
||||
<port protocol="tcp" port="6443"/>
|
||||
<port protocol="tcp" port="2379"/>
|
||||
<port protocol="tcp" port="2380"/>
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
<port protocol="tcp" port="10252"/>
|
||||
<port protocol="tcp" port="10255"/>
|
||||
{% else %}
|
||||
<short>Kubernetes node</short>
|
||||
<description>Open Kubernetes node ports.</description>
|
||||
{% if kubernetes_master == true %}
|
||||
<port protocol="tcp" port="10250"/>
|
||||
{% endif %}
|
||||
<port protocol="tcp" port="80"/>
|
||||
<port protocol="tcp" port="443"/>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue