Skip to content

Commit bad8316

Browse files
committed
docs: update README to enhance usage instructions and clarify cluster setup steps
1 parent c5ca5b5 commit bad8316

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,34 @@ This repository contains Ansible playbooks and configuration for setting up a Ku
66

77
## Usage
88

9-
#### Create the virtual machines and provision the Kubernetes cluster
9+
### Create the Virtual Machines and Provision the Kubernetes Cluster
1010

1111
```bash
1212
vagrant up
1313
```
1414

15-
#### Destroy the virtual machines
15+
This command will:
16+
17+
1. Create the virtual machines
18+
2. Install containerd runtime
19+
3. Install Kubernetes components
20+
4. Initialize the control plane
21+
5. Join worker nodes to the cluster
22+
6. Install Helm package manager
23+
24+
### Verify Cluster Status
25+
26+
SSH into the control plane node and check the cluster status:
1627

1728
```bash
18-
vagrant destroy
29+
vagrant ssh k8s-control
30+
kubectl get nodes
1931
```
2032

21-
Refer to the individual playbooks and included tasks for more details on the cluster setup and configuration.
33+
### Destroy the Cluster
34+
35+
When you're done experimenting, you can destroy all VMs:
36+
37+
```bash
38+
vagrant destroy
39+
```

0 commit comments

Comments
 (0)