prepare to initiate the cluster
This commit is contained in:
parent
5cef7d19b1
commit
799dd340ea
3 changed files with 96 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service>
|
||||
{% if kubernetes_master is true %}
|
||||
<short>Kubernetes master</short>
|
||||
<description>Open Kubernetes master ports.</description>
|
||||
<port protocol="tcp" port="6443"/>
|
||||
|
|
@ -9,4 +10,11 @@
|
|||
<port protocol="tcp" port="10251"/>
|
||||
<port protocol="tcp" port="10252"/>
|
||||
<port protocol="tcp" port="10255"/>
|
||||
{% else %}
|
||||
<short>Kubernetes node</short>
|
||||
<description>Open Kubernetes node ports.</description>
|
||||
<port protocol="tcp" port="10250"/>
|
||||
<port protocol="tcp" port="80"/>
|
||||
<port protocol="tcp" port="443"/>
|
||||
{% endif %}
|
||||
</service>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue