Skip to content

Commit

Permalink
Merge pull request kubernetes#5285 from errordeveloper/master
Browse files Browse the repository at this point in the history
coreos/azure: Pass number of minions as an argument
  • Loading branch information
nikhiljindal committed Mar 11, 2015
2 parents e6517e4 + 82fbc25 commit 1965165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started-guides/coreos/azure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ First, lets set the size of new VMs:
```
export AZ_VM_SIZE=Large
```
Now, run resize script with state file of the previous deployment:
Now, run resize script with state file of the previous deployment and number of minions to add:
```
./resize-kubernetes-cluster.js ./output/kubernetes_1c1496016083b4_deployment.yml
./resize-kubernetes-cluster.js ./output/kubernetes_1c1496016083b4_deployment.yml 2
...
azure_wrapper/info: Saved SSH config, you can use it like so: `ssh -F ./output/kubernetes_8f984af944f572_ssh_conf <hostname>`
azure_wrapper/info: The hosts in this deployment are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var azure = require('./lib/azure_wrapper.js');
var kube = require('./lib/deployment_logic/kubernetes.js');

azure.load_state_for_resizing(process.argv[2], 'kube', 2);
azure.load_state_for_resizing(process.argv[2], 'kube', parseInt(process.argv[3] || 1));

azure.run_task_queue([
azure.queue_machines('kube', 'stable', kube.create_node_cloud_config),
Expand Down

0 comments on commit 1965165

Please sign in to comment.