Best source code hosting platforms for Kubernetes

GitLab and Gitea publish Kubernetes install paths, and Forgejo's chart is maintained by volunteers. This page shows what each option needs on a cluster, where the operating work lands and when each one fits.

On this page

Which source code hosting platforms for Kubernetes fit a cluster today

GitLab, Forgejo and Gitea can all be placed on Kubernetes, but the documentation behind each path differs. GitLab ships a Helm chart and a GitLab Operator, and its install methods page says the chart suits infrastructure that already runs on Kubernetes. Gitea's Kubernetes install guide documents an official Helm chart, installed with helm install gitea gitea-charts/gitea. Forgejo's own installation docs list binary, Docker and third-party packaging only, so its Helm chart is a volunteer-maintained community project, based on the Gitea chart, that your team would own in practice. Before you pick a path, confirm which chart version you will deploy and who answers for it when an upgrade breaks.

Choose GitLab when one platform should cover Git hosting, CI and security features, and when Kubernetes administrators already run your clusters. The Operator automates GitLab upgrade steps, but its documentation carries a known-issues caveat you should read before the first install. Premium adds advanced CI/CD and priority support, and Ultimate adds application security testing and compliance features, so confirm which tier your scope needs. Choose Gitea when you want a documented chart and a lighter product, and when your team can provide shared storage for high availability, either an S3-compatible bucket or a POSIX volume.

Choose Forgejo when GPL-3.0-or-later governance matters to your organization and your team accepts owning the chart, the values and upgrade testing on Kubernetes. Forgejo is licensed GPL-3.0-or-later from v9.0 onward, with earlier versions under MIT, and Codeberg e.V. owns its domains while project governance stays independent. On a cluster, that means your engineers write the Helm values, test each release against your data and keep the chart current, because Forgejo's own docs name no Kubernetes path. For production, pick the LTS line: v15 is supported until July 15, 2027, while v17.0.0 is supported until January 28, 2027. Gitea Cloud is hosted by the vendor and does not run in your cluster, so it is not a Kubernetes option for this scope.

Which source code hosting platforms for Kubernetes are documented to run there

This table shows which source code hosting platforms have a Kubernetes install path in their documentation, and what each path still depends on after installation. Read the middle column first for the documented method, then the last column for the connections, paid tiers and volunteer dependencies that remain. Gitea Cloud is included to show that a hosted service sits outside your cluster entirely.

OptionFits Kubernetes as documentedStill needs a connection or vendor service
GitLabYes. Helm chart for infrastructure already on Kubernetes, and a GitLab Operator that automates upgrade steps (operator page notes a known-issues caveat).Chart repository pulls at install and upgrade. Image sources to confirm. Proprietary ee/ features need a paid tier such as Premium or Ultimate.
ForgejoCommunity Helm chart maintained by volunteers, not named in Forgejo's own installation docs.Chart repository pulls at install and upgrade. Volunteer maintainers for the chart, so confirm support before use. Image sources to confirm.
GiteaOfficial Helm chart documented in Gitea's install guide, with configuration kept in its chart repository.Chart repository pulls at install and upgrade. Image sources to confirm. The high availability guide is for Gitea Enterprise.
Gitea CloudNo. Hosted service outside your cluster, so it does not run in your Kubernetes environment.Vendor-hosted service. Confirm data location, admin access and backup terms with the vendor.
All optionsInstall paths differ in upkeep, so check each chart or operator before committing.Image registries, runner placement and backup procedures: confirm for each option with the vendor or chart maintainer.

What Kubernetes asks of a Git host beyond the container image

Packaging is the first demand. A container image runs one process, but a Git host also needs its services wired together: the application, a database, storage, ingress and secrets. The packaging decides who owns that wiring. Gitea's Kubernetes install guide documents an official Helm chart, installed with helm install gitea gitea-charts/gitea, and GitLab offers both a Helm chart and a GitLab Operator. Forgejo's own installation documentation lists binary, Docker and third-party packages and names no Helm chart. A community chart exists at code.forgejo.org, and its README says it is based on the Gitea chart and maintained by volunteers. Whichever option you pick, keep the values file in Git, review every change to it, and record the chart version each environment runs, so a rebuild in another cluster produces the same Git host.

