fix azure kubernetes port to 6443

This commit is contained in:
Abdelsalam Abbas 2017-07-09 09:56:32 +02:00
parent 992023288f
commit 22d600e8c0
2 changed files with 6 additions and 6 deletions

View file

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

View file

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