Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation to scale infra #2

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/devops/add-vms-to-swarm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Adding newly added VMs to Swarm
---

<head>
<title>Adding newly added VMs to Swarm</title>
<meta name="description" content="Overview of Infra management for Amakrush" />
</head>
24 changes: 24 additions & 0 deletions docs/infra/scaling-disk-size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Scaling VM Disk Size
---

<head>
<title>Scaling VM Disk Size</title>
<meta name="description" content="Overview of Infra management for Amakrush" />
</head>

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
20 changes: 20 additions & 0 deletions docs/infra/scaling-vm-horizontally.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Scaling VM Horizontally
---

<head>
<title>Scaling VM Horizontally</title>
<meta name="description" content="Overview of Infra management for Amakrush" />
</head>

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
20 changes: 20 additions & 0 deletions docs/infra/scaling-vm-vertically.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Scaling VM Vertically
---

<head>
<title>Scaling VM Vertically</title>
<meta name="description" content="Overview of Infra management for Amakrush" />
</head>

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
14 changes: 13 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ module.exports = {
type: 'category',
label: 'Infra',
collapsed: false,
items: ['infra/overview', 'infra/setting-up'],
items: [
'infra/overview',
'infra/setting-up',
'infra/scaling-disk-size',
'infra/scaling-vm-horizontally',
'infra/scaling-vm-vertically',
],
},
{
type: 'category',
label: 'Devops',
collapsed: false,
items: ['devops/add-vms-to-swarm'],
},
],

Expand Down