Stateful storage is the second demand, and it is where a Git host differs from a stateless web app. Repositories and attachments must survive pod restarts, node replacement and cluster rebuilds, so the storage design has to be settled before the first install. Gitea Enterprise's high availability guide describes running on Linux VMs, bare metal or Kubernetes, with shared storage that can be an S3-compatible bucket or a POSIX volume. That choice is the pattern to compare against. For each option, confirm which data sits on the shared store and which sits in the database, whether the chart can use a bucket backend or needs a shared volume that supports multiple writers, and how a backup captures the database and repository data at the same point in time. Ask the vendor for the restore procedure in writing, and test it in a non-production cluster before go-live.

Upgrades are the third demand, and resource planning comes with them. GitLab's install methods page says the Helm chart suits infrastructure already on Kubernetes, that administration needs Kubernetes knowledge, and that the default install needs more resources than a single-node Linux package install. Plan node capacity for that default install. The GitLab Operator page adds automation of GitLab upgrade steps and carries a known-issues caveat, so read that list before choosing it. For any option, upgrades move through chart versions and upgrade steps: check the release notes for each chart version, follow the upgrade path the vendor publishes, and rehearse the upgrade on a copy of production data. Finally, confirm ingress, TLS and runner placement for each option: which ingress controller and certificate process the chart expects, and whether CI runners sit in the same cluster, in a separate node pool or outside it.

How GitLab, Forgejo and Gitea compare as source code hosting platforms for Kubernetes

All three can run on Kubernetes, but their documented paths differ. GitLab documents an official Helm chart and Operator, Gitea documents an official Helm chart, and Forgejo's Kubernetes path is community-maintained. License, release support and CI systems also differ, so check each against your Kubernetes operating model and your compliance requirements.

GitLab open core license

GitLab Community Edition is MIT licensed, but files in the ee/ directory are proprietary and need a paid subscription, so GitLab is open core, and procurement documents should describe it that way. Ask your legal team how the ee/ terms apply if your team modifies that code, and confirm which features in your planned setup sit in ee/. That position is the same whichever install method you choose.

GitLab LICENSE file

GitLab Helm chart and Operator

The docs cover Kubernetes and OpenShift. The Helm chart suits infrastructure already running on Kubernetes, and the Operator adds automation of GitLab upgrade steps, though its documentation lists a known-issues caveat to review before rollout. Administration needs Kubernetes knowledge, and the default install needs more resources than a single-node Linux package install. Choose this path for the full suite when your platform team can run it. GitLab Premium adds advanced CI/CD and priority support.

GitLab install methods

Forgejo license and governance

Forgejo is GPL-3.0-or-later from v9.0 onward, with earlier versions under MIT, so the license depends on which release you deploy. Codeberg e.V., a non-profit association registered in Berlin, owns Forgejo's domains, while project governance stays independent of it. Ask your legal team to review the license for each version in your upgrade path, and record the domain ownership in your vendor risk file.

Forgejo FAQ

Forgejo community Kubernetes path

Forgejo's installation docs list binary, Docker and third-party packages, and name no Helm chart or Kubernetes guide. A community chart in the forgejo-helm repository is based on the Gitea chart and maintained by volunteers, so your platform team owns upgrades and gaps. Forgejo Actions is not compatible with GitHub Actions, so plan to rewrite pipelines if you migrate. Choose this path only if your team is comfortable running a volunteer-maintained chart in production.

Forgejo Helm chart

Gitea MIT license and Go

Gitea is MIT licensed and written in Go, and describes itself as an all-in-one service for Git hosting, code review, package management and CI/CD. Go matters for your team only if you plan to patch or extend the server. Gitea Actions is designed to be compatible with GitHub Actions, so test your existing workflows before assuming they run unchanged. Release v28.1.0 is dated October 6, 2026, so confirm the version your upgrade plan targets.

Gitea Helm chart and high availability

Gitea documents an official Helm chart, installed from its chart repository, which fits a team that wants a Kubernetes install path. For high availability, Gitea Enterprise's guide describes running on Linux VMs, bare metal or Kubernetes, with shared storage that can be an S3-compatible bucket or a POSIX volume. High availability is documented in the Enterprise guide, so price that edition in if you need it.

Gitea Kubernetes install

What running each option on Kubernetes involves for installs, updates, licensing and monitoring

