Skip to content

Commit cb1d554

Browse files
chore: removing infra section from the readme (#22)
1 parent 0643eda commit cb1d554

File tree

1 file changed

+0
-55
lines changed

1 file changed

+0
-55
lines changed

README.md

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -191,58 +191,3 @@ Once the cluster is deployed you can easily stop and start nodes using the follo
191191
~: helmvm node stop node-0
192192
~: helmvm node start node-0
193193
```
194-
195-
### Creating and applying your infrastructe
196-
197-
HelmVM is capable of applying a directory with Terraform manifests before installing the cluster on top of it. For that you can use the `--infra /path/to/terraform/manifests` flag. Make sure your Terraform `output` has an variable called `nodes`, something like this for a 6 node cluster should suffice (roles can be `controller`, `controller+worker`, or `worker`):
198-
199-
```
200-
output "nodes" {
201-
value = [
202-
{
203-
address = aws_instance.worker_0.public_ip,
204-
role = "controller",
205-
port = 22,
206-
user = "ubuntu",
207-
keyPath = "/home/user/.ssh/mykey.pem"
208-
},
209-
{
210-
address = aws_instance.worker_1.public_ip,
211-
role = "controller",
212-
port = 22,
213-
user = "ubuntu",
214-
keyPath = "/home/user/.ssh/mykey.pem"
215-
},
216-
{
217-
address = aws_instance.worker_2.public_ip,
218-
role = "controller",
219-
port = 22,
220-
user = "ubuntu",
221-
keyPath = "/home/user/.ssh/mykey.pem"
222-
},
223-
{
224-
address = aws_instance.worker_3.public_ip,
225-
role = "worker",
226-
port = 22,
227-
user = "ubuntu",
228-
keyPath = "/home/user/.ssh/mykey.pem"
229-
},
230-
{
231-
address = aws_instance.worker_4.public_ip,
232-
role = "worker",
233-
port = 22,
234-
user = "ubuntu",
235-
keyPath = "/home/user/.ssh/mykey.pem"
236-
},
237-
{
238-
address = aws_instance.worker_5.public_ip,
239-
role = "worker",
240-
port = 22,
241-
user = "ubuntu",
242-
keyPath = "/home/user/.ssh/mykey.pem"
243-
},
244-
]
245-
}
246-
```
247-
248-
You have to provide the SSH port, an user and a SSH key so HelmVM can reach the nodes.

0 commit comments

Comments
 (0)