Orbit builds a graph of GitLab data and code. Users reach it only through GitLab: the Orbit
API, MCP, agents and Code Intelligence. If Orbit fails, Orbit features fail. GitLab
continues to work. Reports about glab orbit workspace index or DuckDB are about the local CLI, not
this service.
| Owner | Context Systems team, Slack #f_orbit_dev |
| On-call | Orbit tier-2 in incident.io: schedule |
| Alerts | GitLab.com: #f_orbit_alerts. No Orbit alert pages: alerts with the PagerDuty label post to #production. Dedicated: #dedicated-prod-alerts and incident.io, no PagerDuty pages. |
| Dashboards | Webserver, Indexer, all. Logs: Kibana. Staging: nonprod Kibana, index pubsub-orbit-inf-gstg. |
| GitLab.com | Dedicated | |
|---|---|---|
| Cluster | GKE orbit-prd in project gl-orbit-prd. Staging: orbit-stg |
Each tenant's EKS cluster. Only the Dedicated EOC runs commands. |
| Namespaces | Orbit gkg, NATS nats, Siphon siphon |
Same |
| Deployments | orbit-webserver, orbit-indexer-sdlc, orbit-indexer-code, orbit-dispatcher, orbit-health-check |
Same, named gkg-* |
Get the GitLab.com cluster credentials once:
gcloud container clusters get-credentials orbit-prd --region us-east1 --project gl-orbit-prdFirst 5 minutes
-
Check health, one real query (project
gitlab-org/orbit/knowledge-graph) and the pods. Healthy:statussayshealthy, the query returns one project, all pods areRunning.GITLAB_HOST=gitlab.com glab orbit status GITLAB_HOST=gitlab.com glab orbit query 'MATCH (p:Project) WHERE p.id = 77960826 RETURN p.id, p.full_path LIMIT 1' kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg get pods -
Image changed recently? Check it in troubleshooting. If yes, roll back.
-
Gitaly overloaded? Stop code indexing. ClickHouse overloaded? Stop code indexing first. Still overloaded: stop SDLC indexing.
-
Users affected? In Slack, run
/inc declare. Add the labelService::Orbit. Select the severity. -
No cause after 15 minutes? In the incident channel, run
/inc escalateand select Orbit. -
Other checks: troubleshooting.
Emergency actions
GitLab.com
Do not use kubectl scale, keda.enabled: false or autoscaling.keda.sh/paused: "true" on an
indexer. They do not stop the pool. Use paused-replicas as below.
Stop code indexing:
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg annotate scaledobject orbit-indexer-code autoscaling.keda.sh/paused-replicas="0" --overwriteStop SDLC indexing:
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg annotate scaledobject orbit-indexer-sdlc autoscaling.keda.sh/paused-replicas="0" --overwriteCheck: PAUSED shows True and the pool shows 0/0. Ignore the two KEDA warnings.
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg get scaledobject,deployEffect: that data goes stale. Queries continue.
Resume when the overload is gone. Done when the pool shows its minimum READY count.
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg annotate scaledobject orbit-indexer-code autoscaling.keda.sh/paused-replicas-
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg annotate scaledobject orbit-indexer-sdlc autoscaling.keda.sh/paused-replicas-Turn off Code Intelligence only. In Slack #production, run
/chatops gitlab run feature set orbit_code_intelligence false. The Code navigation button
and panel go away from the file view after a page reload. The Orbit API, MCP and indexing
continue. No data is deleted. To restore, run
/chatops gitlab run feature set orbit_code_intelligence true. If the production check
fails, ask @sre-oncall to confirm, then add --ignore-production-check.
Turn Orbit off for all users. In k8s-workloads gitlab-com, set
global.appConfig.knowledgeGraph.enabled: false in releases/gitlab/values/gprd.yaml.gotmpl.
An SRE in gl-infra approves the MR. Effect after the deploy:
- The Orbit API and MCP return 404. GraphQL
Query.orbit.serviceStatusreturnsnull. The REST/api/v4/orbit/statusendpoint was removed. - The Orbit menu and Code Intelligence go away. No data is deleted.
- SDLC indexing continues. Code indexing fails with 401 errors.
- After you turn Orbit on again, the code of each project updates at its next push.
Dedicated (the Dedicated EOC runs the commands)
Stop code indexing:
kubectl -n gkg annotate scaledobject gkg-indexer-code autoscaling.keda.sh/paused-replicas="0" --overwriteStop SDLC indexing. This pool has no KEDA. Write down the second number in READY (for
example 2 in 1/2). A Helm upgrade, for example in maintenance, sets the SDLC count back.
The code pause stays until you remove it.
kubectl -n gkg get deploy gkg-indexer-sdlc
kubectl -n gkg scale deploy/gkg-indexer-sdlc --replicas=0Check: PAUSED of gkg-indexer-code is True, and both indexers show 0/0:
kubectl -n gkg get scaledobject,deploy.
Resume:
kubectl -n gkg annotate scaledobject gkg-indexer-code autoscaling.keda.sh/paused-replicas-
kubectl -n gkg scale deploy/gkg-indexer-sdlc --replicas=<count you wrote down>Turn Orbit off for users: ask the Dedicated EOC to set orbit.application_enabled: false
and run an emergency maintenance. This is level 1 of the
Dedicated rollback. Then stop both indexers.
Warning
Do not use Dedicated rollback level 2 or 3 in an incident. They set orbit.infra_enabled
to false, which deletes the Orbit graph. Orbit then needs a full rebuild.
More: Orbit on Dedicated.
If X fails
| Part | If it fails |
|---|---|
| Webserver | Orbit API returns errors. |
| SDLC or code indexer | That data goes stale. |
| Dispatcher | No new indexing jobs. After a deploy with a new schema version, indexers wait. |
| NATS (owned by Orbit) | All indexing and Siphon stop. Indexer pods and new webserver pods crash-loop. Running webserver pods continue to serve queries. |
Graph ClickHouse orbit-production-us-east1 (owned by Orbit) |
Queries and indexing fail. |
| Health-check | status reports unhealthy. Queries continue. Indexer pools run their fallback pod count. |
| Siphon or datalake ClickHouse | No new SDLC data. Code indexing after a push stops. |
| GitLab API or Workhorse | Orbit API is down even when Orbit is healthy. Code indexing stops. |
| Gitaly | Code indexing stops. Code tools return no file content. |
Escalation
- No answer from Orbit in 15 minutes: run
/inc escalateand select the IMOC. Also contact the Context Systems engineering manager in Slack#f_orbit. - Siphon or the datalake ClickHouse: Slack
#g_analytics_platform_insights(Siphon runbook). - Gitaly, PostgreSQL or the GitLab API: the on-call of that GitLab.com service.
- Graph ClickHouse platform problem: open a case at
console.clickhouse.cloud/support, severity S1 if
production is affected. Tell
#f_clickhouse. To expedite, ask in#clickhouse-gitlab-external431. - Dedicated: the Dedicated EOC owns the tenant and runs
/inc escalatefor Orbit.
Get this access before your shift
| GitLab.com | Dedicated | |
|---|---|---|
| Cluster | Issue in gitlab-com/gl-security/corp/issue-tracker, template gcp_project_iam_update |
Dedicated SREs only, through break-glass |
| Deploys | ArgoCD through Lumos, role knowledge-graph-members |
Switchboard (Dedicated team) |
| ClickHouse console | SAML, Service Reader with SQL console read only | Break-glass only |
| Grafana and logs | Standard GitLab.com access | Lumos tile "GitLab Dedicated Observability" |
The graph ClickHouse holds Red data: code symbols and SDLC metadata of private projects (#1398). Use Service Reader only.
More: troubleshooting, maintenance, monitoring, alerts, NATS, rebuild and reindex, disaster recovery, secret rotation, SDLC indexing, code indexing, architecture.