GitLab has the most documented Kubernetes routes, with a Helm chart for infrastructure already on Kubernetes and a GitLab Operator that automates upgrade steps. Both need Kubernetes knowledge to administer, and the default install needs more resources than a single-node Linux package install. The install methods page explains which route suits which team.

  • Install path: Choose between the Helm chart and the Operator. Read the Operator page's known-issues section before you standardize on it.
  • Updates: GitLab releases a minor version monthly on the third Thursday and backports security fixes to the current and previous two releases. Plan upgrades around that cadence.
  • Licensing: Content outside the ee/ directory is MIT licensed, while ee/ falls under the Enterprise Edition license. GitLab Premium costs 29 US dollars per user per month, billed annually, according to the GitLab pricing page. The top tier is custom priced, and all three tiers are available for self-managed installations.
  • Monitoring and backup: Confirm in the chart and Operator docs which metrics, logs and backup settings are configured by default and which you must add.

Before you choose a route, confirm the Operator's known-issues list, your user count against the Premium price, and your cluster's spare resources.

How chart updates, container images and storage connect for a Git host on Kubernetes

The diagram starts with the administrator running helm install or helm upgrade, or the GitLab Operator, against the Kubernetes cluster. Each option pulls its chart from its own source: the GitLab charts, the Gitea chart repository, or the Forgejo OCI chart at code.forgejo.org. The cluster then runs the Git service pods, which pull container images from a registry you need to confirm and read and write repositories on shared storage, either a volume or an S3-compatible bucket. The pods also hand CI jobs to runners. Before you commit, confirm where images come from, where the database runs, and whether your storage supports the access pattern your chosen option needs.

Chart pulls, image pulls, storage and CI jobs for a Git host on Kubernetes.

Which team can run each option on Kubernetes without outside help

A platform group that already runs Helm upgrades on Kubernetes can take on the GitLab chart or the Gitea chart with the most existing practice. GitLab's install methods page says the Helm chart suits infrastructure already on Kubernetes, but it also says administration needs Kubernetes knowledge and that the default install needs more resources than a single-node Linux package install, so size node capacity before the first install. The official Gitea chart installs from a Helm repository with helm install gitea gitea-charts/gitea, and its configuration sits in the chart repository that Gitea's docs name. Before either install, hand over five items: pinned chart versions, values files in version control, repository and storage backups, runner capacity, and one named owner for chart breakage.

A team with one Kubernetes administrator and no Git hosting specialist should plan around GitLab's documented need for Kubernetes knowledge and resource footprint before choosing it. That administrator becomes the only person who can diagnose a failed release, a node under memory pressure or a stalled runner, so name a second person for each task and agree who covers leave. GitLab's Operator page describes automation of upgrade steps and carries a known-issues caveat, so read the current known issues before choosing the Operator over the chart. Runner capacity is a separate line item: decide how many runners you need, where they run and who scales them. Ask the vendor or partner for a written resource request and a list of supported Kubernetes versions before committing.

A team that would own the Forgejo community chart must own its values, version pinning and upgrade testing, because the chart is volunteer-maintained and breakage response is yours to plan for. Forgejo's installation docs list binary, Docker and third-party packaging only, so the Kubernetes route is the chart at code.forgejo.org, installed with helm install forgejo oci://code.forgejo.org/forgejo-helm/forgejo. Pin the chart version first, then test each upgrade against a copy of your repositories and schedule it against Forgejo's support windows: stable releases get three months plus a two-week window, and LTS releases get one year and three months. Confirm the backup and monitoring procedures for each chart in its project documentation before go-live, including repository and storage backups. Name one owner who can hold an upgrade when chart breakage appears.

Questions buyers ask before hiring help for a Git host on Kubernetes

How much Kubernetes experience does each option need?

GitLab's install methods page says administration needs Kubernetes knowledge, and its Helm chart suits infrastructure that already runs on Kubernetes. Gitea documents an official Helm chart and a Kubernetes install guide, so its starting point is the most documented of the three for Kubernetes. Forgejo's own installation docs list binary, Docker and third-party packaging only, and its Helm chart is maintained by volunteers. In all three cases, plan for a platform engineer who already owns ingress, storage classes, backups and certificates. If that person is not on your staff, the skills gap belongs in the written scope as its own deliverable.

Can our team run Forgejo on Kubernetes without outside help?

