Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
fixed configs for scaling with custom vnet (#1904)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitsh authored Dec 8, 2017
1 parent e44e42f commit 08d4689
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
9 changes: 0 additions & 9 deletions examples/azure-cni/k8s-vnet-scale.sh

This file was deleted.

3 changes: 2 additions & 1 deletion examples/azure-cni/k8s-vnet-scaledown.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"dnsPrefix": "",
"vmSize": "Standard_D2_v2",
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME",
"firstConsecutiveStaticIP": "10.239.255.239"
"firstConsecutiveStaticIP": "10.239.255.239",
"vnetCidr": "10.239.0.0/16"
},
"agentPoolProfiles": [
{
Expand Down
4 changes: 2 additions & 2 deletions examples/azure-cni/k8s-vnet-scaledown.json.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ACSE_PREDEPLOY=examples/vnet/k8s-vnet-predeploy.sh
ACSE_POSTDEPLOY=examples/azure-cni/k8s-vnet-scale.sh
ACSE_PREDEPLOY=examples/vnet/k8s-vnet-azure-cni-predeploy.sh
ACSE_POSTDEPLOY=examples/azure-cni/k8s-scale.sh

NEW_AGENT_NODE_COUNT=2
EXPECTED_NODE_COUNT=3
3 changes: 2 additions & 1 deletion examples/azure-cni/k8s-vnet-scaleup.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"dnsPrefix": "",
"vmSize": "Standard_D2_v2",
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME",
"firstConsecutiveStaticIP": "10.239.255.239"
"firstConsecutiveStaticIP": "10.239.255.239",
"vnetCidr": "10.239.0.0/16"
},
"agentPoolProfiles": [
{
Expand Down
4 changes: 2 additions & 2 deletions examples/azure-cni/k8s-vnet-scaleup.json.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ACSE_PREDEPLOY=examples/vnet/k8s-vnet-predeploy.sh
ACSE_POSTDEPLOY=examples/azure-cni/k8s-vnet-scale.sh
ACSE_PREDEPLOY=examples/vnet/k8s-vnet-azure-cni-predeploy.sh
ACSE_POSTDEPLOY=examples/azure-cni/k8s-scale.sh

NEW_AGENT_NODE_COUNT=3
EXPECTED_NODE_COUNT=4

0 comments on commit 08d4689

Please sign in to comment.