How sidhumanbirsingh/self-hosted-gitlab-ce-kubernetes works
This repository provisions a self-hosted GitLab CI/CD platform through two deployment paths: Docker Compose for local use and Kubernetes for a production-style setup. The main user workflow is browser access through a proxy or HTTPS ingress to GitLab, which uses PostgreSQL and delegates pipeline jobs to GitLab Runner. Kubernetes adds monitoring, centralized logging, persistent storage, and namespace-level reliability controls. The graph reflects README-documented relationships; source excerpts were unavailable, so implementation-level call paths are not verified.
Main entry points: gitlab.yaml GitLab CE · docker-compose.yml Compose Stack · base Kubernetes Base · runner.yaml GitLab Runner
Components 17
Deployment
- Compose Stack
docker/docker-compose.yml - Nginx Proxy
nginx/nginx.conf - Kubernetes Base
k8s/base - HTTPS Ingress
k8s/base/gitlab.yaml
Core Platform
- GitLab CE
k8s/base/gitlab.yaml - PostgreSQL
k8s/base/postgres.yaml - GitLab Runner
k8s/base/runner.yaml
Observability
- Prometheus
k8s/base/prometheus.yaml - Prometheus Config
k8s/base/prometheus-config.yaml - Grafana
k8s/base/grafana.yaml - Fluent Bit
k8s/logging/fluent-bit-values.yaml - Elasticsearch
k8s/logging/es-values.yaml - Kibana
k8s/logging/kibana-values.yaml
Operations
- GitLab Backup
scripts/backup.sh - Environment Init
scripts/init.sh - Kubernetes Access
scripts/deploy-k8s.sh
Other components
- Browser
Connections 20
- Browser → Nginx Proxy: HTTPS access
README.md - Nginx Proxy → GitLab CE: proxies requests
README.md - Browser → HTTPS Ingress: HTTPS access
README.md - HTTPS Ingress → GitLab CE: routes traffic
README.md - GitLab CE → PostgreSQL: uses database
README.md - GitLab Runner → GitLab CE: connects back
README.md - Prometheus → GitLab CE: scrapes metrics
README.md - Prometheus Config → Prometheus: configures scraping
README.md - Grafana → Prometheus: visualizes metrics
README.md - Fluent Bit → Elasticsearch: ships logs
README.md - Kibana → Elasticsearch: explores logs
README.md - GitLab Backup → GitLab CE: backs up data
README.md - Environment Init → Compose Stack: prepares environment
README.md - Kubernetes Access → Kubernetes Base: deploys and forwards
README.md - Compose Stack → GitLab CE: orchestrates service
README.md - Compose Stack → PostgreSQL: orchestrates service
README.md - Compose Stack → GitLab Runner: orchestrates service
README.md - Kubernetes Base → GitLab CE: deploys service
README.md - Kubernetes Base → PostgreSQL: deploys service
README.md - Kubernetes Base → GitLab Runner: deploys service
README.md