{"id":612,"date":"2025-08-01T20:13:14","date_gmt":"2025-08-01T20:13:14","guid":{"rendered":"https:\/\/angelina.obvallend.nl\/?p=612"},"modified":"2026-11-22T20:27:30","modified_gmt":"2026-11-22T20:27:30","slug":"how-to-manage-gitops-environments-at-scale-a-technical-guide","status":"publish","type":"post","link":"https:\/\/pionative.com\/nl\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/","title":{"rendered":"How to manage GitOps environments at scale (a technical guide)"},"content":{"rendered":"<div data-breakout=\"normal\">\n<p id=\"viewer-foo\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Many organizations are adopting GitOps for Kubernetes, as it is becoming a standard for Kubernetes deployments. This article will focus on solving the technical GitOps environment problem and provide solutions that you can use to setup your GitOps deployment architecture. If you are unfamiliar with GitOps, I suggest reading <a class=\"DyYwg MFzI-\" href=\"https:\/\/pionative.com\/nl\/gitops-a-fully-declarative-way-to-deploy-to-kubernetes-1\/\" target=\"_top\" rel=\"noopener\" data-hook=\"web-link\"><u>this article<\/u><\/a>.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-2g82n\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">When implementing GitOps in mid- to enterprise-sized companies, some challenges arise. One of those challenges is the GitOps environment problem. How do you manage different environments in GitOps without compromising on important factors like quality, stability, security, compliance and automation? <\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<h2 id=\"viewer-805j4\" class=\"_9GYfw bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">The GitOps environment challenge<\/span><\/h2>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-5cbo9\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Depending on your DevOps maturity, organization type or compliance requirements, your most common deployments on Kubernetes may be (partly) automated or manual, small or big, simple or complex. But generally, when it comes to Kubernetes, there are two different kinds of GitOps deployments:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-6citq\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>1. Image version change (simple)<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-1dm3d\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">In modern DevOps teams, these simple deployments happen most often because of automation. When using a yaml templating like Helm or Kustomize (please use one of them!), this is usually an environment-specific configuration file (custom folder or values.yaml file) where only an image tag is updated. For each environment, there is a separate file, so updating these for 1 environment at a time (development &#8211;&gt; staging &#8211;&gt; production) is fairly easy to do.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<div id=\"viewer-5pe4j\" class=\"x0Od4\">\n<div class=\"bRMLc E-AYw\">\n<figure class=\"HZktw\" data-hook=\"figure-IMAGE\">\n<div class=\"e3LjG\" data-hook=\"image-viewer\">\n<div id=\"5pe4j\" class=\"SDH1R KlHWe\" data-hook=\"image-viewer-5pe4j\"><img decoding=\"async\" draggable=\"false\" src=\"https:\/\/static.wixstatic.com\/media\/e0455d_1deaf11dcd5a4a32afd7023ffb700106~mv2.png\/v1\/fill\/w_740,h_211,al_c,lg_1,q_85,enc_avif,quality_auto\/e0455d_1deaf11dcd5a4a32afd7023ffb700106~mv2.png\" alt=\"ree\" data-pin-url=\"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" data-pin-media=\"https:\/\/static.wixstatic.com\/media\/e0455d_1deaf11dcd5a4a32afd7023ffb700106~mv2.png\/v1\/fill\/w_1005,h_287,al_c,lg_1,q_85\/e0455d_1deaf11dcd5a4a32afd7023ffb700106~mv2.png\" data-load-done=\"\" \/><\/div>\n<\/div>\n<div class=\"x0Od4\">\n<div class=\"x0Od4\">\n<div class=\"YHYJf\"><\/div>\n<\/div>\n<\/div><figcaption class=\"oNhd8\">A simple change &#8211; version increment for production<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-fajhv\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>2. Manifest change (less simple)<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-c276r\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">When a change needs to be made to the Kubernetes yaml configuration (e.g. change configmap structure, a volume mapping or a service type), these resources are templated (reused for environments). So we need some mechanism in place if we wish to test our changes in a staging environment before rolling out in production. Also, for compliance reasons (especially on enterprise-level), we need to be sure that a change to staging does not affect production, even if it is an honest developer-mistake. For this, we need a good separation of environments. This article will zoom in on this challenge and propose possible solutions.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<div id=\"viewer-d6242\" class=\"x0Od4\">\n<div class=\"L25ty TXTOv\">\n<figure class=\"HZktw\" data-hook=\"figure-IMAGE\">\n<div class=\"e3LjG\" data-hook=\"image-viewer\">\n<div id=\"d6242\" class=\"SDH1R KlHWe\" data-hook=\"image-viewer-d6242\"><img decoding=\"async\" draggable=\"false\" src=\"https:\/\/static.wixstatic.com\/media\/e0455d_65919bbaf5724176bca293be78e20c63~mv2.png\/v1\/fill\/w_740,h_265,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto\/e0455d_65919bbaf5724176bca293be78e20c63~mv2.png\" alt=\"ree\" data-pin-url=\"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" data-pin-media=\"https:\/\/static.wixstatic.com\/media\/e0455d_65919bbaf5724176bca293be78e20c63~mv2.png\/v1\/fill\/w_1048,h_376,al_c,lg_1,q_90\/e0455d_65919bbaf5724176bca293be78e20c63~mv2.png\" data-load-done=\"\" \/><\/div>\n<\/div>\n<div class=\"x0Od4\">\n<div class=\"x0Od4\">\n<div class=\"YHYJf\"><\/div>\n<\/div>\n<\/div><figcaption class=\"oNhd8\">A less simple change &#8211; manifest update<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div data-breakout=\"normal\">\n<h2 id=\"viewer-dovab\" class=\"_9GYfw bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">Some GitOps Considerations<\/span><\/h2>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-ckmkq\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Before we dive into possible solutions, it is important to set some ground rules and best-practices. Of course, it depends on your company standards and way of working, but in general these rules apply to most DevOps teams implementing GitOps.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-639rg\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>1. All GitOps environments should use the mainline (master branch)<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-2u1tq\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">One proposed pattern for the GitOps environment challenge (especially popular during the early GitOps days) is the branch-per-environment setup. You create a branch for each environment and promote changes using Pull Requests. For some organization types this solution works, but there are quite some downsides to this approach, especially when implementing automation. A good article on the downsides for this (anti-)pattern can be found <a class=\"DyYwg MFzI-\" href=\"https:\/\/medium.com\/containers-101\/stop-using-branches-for-deploying-to-different-gitops-environments-7111d0632402\" target=\"_blank\" rel=\"noopener\" data-hook=\"web-link\"><u>here<\/u><\/a>.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-dihbk\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">For modern DevOps teams using Continuous Deployment we need a better solution, especially if we want a good Continuous Deployment setup. Branches are not meant to be permanent. We should use the mainline (master \/ main branch) for all permanent environments and separate environment logic using other mechanisms.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-e3f5\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>2. Code duplication should be avoided as much as possible<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-6lgjt\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">By minimizing code duplication we make sure that deployments are predictable. Manually changing duplicated code is time consuming and a recipe for disaster, especially when environment configurations diverge or when environment count increases. Code duplication can be avoided using templating tools like Helm or Kustomize<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-lj6s\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>3. Access Control and compliance rules should be evaluated<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-5p2nk\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Depending on the type of organization, the roles and access control for teams, environments or company departments may be different. Some companies have strict compliance rules for production environments. For example, some compliance rules may be:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-aa08q\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Production should be completely isolated<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-cejn4\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">A limited amount of users (people or apps) have edit-permissions for production<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-9jdmf\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">All source code (including Kubernetes manifests) should be reviewed by 2 peers before deploying to production<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-8i8ua\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Access Control in GitOps is done via Git. So you should consider splitting environments and teams to multiple GIT repositories, just for the sake of RBAC.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-5qod5\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>4. Keep your manifests close to the source code<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-46k9d\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">I have seen many teams placing Kubernetes manifests in separate repositories. Sometimes only senior developers, DevOps Engineers, or (even worse) other teams know about these Kubernetes manifests, making developers unaccustomed to using Kubernetes manifests. Keeping manifests close to your source-code will motivate developers to use them in their local development environments and edit them, which will increase your DevOps maturity. Also, placing them with your source code will be easier to enforce test automation on your Kubernetes manifests. You can simply make this part of your CI process, testing every single yaml change on each Pull Request to your mainline.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-bluvq\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>5. Deployments should be automated<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-13r6c\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Even if your organization is not ready for Continuous Deployment, you should focus on automating as much as possible. It will increase deployment frequency, reliability, lead time and eventually the quality of your applications.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-buedi\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>6. Auto-sync should be enabled for GitOps deployments<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-238c0\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">The power of GitOps comes from Git as your single source of truth. This is why we should configure our GitOps tool of choice (e.g. ArgoCD or Flux) to auto-sync. If we manually click the sync-button or if we let our pipeline run the sync using an API-call, we lose the GitOps advantage of no configuration drift, and cannot depend on the single source of truth (GIT) anymore. This is why a deployment should be immediately triggered after a git commit, nothing else. A more detailed explanation of why auto-sync should be used can be found <a class=\"DyYwg MFzI-\" href=\"https:\/\/medium.com\/containers-101\/gitops-patterns-auto-sync-vs-manual-sync-29bbf5d3a424\" target=\"_blank\" rel=\"noopener\" data-hook=\"web-link\"><u>here<\/u><\/a>.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<h2 id=\"viewer-btvks\" class=\"_9GYfw bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">Possible solutions<\/span><\/h2>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-42bg\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Taking into consideration the GitOps best-practices and ground-rules, we can design a solution framework that fits most use-cases. For simplicity, I will use Helm as an example for all solutions as this is the most popular templating method for deploying Kubernetes manifests.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<h3 id=\"viewer-63m78\" class=\"FB9A- bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">Where to put Kubernetes manifests<\/span><\/h3>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-d17ut\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">As mentioned before, I would recommend to build the Kubernetes manifests in the Source Code repository. However, I would not recommend using this repository as the GitOps repository linked to your ArgoCD or Flux for your stable environments (staging, production). Doing that has some downsides:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-7hgk5\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">You cannot update manifests and source-code at the same time, because your Docker build needs time to complete. GitOps will immediately sync the changes (with auto-sync), so if the image doesn&#8217;t exist, this will cause issues.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-e06h1\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">With GitOps , your commit history is your deployment history. Using your source code repository for deployments will make it harder to see &#8216;what happened when&#8217; from a deployment perspective.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-739fe\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Deploying your change to multiple environments will result in multiple commits in your mainline &#8211; in different folders. In the meantime, someone might have changed something else that conflicts with your deployment.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-2dknt\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Rollbacks become more complex, because your mainline is polluted with other non-related source-code updates.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-eu80a\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Observability is another GitOps challenge, which will become a lot harder if you don&#8217;t centralize your deployments to a limited amount of repositories.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-1mcmh\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">If you need clear separation of environments (risk, compliance, security or other reasons), you will need some kind of RBAC on your production environment. With Git, this is only possible on branch or repository level. Accidentally (manually) changing the wrong folder might happen, which can be unacceptable at enterprise-level.<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-dvfcu\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">This is why I recommend building your manifests to a package (Helm Chart), and using this chart in a separate GitOps repository. Environment-specific configuration is something that can be stored in the GitOps repository.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-856df\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Your pipeline will include something like this:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ol class=\"dVLdy aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-cd4b1\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Build your image and publish it to a Container Registry<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-1olnm\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Build your Helm Chart and publish it to a Helm Chart Repository<\/span><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"SnSbs\"><\/div>\n<div data-breakout=\"normal\">\n<div id=\"viewer-v3uq\" class=\"x0Od4\">\n<div class=\"L25ty TXTOv\">\n<figure class=\"HZktw\" data-hook=\"figure-IMAGE\">\n<div class=\"e3LjG\" data-hook=\"image-viewer\">\n<div id=\"v3uq\" class=\"SDH1R KlHWe\" data-hook=\"image-viewer-v3uq\"><img decoding=\"async\" draggable=\"false\" src=\"https:\/\/static.wixstatic.com\/media\/e0455d_02017fbe846b4df5844884daadfabea0~mv2.png\/v1\/fill\/w_675,h_367,al_c,q_85,enc_avif,quality_auto\/e0455d_02017fbe846b4df5844884daadfabea0~mv2.png\" alt=\"ree\" data-pin-url=\"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" data-pin-media=\"https:\/\/static.wixstatic.com\/media\/e0455d_02017fbe846b4df5844884daadfabea0~mv2.png\/v1\/fill\/w_810,h_440,al_c,lg_1,q_85\/e0455d_02017fbe846b4df5844884daadfabea0~mv2.png\" data-load-done=\"\" \/><\/div>\n<\/div>\n<div class=\"x0Od4\">\n<div class=\"x0Od4\">\n<div class=\"YHYJf\"><\/div>\n<\/div>\n<\/div><figcaption class=\"oNhd8\">Source code repository folder structure<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div data-breakout=\"normal\">\n<h3 id=\"viewer-fj313\" class=\"FB9A- bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">How many repositories should I have for my environments<\/span><\/h3>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-17u28\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">There are a lot of ways to structure your GitOps repositories, but this entirely depends on your organization. The easiest way to get started is to have one repository for all GitOps environments. I would recommend to use as few repositories as possible. This makes it easier to implement, monitor and maintain. Also, it helps with maintaining a uniform standard across your organization because all code is grouped together.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-eerqf\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">However, having 1 single GitOps repository for all deployments is almost impossible if you are serious about the stability for production environments. The more GitOps repositories you create, the more flexibility you have to implement the following requirements:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ol class=\"dVLdy aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-eltrj\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Do I implement RBAC for certain environments (production)?<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-tdic\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Do I need a manual (Pull Request) approval before going to production?<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-4trar\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Do I allow team A to modify deployments for team B?<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-fbf05\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">How many environments do I have? Do I want to group all development environments together in to 1 GitOps repository?<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-mmmg\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Should my staging environment be structured the same as production? Then I might create 3 GitOps repositories (development, staging, production)<\/span><\/p>\n<\/li>\n<\/ol>\n<\/div>\n<div data-hook=\"rcv-block60\"><\/div>\n<div data-breakout=\"normal\">\n<div id=\"viewer-b43aq\" class=\"x0Od4\">\n<div class=\"bRMLc E-AYw\">\n<figure class=\"HZktw\" data-hook=\"figure-IMAGE\">\n<div class=\"e3LjG\" data-hook=\"image-viewer\">\n<div id=\"b43aq\" class=\"SDH1R KlHWe -oLcC\" data-hook=\"image-viewer-b43aq\"><img decoding=\"async\" draggable=\"false\" src=\"https:\/\/static.wixstatic.com\/media\/b5d2a8_0d9cf35d008b4deeb4e8af62ddbd8d7a~mv2.png\/v1\/fill\/w_740,h_444,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto\/b5d2a8_0d9cf35d008b4deeb4e8af62ddbd8d7a~mv2.png\" alt=\"ree\" data-pin-url=\"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" data-pin-media=\"https:\/\/static.wixstatic.com\/media\/b5d2a8_0d9cf35d008b4deeb4e8af62ddbd8d7a~mv2.png\/v1\/fill\/w_2083,h_1249,al_c,q_95\/b5d2a8_0d9cf35d008b4deeb4e8af62ddbd8d7a~mv2.png\" data-load-done=\"\" \/><\/div>\n<\/div>\n<\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div data-hook=\"rcv-block61\"><\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-6h5lo\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">The image above shows 3 examples on how you can structure your GitOps repositories. I generally find that the optimal structure is somewhere in the middle (1 repo per environment), having a separate repository for each application will quickly get out of hand at scale, but it gives you most flexibility There are many variations in between these solutions, so choose carefully based on your organization structure. Some variations might include:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-bs1og\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">1 repository per team per environment<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-5urlc\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">1 repository per technology stack (group of teams) per environment<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-7rk85\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">1 repository for all non-production environments, 1 repository for production<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<h3 id=\"viewer-9k7u3\" class=\"FB9A- bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">Helm dependency vs templates<\/span><\/h3>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-aqnif\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Helm charts in GitOps repositories can be defined locally, with a templates folder including all the Kubernetes manifests or without a templates folder using a dependency. This dependency points to an external Helm Chart Repository where your chart is located. The pros and cons of each approach are explained below.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-b4vk0\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>1. Without a dependency using the templates folder<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-4u0s6\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">When resources are defined in the templates folder of the GitOps repository, the helm Chart will has to be copied from the App repository to the GitOps repository. This method is easier to use, but less scalable and less reliable in terms of versioning and stability.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-9ti2h\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Your resources are structured as follows:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-fq5l4\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">A local Helm chart is used without external dependencies in the Chart.yaml<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-3oolq\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">The values.yaml for this particular environment contains all the environment-specific configuration and includes an image tag that points to a tag in the Container Registry<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-2tjnt\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">The resources are copied from the app repository to each environment&#8217;s template folder<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-hook=\"rcv-block73\"><\/div>\n<div class=\"SnSbs\"><\/div>\n<div data-breakout=\"normal\">\n<div id=\"viewer-a96pf\" class=\"x0Od4\">\n<div class=\"L25ty TXTOv\">\n<figure class=\"HZktw\" data-hook=\"figure-IMAGE\">\n<div class=\"e3LjG\" data-hook=\"image-viewer\">\n<div id=\"a96pf\" class=\"SDH1R KlHWe -oLcC\" data-hook=\"image-viewer-a96pf\"><img decoding=\"async\" draggable=\"false\" src=\"https:\/\/static.wixstatic.com\/media\/e0455d_170f0996eb0b4a4fa3c78b8885956040~mv2.png\/v1\/fill\/w_666,h_201,al_c,q_85,enc_avif,quality_auto\/e0455d_170f0996eb0b4a4fa3c78b8885956040~mv2.png\" alt=\"ree\" data-pin-url=\"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" data-pin-media=\"https:\/\/static.wixstatic.com\/media\/e0455d_170f0996eb0b4a4fa3c78b8885956040~mv2.png\/v1\/fill\/w_932,h_281,al_c,lg_1,q_85\/e0455d_170f0996eb0b4a4fa3c78b8885956040~mv2.png\" data-load-done=\"\" \/><\/div>\n<\/div>\n<\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-69t8l\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>Pros<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-98i5f\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>Easy to debug<\/strong> for developers without Helm experience. There is no direct need to download the Helm cli for debugging and no external dependencies need to be downloaded<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-126an\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>Easier observability.<\/strong> Everything is directly visible in git, making it easier to see the single source of truth without the Helm CLI. Also, it is easier to see the deployment differences in history using git diff.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-2p4hs\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>Easy to hot-fix<\/strong> a production issue by manually modifying a generated manifest with a simple git commit<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-att3i\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>Cons<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-f9rah\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Lots of duplicated manifests, especially when you have many environments, this can become a chaos quickly. However, the resources are generated, so it may be acceptable.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-bns16\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Generated files should not be modified manually. This needs to be enforced using RBAC policies or Way of Work, otherwise it will result in deployment issues. Manually hot-fixing a generated file is very easy, but has consequences if not treated carefully.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-eeah7\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">No Chart versioning is done, so to rollback to a particular version is harder, because it is a git revert, not just a version update. Also, there is no relation to the Chart Version and the Docker image version, making the deployment less predictable.<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-62pjk\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>2. Using an external Chart in a Helm Chart repository<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-4capc\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">With this setup, the only configuration present in the GitOps repository is the environment-specific configuration and dependencies, based on versions. This solution scales better and has better versioning capabilities, but requires some more Helm expertise from developers.<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-81ae8\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">Your resources are structured as follows:<\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-fc4sq\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">For this particular environment, you define a Chart.yaml with an external dependency to a Chart Version. The Helm chart is located in a remote Helm Chart repository<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-533bs\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">The values.yaml for this particular environment contains all the environment-specific configuration and includes an image tag that points to a tag in the Container Registry<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-hook=\"rcv-block85\"><\/div>\n<div class=\"SnSbs\"><\/div>\n<div data-breakout=\"normal\">\n<div id=\"viewer-epg6\" class=\"x0Od4\">\n<div class=\"L25ty TXTOv\">\n<figure class=\"HZktw\" data-hook=\"figure-IMAGE\">\n<div class=\"e3LjG\" data-hook=\"image-viewer\">\n<div id=\"epg6\" class=\"SDH1R KlHWe -oLcC\" data-hook=\"image-viewer-epg6\"><img decoding=\"async\" draggable=\"false\" src=\"https:\/\/static.wixstatic.com\/media\/e0455d_6fbe13597bb243bd97da28a3ad54aeb7~mv2.png\/v1\/fill\/w_674,h_432,al_c,q_85,enc_avif,quality_auto\/e0455d_6fbe13597bb243bd97da28a3ad54aeb7~mv2.png\" alt=\"ree\" data-pin-url=\"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" data-pin-media=\"https:\/\/static.wixstatic.com\/media\/e0455d_6fbe13597bb243bd97da28a3ad54aeb7~mv2.png\/v1\/fill\/w_809,h_518,al_c,lg_1,q_90\/e0455d_6fbe13597bb243bd97da28a3ad54aeb7~mv2.png\" data-load-done=\"\" \/><\/div>\n<\/div>\n<\/figure>\n<\/div>\n<\/div>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-bggo1\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>Pros<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-cie80\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>No duplication<\/strong>. Kubernetes manifests are stored centrally in a Helm Chart<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-72auu\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>Better versioning<\/strong>. The Helm Chart has a clear version, making the Kubernetes resources part of your release pipeline.<\/span><\/p>\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"2\">\n<p id=\"viewer-sq83\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">The Docker Image together with the Kubernetes resources can be versioned as one, making deployments to production more predictable.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"2\">\n<p id=\"viewer-5p0co\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">It is easier to quickly test a particular version on a specific environment without copying many resources. <\/span><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-5k6j2\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>Standardization<\/strong>. With Helm dependencies, you can use more layers of Helm dependencies. This has advantages if you are a bigger organization where central teams develop Helm Charts for your whole organization. For example, you can build central Charts for each technology stack \/ department.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-251p\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\"><strong>Centralization<\/strong>. No matter how many GitOps repositories you have, you will always have 1 single place for all your Kubernetes manifests that are running in Staging \/ Production. This has several advantages:<\/span><\/p>\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"2\">\n<p id=\"viewer-bt50o\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Easy to execute central vulnerability scans on Kubernetes manifests using the central Helm Chart Repository. These vulnerabilities can be better pinpointed to particular versions<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"2\">\n<p id=\"viewer-fi72o\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">Better Observability to the deployed versions and their respective Kubernetes resources.<\/span><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-a3do1\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\"><strong>Cons<\/strong><\/span><\/p>\n<\/div>\n<div data-breakout=\"normal\">\n<ul class=\"_1g2Ed aQZ5Y\">\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-aomg7\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">A quick hot-fix-forward in production is harder. It is only possible to restore an older version. In most scenario&#8217;s, restoring an older version is the recommended rollback, but in more complex scenario&#8217;s you need to run a pipeline or generate some custom code.<\/span><\/p>\n<\/li>\n<li class=\"my-qv\" dir=\"auto\" aria-level=\"1\">\n<p id=\"viewer-10ctc\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"\"><span class=\"_6GiMu\">You need the Helm CLI when viewing the GitOps repository for debugging and observability purposes. In most scenario&#8217;s this is as simple as running a &#8216;helm template&#8217; command, but it adds a layer of complexity.<\/span><\/p>\n<\/li>\n<\/ul>\n<\/div>\n<div data-breakout=\"normal\">\n<h2 id=\"viewer-1lovj\" class=\"_9GYfw bgK6K aQZ5Y K2GSF\" dir=\"auto\"><span class=\"Ji5Hg\">Conclusion<\/span><\/h2>\n<\/div>\n<div data-breakout=\"normal\">\n<p id=\"viewer-5k8sr\" class=\"H3kVU _2CUKx aQZ5Y K2GSF\" dir=\"auto\"><span class=\"_6GiMu\">As with all things, structuring your GitOps repositories and environments depends on your use case. There is no one-size-fits-all, but with a good GitOps Bootstrap Platform it is really easy to change your structure later. Here at Pionative, we look at the structure of the company, teams, departments, DevOps Maturity, future goals and overall architecture while we implement GitOps solutions. If you would like to save the hassle and make sure you implement a good GitOps solution that has been battle-tested in production, has had many development iterations, plan an <a class=\"DyYwg MFzI-\" href=\"https:\/\/pionative.com\/nl\/introduction-meeting\/\" target=\"_top\" rel=\"noopener\" data-hook=\"web-link\"><u>kennismaking<\/u><\/a>, we&#8217;ll talk about your specific use case.<\/span><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Many organizations are adopting GitOps for Kubernetes, as it is becoming a standard for Kubernetes deployments. This article will focus on solving the technical GitOps environment problem and provide solutions that you can use to setup your GitOps deployment architecture. If you are unfamiliar with GitOps, I suggest reading this article. When implementing GitOps in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":613,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-612","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"acf":{"photo_gallery":{"logos_klanten":[[]]}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to manage GitOps environments at scale (a technical guide) - Pionative<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pionative.com\/nl\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to manage GitOps environments at scale (a technical guide) - Pionative\" \/>\n<meta property=\"og:description\" content=\"Many organizations are adopting GitOps for Kubernetes, as it is becoming a standard for Kubernetes deployments. This article will focus on solving the technical GitOps environment problem and provide solutions that you can use to setup your GitOps deployment architecture. If you are unfamiliar with GitOps, I suggest reading this article. When implementing GitOps in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pionative.com\/nl\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Pionative\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-01T20:13:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-22T20:27:30+00:00\" \/>\n<meta name=\"author\" content=\"manny\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschreven door\" \/>\n\t<meta name=\"twitter:data1\" content=\"manny\" \/>\n\t<meta name=\"twitter:label2\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/\"},\"author\":{\"name\":\"manny\",\"@id\":\"https:\\\/\\\/pionative.com\\\/#\\\/schema\\\/person\\\/e0b344c7bdd1e1cdf19b143b15614c7e\"},\"headline\":\"How to manage GitOps environments at scale (a technical guide)\",\"datePublished\":\"2025-08-01T20:13:14+00:00\",\"dateModified\":\"2026-11-22T20:27:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/\"},\"wordCount\":2366,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pionative.com\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/gitops-enviroment.avif\",\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/\",\"url\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/\",\"name\":\"How to manage GitOps environments at scale (a technical guide) - Pionative\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pionative.com\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/gitops-enviroment.avif\",\"datePublished\":\"2025-08-01T20:13:14+00:00\",\"dateModified\":\"2026-11-22T20:27:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/#\\\/schema\\\/person\\\/e0b344c7bdd1e1cdf19b143b15614c7e\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/pionative.com\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/gitops-enviroment.avif\",\"contentUrl\":\"https:\\\/\\\/pionative.com\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/gitops-enviroment.avif\",\"width\":454,\"height\":341},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pionative.com\\\/how-to-manage-gitops-environments-at-scale-a-technical-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pionative.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to manage GitOps environments at scale (a technical guide)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pionative.com\\\/#website\",\"url\":\"https:\\\/\\\/pionative.com\\\/\",\"name\":\"Pionative\",\"description\":\"Kubernetes and Cloud Native\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pionative.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pionative.com\\\/#\\\/schema\\\/person\\\/e0b344c7bdd1e1cdf19b143b15614c7e\",\"name\":\"manny\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e11d2671740ef2d84cac75d6279574d8f3c1664233e2a20d7001bcdc86e737ea?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e11d2671740ef2d84cac75d6279574d8f3c1664233e2a20d7001bcdc86e737ea?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e11d2671740ef2d84cac75d6279574d8f3c1664233e2a20d7001bcdc86e737ea?s=96&d=mm&r=g\",\"caption\":\"manny\"},\"sameAs\":[\"https:\\\/\\\/pionative.com\"],\"url\":\"https:\\\/\\\/pionative.com\\\/nl\\\/author\\\/manny\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to manage GitOps environments at scale (a technical guide) - Pionative","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pionative.com\/nl\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/","og_locale":"nl_NL","og_type":"article","og_title":"How to manage GitOps environments at scale (a technical guide) - Pionative","og_description":"Many organizations are adopting GitOps for Kubernetes, as it is becoming a standard for Kubernetes deployments. This article will focus on solving the technical GitOps environment problem and provide solutions that you can use to setup your GitOps deployment architecture. If you are unfamiliar with GitOps, I suggest reading this article. When implementing GitOps in [&hellip;]","og_url":"https:\/\/pionative.com\/nl\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/","og_site_name":"Pionative","article_published_time":"2025-08-01T20:13:14+00:00","article_modified_time":"2026-11-22T20:27:30+00:00","author":"manny","twitter_card":"summary_large_image","twitter_misc":{"Geschreven door":"manny","Geschatte leestijd":"12 minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#article","isPartOf":{"@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/"},"author":{"name":"manny","@id":"https:\/\/pionative.com\/#\/schema\/person\/e0b344c7bdd1e1cdf19b143b15614c7e"},"headline":"How to manage GitOps environments at scale (a technical guide)","datePublished":"2025-08-01T20:13:14+00:00","dateModified":"2026-11-22T20:27:30+00:00","mainEntityOfPage":{"@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/"},"wordCount":2366,"commentCount":0,"image":{"@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/pionative.com\/wp-content\/uploads\/2025\/08\/gitops-enviroment.avif","articleSection":["Uncategorized"],"inLanguage":"nl-NL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/","url":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/","name":"How to manage GitOps environments at scale (a technical guide) - Pionative","isPartOf":{"@id":"https:\/\/pionative.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#primaryimage"},"image":{"@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/pionative.com\/wp-content\/uploads\/2025\/08\/gitops-enviroment.avif","datePublished":"2025-08-01T20:13:14+00:00","dateModified":"2026-11-22T20:27:30+00:00","author":{"@id":"https:\/\/pionative.com\/#\/schema\/person\/e0b344c7bdd1e1cdf19b143b15614c7e"},"breadcrumb":{"@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#primaryimage","url":"https:\/\/pionative.com\/wp-content\/uploads\/2025\/08\/gitops-enviroment.avif","contentUrl":"https:\/\/pionative.com\/wp-content\/uploads\/2025\/08\/gitops-enviroment.avif","width":454,"height":341},{"@type":"BreadcrumbList","@id":"https:\/\/pionative.com\/how-to-manage-gitops-environments-at-scale-a-technical-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pionative.com\/"},{"@type":"ListItem","position":2,"name":"How to manage GitOps environments at scale (a technical guide)"}]},{"@type":"WebSite","@id":"https:\/\/pionative.com\/#website","url":"https:\/\/pionative.com\/","name":"Pionative","description":"Kubernetes and Cloud Native","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pionative.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Person","@id":"https:\/\/pionative.com\/#\/schema\/person\/e0b344c7bdd1e1cdf19b143b15614c7e","name":"manny","image":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/secure.gravatar.com\/avatar\/e11d2671740ef2d84cac75d6279574d8f3c1664233e2a20d7001bcdc86e737ea?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e11d2671740ef2d84cac75d6279574d8f3c1664233e2a20d7001bcdc86e737ea?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e11d2671740ef2d84cac75d6279574d8f3c1664233e2a20d7001bcdc86e737ea?s=96&d=mm&r=g","caption":"manny"},"sameAs":["https:\/\/pionative.com"],"url":"https:\/\/pionative.com\/nl\/author\/manny\/"}]}},"_links":{"self":[{"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/posts\/612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/comments?post=612"}],"version-history":[{"count":4,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/posts\/612\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/posts\/612\/revisions\/992"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/media\/613"}],"wp:attachment":[{"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/media?parent=612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/categories?post=612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pionative.com\/nl\/wp-json\/wp\/v2\/tags?post=612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}