Browse Source

fix azure kubernetes port to 6443

pull/1424/head
Abdelsalam Abbas 7 years ago
parent
commit
22d600e8c0
2 changed files with 6 additions and 6 deletions
  1. 8
      contrib/azurerm/roles/generate-templates/templates/masters.json
  2. 4
      contrib/azurerm/roles/generate-templates/templates/network.json

8
contrib/azurerm/roles/generate-templates/templates/masters.json

@ -62,8 +62,8 @@
"id": "[concat(variables('lbID'), '/backendAddressPools/kube-api-backend')]"
},
"protocol": "tcp",
"frontendPort": 443,
"backendPort": 443,
"frontendPort": 6443,
"backendPort": 6443,
"enableFloatingIP": false,
"idleTimeoutInMinutes": 5,
"probe": {
@ -77,7 +77,7 @@
"name": "kube-api",
"properties": {
"protocol": "tcp",
"port": 443,
"port": 6443,
"intervalInSeconds": 5,
"numberOfProbes": 2
}
@ -193,4 +193,4 @@
} {% if not loop.last %},{% endif %}
{% endfor %}
]
}
}

4
contrib/azurerm/roles/generate-templates/templates/network.json

@ -92,7 +92,7 @@
"description": "Allow secure kube-api",
"protocol": "Tcp",
"sourcePortRange": "*",
"destinationPortRange": "443",
"destinationPortRange": "6443",
"sourceAddressPrefix": "Internet",
"destinationAddressPrefix": "*",
"access": "Allow",
@ -106,4 +106,4 @@
"dependsOn": []
}
]
}
}
Loading…
Cancel
Save