File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Expand file tree Collapse file tree 1 file changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,34 @@ This repository contains Ansible playbooks and configuration for setting up a Ku
6
6
7
7
## Usage
8
8
9
- #### Create the virtual machines and provision the Kubernetes cluster
9
+ ### Create the Virtual Machines and Provision the Kubernetes Cluster
10
10
11
11
``` bash
12
12
vagrant up
13
13
```
14
14
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:
16
27
17
28
``` bash
18
- vagrant destroy
29
+ vagrant ssh k8s-control
30
+ kubectl get nodes
19
31
```
20
32
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
+ ```
You can’t perform that action at this time.
0 commit comments