Moonride uses modern DevOps practices to ensure reliable, fast, and secure deployments across a Kubernetes-based architecture. CI/CD is fully automated with GitHub Actions.
- Developer pushes to
main - GitHub Actions:
- Checks out code
- Builds Docker image
- Scans image using Trivy
- Pushes to DockerHub
- Deploys to Kubernetes using
kubectl set image
deployment.yaml: Container versioned services (v1, v1-1, v2)service.yaml: ClusterIP services for internal routingingress.yaml: Exposes API to the worldhpa.yaml: Auto scales pods based on CPU thresholds
- Secrets stored in GitHub Secrets
- DockerHub credentials never stored in plain text
- Trivy scan prevents vulnerabilities from reaching prod