Quick Start
Create your first Kubernetes cluster in minutes
Prerequisites
Make sure you have installed:
- VirtualBox 7.0+
- Vagrant 2.4+
- kubectl 1.32+
Create the Cluster
# Clone the repository
git clone https://github.com/gilmararaujo/k8s-provisioner.git
cd k8s-provisioner/vagrant
# Start the cluster
vagrant up
This will create:
- 1 Storage VM (NFS Server)
- 1 Control Plane node
- 2 Worker nodes
Access the Cluster
# Copy kubeconfig
vagrant ssh controlplane -c 'sudo cat /etc/kubernetes/admin.conf' > ~/.kube/config-lab
# Use the config
export KUBECONFIG=~/.kube/config-lab
# Verify
kubectl get nodes
Expected output:
What’s Included
Your cluster comes pre-configured with:
| Component | Description |
|---|---|
| Calico | CNI networking |
| MetalLB | LoadBalancer for bare metal |
| Istio | Service mesh |
| Prometheus + Grafana | Monitoring |
| Loki + Promtail | Logging |
| Metrics Server | Resource metrics |
Next Steps
- Configuration - Customize your cluster
- CLI Commands - Learn the CLI
- Components - Deep dive into each component