Before working with this infrastructure, ensure you have:
| Tool | Version | Purpose | Install |
|---|---|---|---|
kubectl |
1.25+ | Kubernetes CLI | Install |
helm |
3.12+ | Package manager | Install |
doppler |
Latest | Secret management | brew install dopplerhq/cli/doppler |
communoplus-api projectcommunoplus-k8s-infra repo# Clone the repository
git clone git@github.com:Communoplus/communoplus-k8s-infra.git
cd communoplus-k8s-infra
# Login to Doppler (required for scripts)
doppler login
# Configure kubectl
export KUBECONFIG=/path/to/kubeconfig
# Verify connection
kubectl get nodes
kubectl get nodes
kubectl get namespaces
./do/tools/install-loki-stack.sh
This deploys:
# Check pods
kubectl get pods -n monitoring
# Access Grafana
kubectl port-forward -n monitoring svc/loki-grafana 3000:80