From 13673c2d6eb3b45e8f74afdab865f2f9e650c84c Mon Sep 17 00:00:00 2001 From: Karun Agarwal Date: Mon, 29 May 2023 14:57:26 +0530 Subject: [PATCH 1/4] Documentation to update VM Disk Size --- docs/infra/scaling-disk-size.md | 24 ++++++++++++++++++++++++ sidebars.js | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docs/infra/scaling-disk-size.md diff --git a/docs/infra/scaling-disk-size.md b/docs/infra/scaling-disk-size.md new file mode 100644 index 0000000..50b3e61 --- /dev/null +++ b/docs/infra/scaling-disk-size.md @@ -0,0 +1,24 @@ +--- +title: Scaling VM Disk Size +--- + + + Scaling VM Disk Size + + + +Pre-requisites: + +- Ensure you have followed steps from setup document. + +Next Steps: + +- Go to variables.tf file +- To update disk size of VM, update the value of variable corresponding to VM Type. +- For ex. If you want to update VM disk size of all GPU Based Workers, update the value of variable `gpu_disk_size` +- Run ```terraform plan``` to review changes +- Run ```terraform apply``` to apply changes + +Note: + +- You can expect a minimal downtime as during upgradation of VM Disk Size as machine has to be stopped for increasing size and then restarted \ No newline at end of file diff --git a/sidebars.js b/sidebars.js index 5468780..847ea21 100644 --- a/sidebars.js +++ b/sidebars.js @@ -16,7 +16,7 @@ module.exports = { type: 'category', label: 'Infra', collapsed: false, - items: ['infra/overview', 'infra/setting-up'], + items: ['infra/overview', 'infra/setting-up', 'infra/scaling-disk-size'], }, ], From 380705aa9c0cc150ce32c8bd70104b72ab05cf42 Mon Sep 17 00:00:00 2001 From: Karun Agarwal Date: Wed, 31 May 2023 11:30:03 +0530 Subject: [PATCH 2/4] Documentation to increase number of VM instances --- docs/infra/scaling-vm-horizontally.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/infra/scaling-vm-horizontally.md diff --git a/docs/infra/scaling-vm-horizontally.md b/docs/infra/scaling-vm-horizontally.md new file mode 100644 index 0000000..658afa1 --- /dev/null +++ b/docs/infra/scaling-vm-horizontally.md @@ -0,0 +1,20 @@ +--- +title: Scaling VM Horizontally +--- + + + Scaling VM Horizontally + + + +Pre-requisites: + +- Ensure you have followed steps from setup document. + +Next Steps: + +- Go to variables.tf file +- To update the number of VM instances, update the value of variable corresponding to VM Type. +- For ex. If you want to update the number of GPU Based Instances, update the value of variable `gpu_instance_count` +- Run ```terraform plan``` to review changes +- Run ```terraform apply``` to apply changes \ No newline at end of file From 9c00099a11e5ebe3c49c39d662ca20d07a1336d5 Mon Sep 17 00:00:00 2001 From: Karun Agarwal Date: Wed, 31 May 2023 12:06:25 +0530 Subject: [PATCH 3/4] Sidebars update --- docs/devops/add-vms-to-swarm.md | 8 ++++++++ sidebars.js | 8 +++++++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 docs/devops/add-vms-to-swarm.md diff --git a/docs/devops/add-vms-to-swarm.md b/docs/devops/add-vms-to-swarm.md new file mode 100644 index 0000000..93d0cf3 --- /dev/null +++ b/docs/devops/add-vms-to-swarm.md @@ -0,0 +1,8 @@ +--- +title: Adding newly added VMs to Swarm +--- + + + Adding newly added VMs to Swarm + + \ No newline at end of file diff --git a/sidebars.js b/sidebars.js index 847ea21..5633c95 100644 --- a/sidebars.js +++ b/sidebars.js @@ -16,7 +16,13 @@ module.exports = { type: 'category', label: 'Infra', collapsed: false, - items: ['infra/overview', 'infra/setting-up', 'infra/scaling-disk-size'], + items: ['infra/overview', 'infra/setting-up', 'infra/scaling-disk-size', 'infra/scaling-vm-horizontally'], + }, + { + type: 'category', + label: 'Devops', + collapsed: false, + items: ['devops/add-vms-to-swarm'], }, ], From e8fe1854920b43600760a998db6c153f0fc2709a Mon Sep 17 00:00:00 2001 From: Karun Agarwal Date: Fri, 2 Jun 2023 11:08:25 +0530 Subject: [PATCH 4/4] Scaling VM Vertically --- docs/infra/scaling-vm-vertically.md | 20 ++++++++++++++++++++ sidebars.js | 8 +++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 docs/infra/scaling-vm-vertically.md diff --git a/docs/infra/scaling-vm-vertically.md b/docs/infra/scaling-vm-vertically.md new file mode 100644 index 0000000..09e96b8 --- /dev/null +++ b/docs/infra/scaling-vm-vertically.md @@ -0,0 +1,20 @@ +--- +title: Scaling VM Vertically +--- + + + Scaling VM Vertically + + + +Pre-requisites: + +- Ensure you have followed steps from setup document. + +Next Steps: + +- Go to variables.tf file +- To update the instance size of VM instances, update the value of variable corresponding to VM Type. +- For ex. If you want to update the instance size of GPU Based Instances, update the value of variable `gpu_instance_size` +- Run ```terraform plan``` to review changes +- Run ```terraform apply``` to apply changes \ No newline at end of file diff --git a/sidebars.js b/sidebars.js index 5633c95..2abbbf5 100644 --- a/sidebars.js +++ b/sidebars.js @@ -16,7 +16,13 @@ module.exports = { type: 'category', label: 'Infra', collapsed: false, - items: ['infra/overview', 'infra/setting-up', 'infra/scaling-disk-size', 'infra/scaling-vm-horizontally'], + items: [ + 'infra/overview', + 'infra/setting-up', + 'infra/scaling-disk-size', + 'infra/scaling-vm-horizontally', + 'infra/scaling-vm-vertically', + ], }, { type: 'category',