Possibly, if you already run Helm-based workloads and accept that the chart is community maintained. Forgejo's installation docs name no Helm chart or Kubernetes guide, so the chart at code.forgejo.org is a community route you must evaluate yourself. Its README says it is based on the Gitea chart and maintained by volunteers. Also check the release line you will run: v15 is the LTS release supported until July 15, 2027, while v17.0.0, released October 15, 2026, is supported until January 28, 2027, according to the Forgejo releases page. Your team would own chart upgrades, backups and the release calendar. Outside help is most useful for the first deployment, the SSO and backup design and the upgrade runbook.

What does the GitLab Operator automate, and what should we check first?

The GitLab Operator automates GitLab upgrade steps, and its operator page carries a known-issues caveat that you should read before choosing it. Check first whether your platform team prefers an operator model or the Helm chart, since GitLab positions the chart for infrastructure already on Kubernetes. Next, size the resource footprint, because the default install needs more resources than a single-node Linux package install. Then review the open known issues for the exact version you plan to run. Confirm the upgrade path from your current version using GitLab's upgrade paths documentation, because automation does not replace upgrade planning. Ask the vendor or your own tests to confirm what the operator leaves to you, such as database, object storage and backup configuration.

What does a paid tier change for a Kubernetes deployment?

A paid tier changes which features and support you get, so start by listing the features your teams need. According to the GitLab pricing page, GitLab Free costs 0 US dollars, Premium costs 29 US dollars per user per month billed annually, and Ultimate is custom priced, with all three tiers available for self-managed installations. Premium adds advanced CI/CD and priority support. Ultimate adds application security testing, software supply chain security, vulnerability management and compliance features. For Gitea, the Enterprise high availability guide describes running on Linux VMs, bare metal or Kubernetes, with shared storage that can be an S3-compatible bucket or a POSIX volume. Ask each vendor which tier features your high availability design depends on, and confirm licensing terms in writing before you budget.

What drives the cost and time of hiring help, and what belongs in a written quote?

The main drivers are cluster size, storage choice, identity and SSO setup, the number of runners, upgrade cadence and who owns the chart after handover. Storage choice changes the integration work: an S3-compatible bucket and a POSIX volume are different designs, as Gitea's high availability guide shows. Identity work grows with each identity source and access rule. Runner count grows with teams and pipeline types. Upgrade cadence matters because GitLab ships a minor version monthly and backports security fixes to the current and previous two releases, according to its maintenance policy. DeployOpen does not publish a price list. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support is available as a retainer. Ask for named deliverables, acceptance tests, handover documents, a split of one-time and recurring costs, and the owner of the chart after go-live.

Can we start with one option and move later?

Yes, a move is possible, but its cost depends on the features and CI you adopt, so confirm the path before you commit. The CI/CD difference matters most. Forgejo Actions is designed to be familiar to GitHub Actions users but is not compatible with GitHub Actions, while Gitea Actions is designed to be compatible with GitHub Actions. Pipelines written for one forge will need rework on another. The sibling Git hosting comparison covers migration paths in more depth, including licenses, CI/CD and resource needs. Choose an option whose repositories, issues and users you can export, and confirm with the vendor which export tools exist for your version. Plan any migration as a separate written scope with its own cutover and rollback steps.

How DeployOpen helps run a Git host on your Kubernetes cluster

DeployOpen is a Chainscore Labs company that deploys self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a Git host on Kubernetes, we start from the platform you choose, agree the scope in writing, and deliver a running, hardened and documented install that your team can operate after handover.

How we scope

  • The written scope names the Git platform, the cluster target, and the identity model before work starts.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any work begins.
  • Scoping settles the install method early: GitLab offers a Helm chart and an operator, while Forgejo's chart is volunteer-maintained.

How we build

  • Deploy the chosen Helm chart or operator into your cluster, with configuration kept in version-controlled files.
  • Configure shared storage for replicas, such as an S3-compatible bucket or POSIX volume, where the chosen platform supports it.
  • Connect SSO, access control and audit logging so your security team can review the setup.

How we hand over

  • Documentation covers the install, upgrade path, backup and restore steps, and the admin tasks your team will own.
  • Handover includes runbooks and access records, so your platform engineers can follow the upgrade steps themselves.
  • Security testing can be scoped in before go-live, with findings and fixes documented for your records.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, agreed separately from the install.
  • GitLab ships monthly minor releases, while Forgejo publishes an LTS line, so upgrade cadence differs by platform.
  • Ask for response times and coverage in the written proposal before you sign.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.