diff --git a/contrib/azurerm/roles/generate-templates/templates/masters.json b/contrib/azurerm/roles/generate-templates/templates/masters.json index c85addac8..842d5fb33 100644 --- a/contrib/azurerm/roles/generate-templates/templates/masters.json +++ b/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 %} ] -} \ No newline at end of file +} diff --git a/contrib/azurerm/roles/generate-templates/templates/network.json b/contrib/azurerm/roles/generate-templates/templates/network.json index 728adf138..32a55d6d8 100644 --- a/contrib/azurerm/roles/generate-templates/templates/network.json +++ b/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": [] } ] -} \ No newline at end of file +}