Quick Start
Get TRIGRA up and running on your Kubernetes cluster in under 3 minutes.
Prerequisites
Section titled “Prerequisites”Before you begin, ensure you have:
- ✅ A running Kubernetes cluster
- ✅
kubectlinstalled and configured - ✅ Access to create namespaces and deployments
One-Command Install
Section titled “One-Command Install”The fastest way to install TRIGRA:
curl -fsSL https://raw.githubusercontent.com/Taiwrash/trigra/main/quick-install.sh | bash -s -- defaultThis will:
- ✅ Create the
defaultnamespace (or use existing) - ✅ Generate a secure webhook secret
- ✅ Deploy TRIGRA controller
- ✅ Install Cloudflare Tunnel (optional)
- ✅ Display your webhook URL
What Happens Next
Section titled “What Happens Next”After installation, you’ll see output like:
╔══════════════════════════════════════════════════════════════════╗║ 🔗 YOUR WEBHOOK URL (copy this to GitHub): ║╠══════════════════════════════════════════════════════════════════╣║ ║║ https://random-words.trycloudflare.com/webhook║ ║╚══════════════════════════════════════════════════════════════════╝
✓ Tunnel running in background (PID: 12345)Configure GitHub Webhook
Section titled “Configure GitHub Webhook”- Go to your GitHub repository → Settings → Webhooks
- Click Add webhook
- Configure:
- Payload URL: The webhook URL from installation
- Content type:
application/json - Secret: Your webhook secret (shown during install)
- Events: Just the push event
Verify Installation
Section titled “Verify Installation”Check that everything is running:
# Check deploymentkubectl get deployment trigra
# Check podskubectl get pods -l app=trigra
# View logskubectl logs -f deployment/trigraTest Your Setup
Section titled “Test Your Setup”Create a simple deployment in your repository:
apiVersion: apps/v1kind: Deploymentmetadata: name: test-nginxspec: replicas: 2 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:alpineCommit and push:
git add test-app.yamlgit commit -m "Test GitOps deployment"git pushWatch it deploy:
kubectl get deployments -wNext Steps
Section titled “Next Steps”- 📖 Read the full Installation Guide for more options
- 🔗 Learn about GitHub Webhooks configuration
- 🌐 Set up Cloudflare Tunnel for external access
- 📦 Deploy pre-built examples