[{"data":1,"prerenderedAt":1251},["ShallowReactive",2],{"/blog/how-to-use-agent-based-gitops":3,"navigation-en-us":501,"banner-en-us":938,"footer-en-us":946,"blog-post-authors-en-us-Cesar Saavedra":1191,"blog-related-posts-en-us-how-to-use-agent-based-gitops":1206,"blog-share-wrapper-en-us":1231,"next-steps-en-us":1241},{"id":4,"title":5,"authors":6,"body":8,"category":478,"date":479,"description":480,"extension":481,"externalUrl":482,"faq":482,"featured":483,"heroImage":484,"hidePromo":483,"meta":485,"navigation":486,"path":487,"seo":488,"slug":492,"stem":493,"tags":494,"template":499,"updatedDate":482,"__hash__":500},"blogPosts/en-us/blog/how-to-use-agent-based-gitops.md","How to use a pull-based (agent-based) approach for GitOps",[7],"Cesar Saavedra",{"type":9,"value":10,"toc":469},"minimark",[11,27,32,35,44,49,57,66,76,79,87,105,117,127,134,150,157,167,174,188,195,201,204,211,220,234,241,244,250,260,270,290,293,301,310,317,332,339,345,352,361,368,374,384,390,399,405,413,422,430,436,445,448,452,455],[12,13,14,15,21,22,26],"p",{},"In the previous post, titled ",[16,17,20],"a",{"href":18,"rel":19},"https://about.gitlab.com/blog/gitops-done-3-ways/",[],"3 ways to approach GitOps",", we discussed the many benefits and options that GitLab supports for fulfilling the ",[16,23,25],{"href":24},"/topics/gitops/","GitOps"," requirements of customers, whose IT environments are composed of heterogeneous technologies and infrastructures. This post is a 3-part series, in which we delve deeper into these options. In this first part, we cover the pull-based or agent-based approach.",[28,29,31],"h2",{"id":30},"about-a-pull-based-or-agent-based-approach","About a pull-based or agent-based approach",[12,33,34],{},"In this approach, an agent is installed in your infrastructure components to pull changes whenever there is a drift from the desired configuration, which resides in GitLab. Although the infrastructure components could be anything from a physical server or router to a VM or a database, we will focus on a Kubernetes cluster in this section.",[12,36,37,38,43],{},"In the following example, the ",[16,39,42],{"href":40,"rel":41},"https://about.gitlab.com/solutions/gitops/",[],"reconciliation loop"," is made up of two components: an agent running on the Kubernetes cluster and a server-side service running on the GitLab instance. One of the benefits of this approach is that you don’t have to expose your Kubernetes clusters outside your firewall. Another benefit is its distributed architecture, in that agents running on the infrastructure components are in charge of correcting any drift relieving the server-side from resource consumption. This approach requires the maintenance and installation of agents on all infrastructure components you want to be part of your GitOps flows.",[45,46,48],"h3",{"id":47},"gitlab-agent-for-kubernetes-as-a-pull-based-approach","GitLab Agent for Kubernetes as a pull-based approach",[12,50,51,56],{},[16,52,55],{"href":53,"rel":54},"https://docs.gitlab.com/releases/#introducing-the-gitlab-kubernetes-agent",[],"Introduced"," as part of GitLab 13.4, the GitLab Agent for Kubernetes runs on your Kubernetes cluster and pulls changes in your infrastructure configuration from GitLab to your cluster keeping your infrastructure configuration from drifting away from its desired state.",[12,58,59,60,65],{},"GitLab Agent for Kubernetes (the feature) is currently implemented as two components (",[16,61,64],{"href":62,"rel":63},"https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/blob/master/doc/architecture.md",[],"architecture doc","):",[67,68,69,73],"ul",{},[70,71,72],"li",{},"GitLab Agent for Kubernetes (agentk program): The component that users install into their cluster.",[70,74,75],{},"GitLab Agent for Kubernetes Server (kas program): The server-side counterpart, that runs \"next to GitLab.\"",[12,77,78],{},"The high-level architecture of the GitLab Agent for Kubernetes is depicted below:",[12,80,81,86],{},[82,83],"img",{"alt":84,"src":85},"GitLab K8s agent high-level architecture","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398517/blog/Content%20Images/how-to-use-agent-based-gitops/0-K8s-agent-arch.png","\nGitLab K8s agent high-level architecture.",[12,88,89,90,94,95,98,99,101,102,104],{},"The ",[91,92,93],"strong",{},"agentk"," is installed on your Kubernetes cluster and it is the component that applies updates to the infrastructure. The ",[91,96,97],{},"kas"," is installed on the GitLab instance and it manages the authentication and authorization between ",[91,100,93],{}," instances and GitLab, monitors projects for any changes and gathers latest project manifests to send to ",[91,103,93],{}," instances.",[106,107,108],"blockquote",{},[12,109,110,113,114,116],{},[91,111,112],{},"NOTE:"," on Gitlab.com, the ",[91,115,97],{}," is installed and maintained by GitLab. On self-managed instances, the customer needs to install it.",[12,118,119,120,122,123,126],{},"In the following self-managed instance example, we go through a GitOps flow that leverages the pull-based approach to GitOps.  After the ",[91,121,93],{}," component has already been installed on the K8s cluster, the user proceeds to log on to the GitLab instance and creates a project called ",[91,124,125],{},"gitops-project",":",[12,128,129,133],{},[82,130],{"alt":131,"src":132},"Creating the gitops-project","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398518/blog/Content%20Images/how-to-use-agent-based-gitops/1-create-gitops-proj.png","\nCreating the gitops-project.",[12,135,136,137,139,140,142,143,145,146,149],{},"The project ",[91,138,125],{}," will be the one that will be monitored or observed by the ",[91,141,97],{}," component. Then, under ",[91,144,125],{},", the user creates an empty manifest file called ",[91,147,148],{},"manifest.yaml",". This is the manifest file that will contain the Infrastructure as Code configuration for this project:",[12,151,152,156],{},[82,153],{"alt":154,"src":155},"Manifest file created","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/2-manifest-file-created.png","\nManifest file created.",[12,158,159,160,163,164,166],{},"Next, the user creates a Kubernetes agent configuration repository project, ",[91,161,162],{},"kubernetes-agent",", which will contain information pertinent to the ",[91,165,97],{}," component.",[12,168,169,173],{},[82,170],{"alt":171,"src":172},"Creating the kubernetes-agent project","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/3-create-K8s-agent-proj.png","\nCreating the kubernetes-agent project.",[12,175,176,177,179,180,183,184,187],{},"Within the ",[91,178,162],{}," project, the user creates a subdirectory ",[91,181,182],{},".gitlab/agents/agent1",", where ",[91,185,186],{},"agent1"," is the name given to this specific agent:",[12,189,190,194],{},[82,191],{"alt":192,"src":193},"Config.yaml file created","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/4-config-yaml-created.png","\nConfig.yaml file created.",[12,196,197,198,200],{},"Notice that in the screenshot above, the project to be observed, ",[91,199,125],{},", was created in an earlier step.",[12,202,203],{},"The next step consists of the creation of a GitLab Rails Agent record to associate it with the Kubernetes agent configuration repository project. In the following screenshot, you see the commands that the user enters to first identify the task-runner pod, to log into it, to enter the Rails Console, and finally to create the agent record and a token for it:",[12,205,206,210],{},[82,207],{"alt":208,"src":209},"Agent record created","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398534/blog/Content%20Images/how-to-use-agent-based-gitops/5-agent-record-created.png","\nAgent record created.",[12,212,213,214,216,217,219],{},"In the above screenshot, the last command uses the agent token to create a secret on the K8s cluster for secured communication between the ",[91,215,93],{}," and the ",[91,218,97],{}," components.",[12,221,89,222,224,225,228,229,216,231,233],{},[91,223,93],{}," pod creation on the K8s cluster is the next step. For this, the user creates a ",[91,226,227],{},"resources.yml"," file, in which the secured communication protocol between the ",[91,230,93],{},[91,232,97],{}," is specified as shown in the following snippet:",[12,235,236,240],{},[82,237],{"alt":238,"src":239},"Websockets line","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398536/blog/Content%20Images/how-to-use-agent-based-gitops/6-wss-line-in-resources-yml.png","\nWebSockets communication specified in the resources.yml file.",[12,242,243],{},"In the above snippet, secured WebSockets protocol is being used. GitLab also supports gRPC.",[12,245,246,247,249],{},"Once the ",[91,248,227],{}," file is updated with the corresponding GitLab instance information, the user proceeds to create the pod:",[12,251,252,256,257,259],{},[82,253],{"alt":254,"src":255},"Agentk pod created","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398537/blog/Content%20Images/how-to-use-agent-based-gitops/7-agentk-created.png","\nCreation of the ",[91,258,93],{}," pod.",[12,261,262,263,266,267,269],{},"In the screenshot above, you can see the execution of the ",[91,264,265],{},"kubectl apply"," that created the ",[91,268,93],{}," pod in the K8s cluster.",[12,271,272,273,275,276,278,279,284,285,289],{},"Now that the ",[91,274,93],{}," and ",[91,277,97],{}," have been installed and are communicating securely with each other, the user can start performing some GitOps flows. Although the ",[16,280,283],{"href":281,"rel":282},"https://about.gitlab.com/topics/version-control/what-is-gitlab-flow/",[],"GitLab Flow"," is the recommended approach for DevOps, it is also applicable to GitOps flows; after all GitOps is all about applying the goodness of DevOps to managing ",[16,286,288],{"href":287},"/topics/gitops/infrastructure-as-code/","Infrastructure as Code",".",[12,291,292],{},"This means that the user should create an issue and then a merge request, in which all stakeholders can collaborate towards the resolution of the issue. For the sake of brevity, in this technical blog post, we will skip all these steps and show you how updates to the Infrastructure as Code configuration files are automatically applied to the infrastructure components.",[12,294,295,296,289],{},"NOTE: Fostering Collaboration is a great benefit of GitOps. For more information on this, check out this short ",[16,297,300],{"href":298,"rel":299},"https://youtu.be/onFpj_wvbLM",[],"tech video",[12,302,303,304,306,307,309],{},"For example, the user can start making updates to the ",[91,305,148],{}," file under the ",[91,308,125],{},", which is being observed by the kas component. Here you can see the user has pasted content into this file:",[12,311,312,316],{},[82,313],{"alt":314,"src":315},"Manifest.yaml file updated","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398537/blog/Content%20Images/how-to-use-agent-based-gitops/8-manifest-yaml-updated.png","\nManifest.yaml file updated.",[12,318,319,320,322,323,325,326,328,329,331],{},"Remember that this file had been created as an empty file. As soon as the user commits the changes displayed above, the ",[91,321,97],{}," component will detect the changes and communicate these to the ",[91,324,93],{}," component, which is running on the K8s cluster. The ",[91,327,93],{}," will immediately apply these changes to the infrastructure. In this example, the user has updated the infrastructure configuration file to have 2 instances of an nginx. As shown in the screenshot below, the ",[91,330,93],{}," has applied these updates by the instantiation of 2 nginx pods in the K8s cluster:",[12,333,334,338],{},[82,335],{"alt":336,"src":337},"Two nginx pods up and running","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398538/blog/Content%20Images/how-to-use-agent-based-gitops/9-two-nginx-running.png","\nGitOps flow instantiates two nginx pods.",[12,340,341,342,344],{},"If the user were to change the ",[91,343,148],{}," file one more time and increment the replicas of the nginx pod to 3:",[12,346,347,351],{},[82,348],{"alt":349,"src":350},"Manifest.yaml file updated with 3 nginx","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398518/blog/Content%20Images/how-to-use-agent-based-gitops/10-manifest-yaml-updated-again.png","\nManifest.yaml file updated with 3 nginx instances.",[12,353,354,355,357,358,360],{},"Again, as soon as the commit takes place, the ",[91,356,97],{}," component detects the update and communicates this to the ",[91,359,93],{}," component, which in turn, spins up a third nginx pod in the K8s cluster:",[12,362,363,367],{},[82,364],{"alt":365,"src":366},"Three nginx pods up and running","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/11-three-nginx-running.png","\nGitOps flow instantiates a third nginx pod.",[12,369,370,371,373],{},"Lastly, the user can check the log files of the different components running on GKE, in this example. In the following screenshot, the user can see the ",[91,372,97],{}," component running on the GitLab instance:",[12,375,376,380,381,383],{},[82,377],{"alt":378,"src":379},"kas running on GKE","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/12-kas-on-GKE.png","\nThe ",[91,382,97],{}," component running on GKE.",[12,385,386,387,389],{},"And then the user can drill down into the log of the ",[91,388,97],{}," component, and see how it is detecting commits on the project it is observing:",[12,391,392,380,396,398],{},[82,393],{"alt":394,"src":395},"kas log on GKE","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398534/blog/Content%20Images/how-to-use-agent-based-gitops/13-kas-log-on-GKE.png",[91,397,97],{}," log output on GKE.",[12,400,401,402,404],{},"Likewise, the user can navigate to the ",[91,403,93],{}," component of the K8s cluster:",[12,406,407,380,411,383],{},[82,408],{"alt":409,"src":410},"agentk running on GKE","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/14-agentk-on-GitLab.png",[91,412,93],{},[12,414,415,416,418,419,421],{},"And, again drill down to its log to see, how the ",[91,417,93],{}," component runs synchronizations with the ",[91,420,97],{}," component:",[12,423,424,380,428,398],{},[82,425],{"alt":426,"src":427},"agentk log on GKE","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/15-agentk-log-top-on-GitLab.png",[91,429,93],{},[12,431,432,433,435],{},"In the following screenshot, the user sees the log statements indicating that the ",[91,434,93],{}," is instantiating a third instance of an nginx pod:",[12,437,438,380,442,444],{},[82,439],{"alt":440,"src":441},"agentk instantiating a third nginx pod","https://res.cloudinary.com/about-gitlab-com/image/upload/v1782398533/blog/Content%20Images/how-to-use-agent-based-gitops/16-agentk-log-synced-on-GitLab.png",[91,443,93],{}," instantiating a third nginx pod.",[12,446,447],{},"The above sections described an example of the setup needed to install and run the GitLab Agent for Kubernetes as well as how projects are monitored and synchronized from GitLab to a running K8s cluster.",[28,449,451],{"id":450},"conclusion","Conclusion",[12,453,454],{},"We have gone over the setup and use of the Agent, which is an integral part of our pull-based or agent-based approach to GitOps. We also covered a GitOps flow that leveraged this agent-based approach, which is a good choice for Kubernetes shops that need to keep their clusters secured and behind their firewall. This approach comes with its drawbacks in that you need to maintain the agents, which also consume the resources of your infrastructure components. In part two of this series, we will discuss the push-based or agentless approach to GitOps.",[12,456,457,458,463,464],{},"Cover image by ",[16,459,462],{"href":460,"rel":461},"https://unsplash.com/@vincentledvina?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText",[],"Vincent Ledvina"," on ",[16,465,468],{"href":466,"rel":467},"https://unsplash.com/s/photos/grand-tetons?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText",[],"Unsplash",{"title":470,"searchDepth":471,"depth":471,"links":472},"",2,[473,477],{"id":30,"depth":471,"text":31,"children":474},[475],{"id":47,"depth":476,"text":48},3,{"id":450,"depth":471,"text":451},"engineering","2021-06-23","Learn how GitLab supports agent-based approach for GitOps","md",null,false,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749682037/Blog/Hero%20Images/agent-based-gitops-cover-880x587.jpg",{},true,"/en-us/blog/how-to-use-agent-based-gitops",{"title":5,"description":480,"ogTitle":5,"ogDescription":480,"noIndex":483,"ogImage":484,"ogUrl":489,"ogSiteName":490,"ogType":491,"canonicalUrls":489},"https://about.gitlab.com/blog/how-to-use-agent-based-gitops","https://about.gitlab.com","article","how-to-use-agent-based-gitops","en-us/blog/how-to-use-agent-based-gitops",[25,495,496,497,498],"features","CI","DevOps","demo","BlogPost","9y9FGJaUdgqY_x3Fz66pN9PzBQ1q-hTn1C-77CwRigY",{"logo":502,"freeTrial":507,"sales":512,"login":517,"items":522,"search":857,"minimal":889,"duo":908,"switchNav":917,"pricingDeployment":928},{"config":503},{"href":504,"dataGaName":505,"dataGaLocation":506},"/","gitlab logo","header",{"text":508,"config":509},"Get free trial",{"href":510,"dataGaName":511,"dataGaLocation":506},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":513,"config":514},"Request a demo",{"href":515,"dataGaName":516,"dataGaLocation":506},"/request-a-demo/","sales",{"text":518,"config":519},"Sign in",{"href":520,"dataGaName":521,"dataGaLocation":506},"https://gitlab.com/users/sign_in/","sign in",[523,608,696,701,781,835],{"text":524,"left":486,"config":525,"menu":527},"Platform",{"dataNavLevelOne":526},"platform",{"type":528,"link":529,"columns":533,"feature":597},"lists",{"text":530,"config":531},"Explore the Platform",{"href":532,"dataGaName":526,"dataGaLocation":506},"/platform/",[534,556,579],{"title":497,"items":535},[536,541,546,551],{"text":537,"config":538},"CI/CD",{"href":539,"dataGaLocation":506,"dataGaName":540},"/solutions/continuous-integration/","ci/cd",{"text":542,"config":543},"Source Code Management",{"href":544,"dataGaLocation":506,"dataGaName":545},"/solutions/source-code-management/","source code management",{"text":547,"config":548},"Agile Delivery",{"href":549,"dataGaLocation":506,"dataGaName":550},"/solutions/agile-delivery/","agile delivery",{"text":552,"config":553},"Artifact Management",{"href":554,"dataGaLocation":506,"dataGaName":555},"/artifact-central/","artifact management",{"title":557,"items":558},"Security & Governance",[559,564,569,574],{"text":560,"config":561},"Application Security Testing",{"href":562,"dataGaLocation":506,"dataGaName":563},"/solutions/application-security-testing/","application security testing",{"text":565,"config":566},"Governance & Compliance",{"href":567,"dataGaLocation":506,"dataGaName":568},"/solutions/software-compliance/","governance and compliance",{"text":570,"config":571},"Secrets Management",{"href":572,"dataGaLocation":506,"dataGaName":573},"/gitlab-secrets-manager/","secrets management",{"text":575,"config":576},"Supply Chain Security",{"href":577,"dataGaLocation":506,"dataGaName":578},"/solutions/supply-chain/","supply chain security",{"title":580,"items":581},"Agentic AI & Context",[582,587,592],{"text":583,"config":584},"Duo Agent Platform",{"href":585,"dataGaLocation":506,"dataGaName":586},"/gitlab-duo-agent-platform/","duo agent platform",{"text":588,"config":589},"Orbit Context Graph",{"href":590,"dataGaLocation":506,"dataGaName":591},"/gitlab-orbit/","orbit",{"text":593,"config":594},"Visibility & Measurement",{"href":595,"dataGaLocation":506,"dataGaName":596},"/solutions/visibility-measurement/","visibility and measurement",{"config":598,"title":601,"text":602,"link":603},{"background":599,"textColor":600},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":604,"config":605},"Read the announcement",{"href":606,"dataGaName":607,"dataGaLocation":506},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":609,"left":486,"config":610,"menu":612},"Solutions",{"dataNavLevelOne":611},"solutions",{"type":528,"link":613,"columns":617,"feature":687},{"text":614,"config":615},"View all Solutions",{"href":616,"dataGaName":611,"dataGaLocation":506},"/solutions/",[618,636,654],{"title":619,"items":620},"Outcomes",[621,626,631],{"text":622,"config":623},"DevOps Modernization",{"href":624,"dataGaLocation":506,"dataGaName":625},"/assessments/devops-modernization-assessment/","devops modernization",{"text":627,"config":628},"Security Modernization",{"href":629,"dataGaLocation":506,"dataGaName":630},"/assessments/security-modernization-assessment/","security modernization",{"text":632,"config":633},"AI Modernization",{"href":634,"dataGaLocation":506,"dataGaName":635},"/assessments/ai-modernization-assessment/","ai modernization",{"title":637,"items":638},"By size",[639,644,649],{"text":640,"config":641},"Enterprise",{"href":642,"dataGaLocation":506,"dataGaName":643},"/enterprise/","enterprise",{"text":645,"config":646},"Small Business",{"href":647,"dataGaLocation":506,"dataGaName":648},"/small-business/","small business",{"text":650,"config":651},"Startups",{"href":652,"dataGaLocation":506,"dataGaName":653},"/solutions/startups/","startups",{"title":655,"items":656},"Industries",[657,662,667,672,677,682],{"text":658,"config":659},"Financial Services",{"href":660,"dataGaLocation":506,"dataGaName":661},"/solutions/finance/","financial services",{"text":663,"config":664},"Public Sector",{"href":665,"dataGaLocation":506,"dataGaName":666},"/solutions/public-sector/","public sector",{"text":668,"config":669},"Telecommunications",{"href":670,"dataGaLocation":506,"dataGaName":671},"/solutions/telecommunications/","telecommunications",{"text":673,"config":674},"Automotive",{"href":675,"dataGaLocation":506,"dataGaName":676},"/solutions/automotive/","automotive",{"text":678,"config":679},"Education",{"href":680,"dataGaLocation":506,"dataGaName":681},"/solutions/education/","education",{"text":683,"config":684},"Aerospace",{"href":685,"dataGaLocation":506,"dataGaName":686},"/solutions/aerospace/","aerospace",{"config":688,"title":689,"text":690,"link":691},{"background":599,"textColor":600},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":692,"config":693},"Explore the standard",{"href":694,"dataGaName":695,"dataGaLocation":506},"/gitlab-security-standard/","gitlab security standard",{"text":697,"config":698},"Pricing",{"href":699,"dataGaName":700,"dataGaLocation":506,"dataNavLevelOne":700},"/pricing/","pricing",{"text":702,"config":703,"menu":705},"Resources",{"dataNavLevelOne":704},"resources",{"type":528,"link":706,"columns":710,"feature":772},{"text":707,"config":708},"View all resources",{"href":709,"dataGaName":704,"dataGaLocation":506},"/resources/",[711,744],{"title":712,"items":713},"Discover",[714,719,724,729,734,739],{"text":715,"config":716},"Docs",{"href":717,"dataGaName":718,"dataGaLocation":506},"https://docs.gitlab.com/","docs",{"text":720,"config":721},"University",{"href":722,"dataGaName":723,"dataGaLocation":506},"https://university.gitlab.com/","university",{"text":725,"config":726},"Demo Series",{"href":727,"dataGaName":728,"dataGaLocation":506},"/gitlab-technical-demo-series/","demo series",{"text":730,"config":731},"Demo Hub",{"href":732,"dataGaName":733,"dataGaLocation":506},"/demo-hub/","demo hub",{"text":735,"config":736},"Services",{"href":737,"dataGaName":738,"dataGaLocation":506},"/services/","services",{"text":740,"config":741},"Well Architected",{"href":742,"dataGaName":743,"dataGaLocation":506},"/resources/well-architected/","well architected",{"title":745,"items":746},"Connect",[747,752,757,762,767],{"text":748,"config":749},"Blog",{"href":750,"dataGaName":751,"dataGaLocation":506},"/blog/","blog",{"text":753,"config":754},"Community",{"href":755,"dataGaName":756,"dataGaLocation":506},"/community/","community",{"text":758,"config":759},"Customers",{"href":760,"dataGaName":761,"dataGaLocation":506},"/customers/","customers",{"text":763,"config":764},"Partners",{"href":765,"dataGaName":766,"dataGaLocation":506},"/partners/","partners",{"text":768,"config":769},"Events",{"href":770,"dataGaName":771,"dataGaLocation":506},"/events/","events",{"config":773,"title":774,"text":775,"link":776},{"background":599,"textColor":600},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":777,"config":778},"Read the latest",{"href":779,"dataGaName":780,"dataGaLocation":506},"/whats-new/","whats new",{"text":782,"config":783,"menu":785},"Company",{"dataNavLevelOne":784},"company",{"type":528,"columns":786},[787],{"items":788},[789,794,800,805,810,815,820,825,830],{"text":790,"config":791},"About",{"href":792,"dataGaName":793,"dataGaLocation":506},"/company/","about",{"text":795,"config":796,"footerGa":799},"Jobs",{"href":797,"dataGaName":798,"dataGaLocation":506},"/jobs/","jobs",{"dataGaName":798},{"text":801,"config":802},"Press",{"href":803,"dataGaName":804,"dataGaLocation":506},"/press/","press",{"text":806,"config":807},"Handbook",{"href":808,"dataGaName":809,"dataGaLocation":506},"https://handbook.gitlab.com/","handbook",{"text":811,"config":812},"Leadership",{"href":813,"dataGaName":814,"dataGaLocation":506},"/company/team/e-group/","leadership",{"text":816,"config":817},"Investor relations",{"href":818,"dataGaName":819,"dataGaLocation":506},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":821,"config":822},"Trust Center",{"href":823,"dataGaName":824,"dataGaLocation":506},"/security/","trust center",{"text":826,"config":827},"AI Transparency Center",{"href":828,"dataGaName":829,"dataGaLocation":506},"/ai-transparency-center/","ai transparency center",{"text":831,"config":832},"Newsletter",{"href":833,"dataGaName":834,"dataGaLocation":506},"/company/contact/#contact-forms","newsletter",{"text":836,"config":837,"menu":838},"Contact us",{"dataNavLevelOne":784},{"type":528,"columns":839},[840],{"items":841},[842,847,852],{"text":843,"config":844},"Talk to sales",{"href":845,"dataGaName":846,"dataGaLocation":506},"/sales/","talk to sales",{"text":848,"config":849},"Support portal",{"href":850,"dataGaName":851,"dataGaLocation":506},"https://support.gitlab.com/hc/en-us","support portal",{"text":853,"config":854},"Customer portal",{"href":855,"dataGaName":856,"dataGaLocation":506},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":858,"login":859,"suggestions":866},"Close",{"text":860,"link":861},"To search repositories and projects, login to",{"text":862,"config":863},"gitlab.com",{"href":520,"dataGaName":864,"dataGaLocation":865},"search login","search",{"text":867,"default":868},"Suggestions",[869,872,875,877,881,885],{"text":870,"config":871},"GitLab Duo Agent Platform",{"href":585,"dataGaName":870,"dataGaLocation":865},{"text":873,"config":874},"Code Suggestions (AI)",{"href":585,"dataGaName":873,"dataGaLocation":865},{"text":537,"config":876},{"href":539,"dataGaName":537,"dataGaLocation":865},{"text":878,"config":879},"GitLab on AWS",{"href":880,"dataGaName":878,"dataGaLocation":865},"/partners/technology-partners/aws/",{"text":882,"config":883},"GitLab on Google Cloud",{"href":884,"dataGaName":882,"dataGaLocation":865},"/partners/technology-partners/google-cloud-platform/",{"text":886,"config":887},"Why GitLab?",{"href":888,"dataGaName":886,"dataGaLocation":865},"/why-gitlab/",{"freeTrial":890,"mobileIcon":895,"desktopIcon":900,"secondaryButton":903},{"text":891,"config":892},"Start free trial",{"href":893,"dataGaName":511,"dataGaLocation":894},"https://gitlab.com/-/trials/new/","nav",{"altText":896,"config":897},"Gitlab Icon",{"src":898,"dataGaName":899,"dataGaLocation":894},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":896,"config":901},{"src":902,"dataGaName":899,"dataGaLocation":894},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":904,"config":905},"Get Started",{"href":906,"dataGaName":907,"dataGaLocation":894},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":909,"mobileIcon":913,"desktopIcon":915},{"text":910,"config":911},"Learn more about GitLab Duo",{"href":585,"dataGaName":912,"dataGaLocation":894},"gitlab duo",{"altText":896,"config":914},{"src":898,"dataGaName":899,"dataGaLocation":894},{"altText":896,"config":916},{"src":902,"dataGaName":899,"dataGaLocation":894},{"button":918,"mobileIcon":923,"desktopIcon":925},{"text":919,"config":920},"/switch",{"href":921,"dataGaName":922,"dataGaLocation":894},"#contact","switch",{"altText":896,"config":924},{"src":898,"dataGaName":899,"dataGaLocation":894},{"altText":896,"config":926},{"src":927,"dataGaName":899,"dataGaLocation":894},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":929,"mobileIcon":934,"desktopIcon":936},{"text":930,"config":931},"Back to pricing",{"href":699,"dataGaName":932,"dataGaLocation":894,"icon":933},"back to pricing","GoBack",{"altText":896,"config":935},{"src":898,"dataGaName":899,"dataGaLocation":894},{"altText":896,"config":937},{"src":902,"dataGaName":899,"dataGaLocation":894},{"title":939,"button":940,"config":944},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":604,"config":941},{"href":606,"dataGaName":942,"dataGaLocation":943},"orbit-ga-banner","global-banner",{"layout":945,"disabled":483},"release",{"data":947},{"text":948,"config":949,"items":954,"minimal":1180},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":950,"facebook":951,"youtube":952,"linkedin":953},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[955,1003,1060,1107,1148],{"title":697,"links":956,"subMenu":972},[957,962,967],{"text":958,"config":959},"View plans",{"href":699,"dataGaName":960,"dataGaLocation":961},"view plans","footer",{"text":963,"config":964},"Why Premium?",{"href":965,"dataGaName":966,"dataGaLocation":961},"/pricing/premium/","why premium",{"text":968,"config":969},"Why Ultimate?",{"href":970,"dataGaName":971,"dataGaLocation":961},"/pricing/ultimate/","why ultimate",[973],{"title":974,"links":975},"Contact Us",[976,979,981,983,988,993,998],{"text":977,"config":978},"Contact sales",{"href":845,"dataGaName":516,"dataGaLocation":961},{"text":848,"config":980},{"href":850,"dataGaName":851,"dataGaLocation":961},{"text":853,"config":982},{"href":855,"dataGaName":856,"dataGaLocation":961},{"text":984,"config":985},"Status",{"href":986,"dataGaName":987,"dataGaLocation":961},"https://status.gitlab.com/","status",{"text":989,"config":990},"Terms of use",{"href":991,"dataGaName":992,"dataGaLocation":961},"/terms/","terms of use",{"text":994,"config":995},"Privacy statement",{"href":996,"dataGaName":997,"dataGaLocation":961},"/privacy/","privacy statement",{"text":999,"config":1000},"Cookie preferences",{"dataGaName":1001,"dataGaLocation":961,"id":1002,"isOneTrustButton":486},"cookie preferences","ot-sdk-btn",{"title":524,"links":1004,"subMenu":1020},[1005,1008,1010,1012,1014,1016],{"text":1006,"config":1007},"Explore the platform",{"href":532,"dataGaName":526,"dataGaLocation":961},{"text":583,"config":1009},{"href":585,"dataGaName":586,"dataGaLocation":961},{"text":537,"config":1011},{"href":539,"dataGaName":540,"dataGaLocation":961},{"text":588,"config":1013},{"href":590,"dataGaName":591,"dataGaLocation":961},{"text":570,"config":1015},{"href":572,"dataGaName":573,"dataGaLocation":961},{"text":1017,"config":1018},"Why GitLab",{"href":888,"dataGaName":1019,"dataGaLocation":961},"why gitlab",[1021],{"title":1022,"links":1023},"Topics",[1024,1028,1031,1035,1040,1045,1050,1055],{"text":537,"config":1025},{"href":1026,"dataGaName":1027,"dataGaLocation":961},"/topics/ci-cd/","cicd",{"text":25,"config":1029},{"href":24,"dataGaName":1030,"dataGaLocation":961},"gitops",{"text":497,"config":1032},{"href":1033,"dataGaName":1034,"dataGaLocation":961},"/topics/devops/","devops",{"text":1036,"config":1037},"Version Control",{"href":1038,"dataGaName":1039,"dataGaLocation":961},"/topics/version-control/","version control",{"text":1041,"config":1042},"DevSecOps",{"href":1043,"dataGaName":1044,"dataGaLocation":961},"/topics/devsecops/","devsecops",{"text":1046,"config":1047},"Cloud Native",{"href":1048,"dataGaName":1049,"dataGaLocation":961},"/topics/cloud-native/","cloud native",{"text":1051,"config":1052},"AI for Coding",{"href":1053,"dataGaName":1054,"dataGaLocation":961},"/topics/devops/ai-for-coding/","ai for coding",{"text":1056,"config":1057},"Agentic AI",{"href":1058,"dataGaName":1059,"dataGaLocation":961},"/topics/agentic-ai/","agentic ai",{"title":609,"links":1061},[1062,1065,1068,1071,1074,1077,1079,1081,1083,1085,1087,1090,1092,1095,1099,1103],{"text":1063,"config":1064},"DevOps modernization",{"href":624,"dataGaName":625,"dataGaLocation":961},{"text":1066,"config":1067},"Security modernization",{"href":629,"dataGaName":630,"dataGaLocation":961},{"text":1069,"config":1070},"AI modernization",{"href":634,"dataGaName":635,"dataGaLocation":961},{"text":1072,"config":1073},"Financial services",{"href":660,"dataGaName":661,"dataGaLocation":961},{"text":1075,"config":1076},"Public sector",{"href":665,"dataGaName":666,"dataGaLocation":961},{"text":668,"config":1078},{"href":670,"dataGaName":671,"dataGaLocation":961},{"text":673,"config":1080},{"href":675,"dataGaName":676,"dataGaLocation":961},{"text":678,"config":1082},{"href":680,"dataGaName":681,"dataGaLocation":961},{"text":683,"config":1084},{"href":685,"dataGaName":686,"dataGaLocation":961},{"text":640,"config":1086},{"href":642,"dataGaName":643,"dataGaLocation":961},{"text":1088,"config":1089},"Small business",{"href":647,"dataGaName":648,"dataGaLocation":961},{"text":650,"config":1091},{"href":652,"dataGaName":653,"dataGaLocation":961},{"text":25,"config":1093},{"href":1094,"dataGaName":1030,"dataGaLocation":961},"/solutions/gitops/",{"text":1096,"config":1097},"Software composition analysis",{"href":577,"dataGaName":1098,"dataGaLocation":961},"software composition analysis",{"text":1100,"config":1101},"Value stream management",{"href":595,"dataGaName":1102,"dataGaLocation":961},"value stream management",{"text":1104,"config":1105},"All solutions",{"href":616,"dataGaName":1106,"dataGaLocation":961},"all solutions",{"title":702,"links":1108},[1109,1114,1119,1121,1123,1125,1127,1129,1131,1133,1135,1137,1139,1141,1144],{"text":1110,"config":1111},"Install",{"href":1112,"dataGaName":1113,"dataGaLocation":961},"/install/","install",{"text":1115,"config":1116},"Quick start guides",{"href":1117,"dataGaName":1118,"dataGaLocation":961},"/get-started/","quick setup checklists",{"text":715,"config":1120},{"href":717,"dataGaName":718,"dataGaLocation":961},{"text":720,"config":1122},{"href":722,"dataGaName":723,"dataGaLocation":961},{"text":725,"config":1124},{"href":727,"dataGaName":728,"dataGaLocation":961},{"text":730,"config":1126},{"href":732,"dataGaName":733,"dataGaLocation":961},{"text":735,"config":1128},{"href":737,"dataGaName":738,"dataGaLocation":961},{"text":748,"config":1130},{"href":750,"dataGaName":751,"dataGaLocation":961},{"text":753,"config":1132},{"href":755,"dataGaName":756,"dataGaLocation":961},{"text":758,"config":1134},{"href":760,"dataGaName":761,"dataGaLocation":961},{"text":763,"config":1136},{"href":765,"dataGaName":766,"dataGaLocation":961},{"text":768,"config":1138},{"href":770,"dataGaName":771,"dataGaLocation":961},{"text":831,"config":1140},{"href":833,"dataGaName":834,"dataGaLocation":961},{"text":1142,"config":1143},"What's new",{"href":779,"dataGaName":780,"dataGaLocation":961},{"text":1145,"config":1146},"All resources",{"href":709,"dataGaName":1147,"dataGaLocation":961},"all resources",{"title":782,"links":1149},[1150,1152,1154,1156,1158,1160,1162,1164,1166,1170,1175],{"text":790,"config":1151},{"href":792,"dataGaName":784,"dataGaLocation":961},{"text":795,"config":1153},{"href":797,"dataGaName":798,"dataGaLocation":961},{"text":801,"config":1155},{"href":803,"dataGaName":804,"dataGaLocation":961},{"text":806,"config":1157},{"href":808,"dataGaName":809,"dataGaLocation":961},{"text":811,"config":1159},{"href":813,"dataGaName":814,"dataGaLocation":961},{"text":816,"config":1161},{"href":818,"dataGaName":819,"dataGaLocation":961},{"text":821,"config":1163},{"href":823,"dataGaName":824,"dataGaLocation":961},{"text":826,"config":1165},{"href":828,"dataGaName":829,"dataGaLocation":961},{"text":1167,"config":1168},"Sustainability",{"href":1169,"dataGaName":1167,"dataGaLocation":961},"/sustainability/",{"text":1171,"config":1172},"Diversity, inclusion and belonging (DIB)",{"href":1173,"dataGaName":1174,"dataGaLocation":961},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1176,"config":1177},"Modern Slavery Transparency Statement",{"href":1178,"dataGaName":1179,"dataGaLocation":961},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1181},[1182,1185,1188],{"text":1183,"config":1184},"Terms",{"href":991,"dataGaName":992,"dataGaLocation":961},{"text":1186,"config":1187},"Cookies",{"dataGaName":1001,"dataGaLocation":961,"id":1002,"isOneTrustButton":486},{"text":1189,"config":1190},"Privacy",{"href":996,"dataGaName":997,"dataGaLocation":961},[1192],{"id":1193,"title":7,"body":482,"config":1194,"content":1196,"description":482,"extension":1200,"meta":1201,"navigation":486,"path":1202,"seo":1203,"stem":1204,"__hash__":1205},"blogAuthors/en-us/blog/authors/cesar-saavedra.yml",{"template":1195},"BlogAuthor",{"name":7,"config":1197},{"headshot":1198,"ctfId":1199},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659600/Blog/Author%20Headshots/csaavedra1-headshot.jpg","csaavedra1","yml",{},"/en-us/blog/authors/cesar-saavedra",{},"en-us/blog/authors/cesar-saavedra","SMqRf-z0W5m5GROz_dXGjmuIb3YaOwm_n_RfeK16GcA",[1207,1215,1223],{"title":1208,"description":1209,"heroImage":1210,"category":478,"date":1211,"authors":1212,"slug":1214,"externalUrl":482},"Two front doors: Module-level access in a Django GRC app","A technical deep-dive on restructuring a Django internal tool to support two distinct GitLab teams: Security Compliance and Internal Audit.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750097663/Blog/Hero%20Images/Blog/Hero%20Images/Workflow%201800x945_2gQoQIbY9NvjLFpXtsxtXy_1750097663612.png","2026-10-05",[1213],"Donovan Felton","module-level-access-in-a-django-grc-app",{"title":1216,"description":1217,"heroImage":1218,"category":478,"date":1219,"authors":1220,"slug":1222,"externalUrl":482},"How GitLab reduced code-per-agentic-flow ratio by 45%","Learn how Flow Registry, a component-based framework that compiles YAML configurations into fully functional LangGraph flows, helped improve scalability and more.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1774465167/n5hlvrsrheadeccyr1oz.png","2026-09-22",[1221],"Mikolaj Wawrzyniak","how-gitlab-reduced-code-per-agentic-flow-ratio",{"title":1224,"description":1225,"heroImage":1226,"category":478,"date":1227,"authors":1228,"slug":1230,"externalUrl":482},"Co-Create: Building GitLab with our users","How GitLab users collaborated with us to build practical product improvements in the first half of 2026.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1750099203/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%2820%29_2bJGC5ZP3WheoqzlLT05C5_1750099203484.png","2026-09-10",[1229],"Isa Huerga","co-create-h1-2026",{"header":1232,"text":1233,"button":1237,"disclaimer":1240},"Start your free\n\n30-day GitLab trial\n",[1234,1235,1236],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":508,"config":1238},{"href":1239,"dataGaName":511,"dataGaLocation":751},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1242,"blurb":1243,"button":1244,"secondaryButton":1249},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1245,"config":1246},"Get your free trial",{"href":1247,"dataGaName":511,"dataGaLocation":1248},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":977,"config":1250},{"href":845,"dataGaName":516,"dataGaLocation":1248},1794911779462]