From 20ff2526dafd55a9bee6a2e574ee97e630b83a03 Mon Sep 17 00:00:00 2001 From: Ross Gardler Date: Mon, 12 Sep 2016 14:37:43 +0000 Subject: [PATCH 1/3] port 80, 8080 and 443 are HTTP ports --- mesos-marathon-vmss/parts/base-template.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mesos-marathon-vmss/parts/base-template.json b/mesos-marathon-vmss/parts/base-template.json index 143d46ad04..9619cb8f02 100644 --- a/mesos-marathon-vmss/parts/base-template.json +++ b/mesos-marathon-vmss/parts/base-template.json @@ -685,7 +685,8 @@ "backendAddressPool": { "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, - "protocol": "tcp", + "protocol": "http", + "path": '/', "frontendPort": 80, "backendPort": 80, "enableFloatingIP": false, @@ -705,7 +706,8 @@ "backendAddressPool": { "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, - "protocol": "tcp", + "protocol": "http", + "path": '/', "frontendPort": 443, "backendPort": 443, "enableFloatingIP": false, @@ -725,7 +727,8 @@ "backendAddressPool": { "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, - "protocol": "tcp", + "protocol": "http", + "path": '/', "frontendPort": 8080, "backendPort": 8080, "enableFloatingIP": false, From 6bb5b85400aeafaf7c0f104e888b04aa87cedd5f Mon Sep 17 00:00:00 2001 From: Ross Gardler Date: Mon, 12 Sep 2016 14:41:43 +0000 Subject: [PATCH 2/3] fix whitespace --- mesos-marathon-vmss/parts/base-template.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesos-marathon-vmss/parts/base-template.json b/mesos-marathon-vmss/parts/base-template.json index 9619cb8f02..72940e2543 100644 --- a/mesos-marathon-vmss/parts/base-template.json +++ b/mesos-marathon-vmss/parts/base-template.json @@ -685,7 +685,7 @@ "backendAddressPool": { "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, - "protocol": "http", + "protocol": "http", "path": '/', "frontendPort": 80, "backendPort": 80, From 1dc570bb76eef012248c537be25faf929ba41965 Mon Sep 17 00:00:00 2001 From: Ross Gardler Date: Mon, 12 Sep 2016 14:44:16 +0000 Subject: [PATCH 3/3] use double quotes for consistency with other code --- mesos-marathon-vmss/parts/base-template.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mesos-marathon-vmss/parts/base-template.json b/mesos-marathon-vmss/parts/base-template.json index 72940e2543..0c26c7fac4 100644 --- a/mesos-marathon-vmss/parts/base-template.json +++ b/mesos-marathon-vmss/parts/base-template.json @@ -686,7 +686,7 @@ "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, "protocol": "http", - "path": '/', + "path": "/", "frontendPort": 80, "backendPort": 80, "enableFloatingIP": false, @@ -707,7 +707,7 @@ "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, "protocol": "http", - "path": '/', + "path": "/", "frontendPort": 443, "backendPort": 443, "enableFloatingIP": false, @@ -728,7 +728,7 @@ "id": "[concat(variables('agentsLbID'), '/backendAddressPools/', variables('agentsLbBackendPoolName'))]" }, "protocol": "http", - "path": '/', + "path": "/", "frontendPort": 8080, "backendPort": 8080, "enableFloatingIP": false,