Official documentation for the DataForge project.
This guide outlines the steps to set up a local development environment for DataForge using MicroK8s on a Windows machine with WSL2.
sudo apt update
sudo apt install -y snapd
sudo snap install core
sudo snap refresh
sudo snap install microk8s --classic
microk8s
group to avoid using sudo
:
sudo usermod -aG microk8s $USER
sudo chown -R $USER ~/.kube
newgrp microk8s
Activate essential add-ons:
microk8s enable dns
microk8s enable helm3
microk8s enable hostpath-storage
Check the status of MicroK8s:
microk8s status --wait-ready
Ensure the output indicates that all services are running.
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm version
Navigate to your project directory and clone the repository:
git clone https://github.com/leoBitto/DataForge.git
cd DataForge
chmod +x start.sh
./start.sh
microk8s kubectl get pods -n dataforge-test
All pods should show a Running
status.
microk8s kubectl logs <pod-name> -n dataforge-test
microk8s kubectl get services -n dataforge-test
microk8s stop
microk8s start