---
title: "How we build containerized services at GitHub using GitHub"
description: "GitHub runs hundreds of internal and production services on a \"paved path\": a Kubernetes-based, multi-cluster, multi-region platform plus conventions and custom tooling layered on top."
url: "https://swe.quest/articles/how-we-build-containerized-services-at-github-using-github-fb75069d884e4f71"
canonical: "https://github.blog/engineering/architecture-optimization/how-we-build-containerized-services-at-github-using-github/"
source: "GitHub Engineering"
published: "2023-08-02"
difficulty: "easy"
kind: "Case study"
reading_minutes: 6
tags: ["kubernetes","developer-productivity","deployment","containers","ci-cd"]
---

# How we build containerized services at GitHub using GitHub

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2023-08-02, 6 min read, Case study. Original: [https://github.blog/engineering/architecture-optimization/how-we-build-containerized-services-at-github-using-github/](https://github.blog/engineering/architecture-optimization/how-we-build-containerized-services-at-github-using-github/)

## Summary

GitHub runs hundreds of internal and production services on a "paved path": a Kubernetes-based, multi-cluster, multi-region platform plus conventions and custom tooling layered on top. Services are onboarded via a Hubot ChatOps scaffold command and a GitHub App that opens a PR with deployment.yaml, Kubernetes Deployment/Service manifests, a Debian Dockerfile, and CI checks that build images on every push. Each app/environment gets its own namespace, secrets are injected per-environment from a central vault, and deployments render manifests with the latest image and secrets before applying them across clusters. Centralizing capacity planning, security scanning, base images and deploy tooling lets teams skip cluster management and focus on their applications.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)

## Prerequisites

- Kubernetes basics ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Docker containers ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- CI/CD pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

Kubernetes, Hubot, ChatOps, GitHub Apps, Docker, Dependabot, merge queue

## Related posts

- [How GitHub’s Developer Experience team improved innerloop development](https://swe.quest/articles/how-github-s-developer-experience-team-improved-innerloop-development-a46c7e17f2bd5376.md): GitHub Engineering · 2024-01-24 · Medium · 8 min read · Developer productivity, Containers, Microservices, Testing, Go
  GitHub's Developer Experience team built Hubber Codespace (HCS), a Docker-Compose project that lets engineers stand up the full distributed GitHub ecosystem locally or in a codespace to integration-test changes before deploying.
- [Using GitHub Actions with Heroku Flow for additional Security Control](https://swe.quest/articles/using-github-actions-with-heroku-flow-for-additional-security-control-fea72ed977a6f5e4.md): Heroku Engineering · 2025-03-27 · Medium · 7 min read · CI/CD, Deployment, Security, Cloud platforms
  Because GitHub Orgs can't allowlist Heroku IP ranges, Heroku offers a sample pattern: a self-hosted GitHub Actions runner deployed as a Docker app in a Heroku Private Space with static outbound IPs, plus a Heroku Flow Action.
- [Enabling branch deployments through IssueOps with GitHub Actions](https://swe.quest/articles/enabling-branch-deployments-through-issueops-with-github-actions-8c407fc129221de6.md): GitHub Engineering · 2023-02-02 · Medium · 6 min read · Deployment, CI/CD, Infrastructure as code
  GitHub's branch-deploy Action brings the branch deploy model to any repository through IssueOps: comment commands like \`.deploy\` or \`.deploy noop\` on a pull request trigger a GitHub Actions workflow that deploys the branch before it is merged.
- [How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com](https://swe.quest/articles/how-github-uses-github-actions-and-actions-larger-runners-to-build-and-test-915368ba99ad3985.md): GitHub Engineering · 2023-09-26 · Medium · 8 min read · CI/CD, Developer productivity, Identity & auth, Scaling
  GitHub moved CI for GitHub.com to GitHub Actions on larger runners, peaking at about 4,500 concurrent 32-core runners, 15,000 jobs per hour and 150,000 cores.
- [GitHub’s Engineering Team has moved to Codespaces](https://swe.quest/articles/github-s-engineering-team-has-moved-to-codespaces-1bb37c0be0b5fad7.md): GitHub Engineering · 2021-08-11 · Medium · 9 min read · Developer productivity, Developer tools, Containers, Cloud platforms
  GitHub moved development of its 14-year-old, 13 GB github/github monolith from bespoke macOS laptops to cloud-hosted Codespaces, replacing fragile local environments with disposable, task-per-branch dev environments.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
