GitOps continuous delivery
Argo CD has a clear lead for GitOps continuous delivery in internal developer platforms.
Since Oct 17Data through Nov 21, 2026Based on 8 AI answersAutomated index
Brands AI mentions
Also mentioned rarely: Trivy, Cosign, GitHub, GitLab CI, Jenkins, HashiCorp Vault, Flagger, Argo Rollouts, OpenTelemetry, Red Hat OpenShift, GitLab, Kubeconform, Crossplane, Kubernetes, Sigstore, OpenTofu, HashiCorp Vault CSI Provider, Red Hat, AWS Secrets Manager, Azure Key Vault, ApplicationSet, AWS, Azure Kubernetes Service, Google Cloud GKE Enterprise
- Argo CDChatGPTChatGPT 100%Google AI ModeGoogle AI Mode 100%
- BackstageChatGPTChatGPT 80%Google AI ModeGoogle AI Mode 67%
- FluxChatGPTChatGPT 80%Google AI ModeGoogle AI Mode 67%
- KyvernoChatGPTChatGPT 60%Google AI ModeGoogle AI Mode 100%
- FluxChatGPTChatGPT 40%Google AI ModeGoogle AI Mode 100%
Argo CD leads this topic, but Argo Rollouts leads Internal Developer Platforms and CI/CD overall.
Questions and answers
ChatGPTNov 21, 2026
- 1Backstage
- 2Argo CD
- 3Flux
- 4Flux
- 5GitHub
- 6GitLab
- 7GitHub Actions
- 8GitLab CI
- 9Jenkins
- 10Helm
- 11Kustomize
- 12Terraform
- 13OpenTofu
- 14Kyverno
- 15External Secrets
- 16Trivy
- 17Cosign
- 18Argo Rollouts
- 19Flagger
- 20Prometheus
- 21Grafana
- 22OpenTelemetry
- 23Red Hat
- 24HashiCorp Vault
- 25AWS Secrets Manager
- 26AWS
- 27Azure Key Vault
- 28ApplicationSet
- 29Open Policy Agent Gatekeeper
- 30Azure Kubernetes Service
- 31Google Cloud GKE Enterprise
- 32Red Hat OpenShift
Best practices for GitOps-driven continuous delivery in an internal developer platform
For an internal developer platform (IDP), the strongest approach is to treat Git as the source of truth for desired infrastructure and application state, with automated reconciliation continuously ensuring that deployed environments match what has been approved and committed.
I recommend designing your GitOps architecture around five principles:
- Declarative everything: Infrastructure, Kubernetes resources, application deployments, policies, and platform configurations should be version-controlled.
- Pull-based deployment: Agents inside target environments pull approved changes from Git rather than allowing CI pipelines to push directly into production.
- Separation of concerns: Keep application delivery, platform infrastructure, and shared platform services logically separated.
- Progressive delivery: Use automated health checks, staged rollouts, and rollback mechanisms.
- Developer self-service: Make GitOps capabilities available through standardized templates, APIs, and platform workflows rather than requiring developers to understand every underlying tool.
Here is how I would approach the implementation.
1. Recommended reference architecture
I would organize the platform into three distinct GitOps layers.
Developer experience layer
Developer portal · Service catalog · Templates · Self-service APIs
(Backstage / Platform API)
Creates pull requests and deployment requests
Git and automation layer
Source repositories
Application code and platform configuration
CI pipelines
Build, test, scan, sign and publish
GitOps repositories
Desired deployment state
Policy gates
Approval, security and compliance
Pull-based continuous reconciliation
GitOps control plane
Argo CD
Application synchronization
Flux CD
Reconciliation and automation
Runtime environments
Dev
Staging
Production
Kubernetes clusters · Platform services · Application workloads
The important architectural distinction is that CI builds and validates artifacts, while GitOps CD deploys them by reconciling the desired state.
This follows the four OpenGitOps principles: declarative configuration, versioned and immutable state, automatic pulling, and continuous reconciliation.
Recommended technology stack
Capability Recommended tools Git hosting GitHub / GitLab CI GitHub Actions / GitLab CI / Jenkins GitOps CD Argo CD or Flux Kubernetes packaging Helm + Kustomize Developer portal Backstage Infrastructure as Code Terraform / OpenTofu Policy as Code Kyverno / OPA Gatekeeper Secrets management External Secrets Operator + Vault Image security Trivy / Cosign Progressive delivery Argo Rollouts / Flagger Observability Prometheus / Grafana / OpenTelemetry My default recommendation: Start with Argo CD if you want a visual, application-centric developer experience. Consider Flux if you prefer a lightweight, Kubernetes-native controller approach with strong multi-tenancy capabilities. You generally don't need both.
2. Establish a clean repository strategy
Repository design is one of the most important decisions because it determines ownership, access boundaries, promotion workflows, and auditability.
I recommend separating application source code from deployment configuration.
One possible structure:
platform/ ├── infrastructure/ │ ├── terraform/ │ ├── networking/ │ └── clusters/ │ ├── platform-services/ │ ├── ingress/ │ ├── cert-manager/ │ ├── monitoring/ │ ├── external-secrets/ │ └── policy/ │ ├── gitops/ │ ├── bootstrap/ │ ├── applications/ │ ├── clusters/ │ │ ├── dev/ │ │ ├── staging/ │ │ └── production/ │ └── policies/ │ ├── templates/ │ ├── microservice/ │ ├── worker/ │ └── frontend/ │ └── documentation/For application repositories:
orders-service/ ├── src/ ├── tests/ ├── Dockerfile ├── helm/ │ └── orders-service/ └── .github/ └── workflows/Repository design rules
- Keep application source and environment-specific deployment state logically separate.
- Use reusable Helm charts or Kustomize bases.
- Keep environment-specific values in separate overlays.
- Protect production branches with mandatory pull-request reviews.
- Pin third-party charts, dependencies, and container images to immutable versions or digests.
- Avoid allowing developers to modify shared infrastructure configuration without appropriate authorization.
For larger organizations, separate repositories can provide stronger ownership boundaries. For smaller teams, a monorepo can be perfectly reasonable.
Red Hat's GitOps recommendations also discuss separating application source from deployment manifests.
3. Implement a standardized CI-to-GitOps workflow
The goal is to make deployment a predictable consequence of a reviewed Git change.
-
Developer commits code
Developer creates a pull request against the application repository.
-
CI validates the application
Run unit tests, integration tests, code quality checks, vulnerability scans, and dependency checks.
-
Build an immutable artifact
Build the container image, scan it, sign it, and publish it to the registry.
-
Update the deployment repository
Automation creates a pull request updating the image digest or approved release version.
-
Review and approve
Automated policy checks and required human approvals validate the deployment change.
-
GitOps reconciles the environment
Argo CD or Flux detects the approved change and applies the desired configuration.
-
Verify deployment health
Run smoke tests, readiness checks, metrics validation, and progressive rollout analysis.
A particularly important practice is to promote the same artifact between environments.
For example:
Build image | v orders-service@sha256:abc123 | v Deploy to DEV | v Integration tests | v Promote same digest to STAGING | v Acceptance tests | v Production approval | v Promote same digest to PRODDon't rebuild the image separately for production. That would introduce uncertainty about whether production is running the exact artifact tested in staging.
Also, don't let CI pipelines directly modify production clusters with unrestricted Kubernetes credentials. CI should update desired state; the GitOps agent should perform deployment.
4. Design multi-tenancy and security from the beginning
This is particularly important for an internal developer platform supporting multiple engineering teams.
You need to prevent one team's GitOps configuration from affecting another team's workloads or shared infrastructure.
Recommended security controls
Area Best practice Identity Integrate with corporate SSO and OIDC RBAC Map Git groups to platform roles Namespaces Isolate teams and workloads Cluster access Restrict which clusters teams can target Git repositories Allowlist trusted repositories Secrets Never store plaintext credentials in Git Service accounts Use least-privilege identities Production Require additional approval and policy checks Audit Retain Git, CI, GitOps and Kubernetes audit logs For Argo CD, use
AppProjectresources to define:- Allowed source repositories.
- Allowed destination clusters.
- Permitted namespaces.
- Allowed Kubernetes resource types.
- Team-specific roles and permissions.
Avoid using Argo CD's default project for production workloads because its default configuration is permissive.
For Flux, configure controller impersonation and namespace-level RBAC for tenant workloads. Disable cross-namespace references where appropriate.
Secrets management
A good pattern is:
External secrets provider
HashiCorp Vault / AWS Secrets Manager / Azure Key Vault
External Secrets Operator
Kubernetes Secret
Application workload
Keep secret values outside Git. Store only references to secrets in GitOps manifests.
5. Implement progressive delivery and automated rollback
Avoid immediately deploying every production change to 100% of users.
Use progressive delivery to reduce deployment risk.
![�u�����[�X���ɃT�[�r�X�ꎞ��~�v�͉ߋ��̘b�\�\Argo Rollouts�ɂ�鍡�ǂ��ȃm���X�g�b�v�u�f�v���C�헪�v�FCloud Native�`�[�g�V�
Two useful patterns:
Canary deployment
- Deploy to a small percentage of traffic.
- Monitor error rates, latency, and application health.
- Gradually increase traffic.
- Abort or roll back if metrics breach defined thresholds.
Blue-green deployment
- Maintain separate active and candidate environments.
- Deploy the new version to the candidate environment.
- Validate functionality.
- Switch traffic when approved.
Useful technologies include Argo Rollouts and Flagger.
My recommendation is to start with canary deployment for critical services and simpler rolling updates for lower-risk internal services.
Also distinguish between two types of rollback:
- Configuration rollback: Revert the Git commit to restore a previous desired state.
- Application rollback: Redeploy a previously verified immutable artifact.
Database migrations require additional care. Use backward-compatible schema changes and avoid assuming that reverting an application deployment will automatically reverse a database migration.
6. Make policy enforcement automatic
GitOps is an excellent opportunity to introduce policy as code into your platform.
Policies should be enforced at multiple stages rather than relying entirely on deployment-time validation.
Stage Example controls Pull request YAML validation, schema validation, policy checks CI Image vulnerability scans, dependency checks, SBOM GitOps Approved source repositories and deployment targets Kubernetes admission Security contexts, resource limits, image restrictions Runtime Network policies, runtime security, drift detection Examples of useful policies:
- Containers cannot run as root unless explicitly approved.
- All workloads must define CPU and memory requests.
- Images must originate from approved registries.
- Production workloads must have health probes.
- Public ingress requires approved security controls.
- Critical workloads must have appropriate availability configurations.
Consider:
- Kyverno.
- OPA Gatekeeper.
- Trivy.
- Cosign.
An important distinction: CI policy checks prevent invalid changes from being merged, while Kubernetes admission policies provide a final enforcement boundary.
7. Build observability into the GitOps platform
Don't measure success simply by whether Argo CD reports an application as synchronized.
You should monitor the entire delivery lifecycle.
Recommended metrics:
Metric What it tells you Deployment frequency How often teams release Lead time for changes Time from commit to production Change failure rate Percentage of deployments causing failures MTTR Recovery time following an incident Reconciliation latency Time for Git changes to reach the cluster Sync failure rate Frequency of failed reconciliations Drift detection Differences between desired and actual state Rollback frequency How often releases require recovery Use Prometheus and Grafana for operational dashboards, and OpenTelemetry for distributed tracing and telemetry integration.
Create alerts for:
- Applications stuck out of sync.
- Repeated reconciliation failures.
- Failed deployment health checks.
- Unapproved manual changes.
- Expired Git credentials or certificates.
- Secrets synchronization failures.
Important: GitOps health and application health are different. An application can be successfully synchronized but still be functionally broken.
8. Treat the developer portal as the GitOps entry point
This is where GitOps becomes especially valuable for an internal developer platform.
Developers shouldn't need to manually create Helm charts, understand cluster topology, or write complex Argo CD configurations for every new service.
Use Backstage as the self-service interface.
Create standardized templates for:
- New microservices.
- Background workers.
- REST APIs.
- Frontend applications.
- Scheduled jobs.
- Data processing services.
A typical developer experience should look like this:
- Developer opens the internal developer portal.
- Selects a service template.
- Enters service name, ownership, and runtime requirements.
- Portal creates the application repository.
- Portal generates deployment manifests and CI workflows.
- Portal creates the initial GitOps pull request.
- The GitOps controller deploys the application.
- The service appears in the developer catalog with deployment status and operational links.
This is the key platform engineering principle: standardize the paved road, but allow controlled customization where necessary.
9. Implement GitOps in incremental phases
I would avoid trying to GitOps-enable the entire platform at once.
Here is a practical 90-day implementation roadmap.
-
Days 1–15: Architecture and foundations
- Select Argo CD or Flux.
- Define repository strategy.
- Establish Kubernetes cluster access.
- Configure SSO, RBAC, and Git permissions.
- Define development, staging, and production environments.
(Deliverable: GitOps foundation)
-
Days 16–30: CI/CD integration
- Integrate CI pipelines with container registries.
- Implement image scanning and signing.
- Create reusable Helm charts.
- Automate GitOps pull request generation.
- Deploy an initial sample application.
(Deliverable: End-to-end deployment pipeline)
-
Days 31–60: Platform enablement
- Integrate Backstage.
- Build self-service templates.
- Implement policy enforcement.
- Integrate external secrets management.
- Introduce automated environment promotion.
- Configure monitoring and alerting.
(Deliverable: Developer self-service capabilities)
-
Days 61–90: Production readiness
- Implement canary or blue-green deployments.
- Validate rollback procedures.
- Introduce disaster recovery procedures.
- Establish GitOps operational dashboards.
- Onboard additional engineering teams.
- Document platform standards and operational ownership.
(Deliverable: Production-ready GitOps platform)
10. Common mistakes to avoid
Anti-pattern Recommended alternative CI directly pushes to Kubernetes GitOps pull-based reconciliation Mutable image tags such as latestImmutable image digests One unrestricted GitOps project Team-specific projects and RBAC Plaintext secrets in Git External secrets management Manual production changes Audited Git-based changes Rebuilding artifacts per environment Promote the same artifact One massive Helm chart Modular, reusable charts No drift detection Continuous reconciliation Uncontrolled automated pruning Carefully scoped deletion policies No recovery testing Regular rollback and disaster recovery exercises One additional recommendation: keep infrastructure provisioning and Kubernetes application reconciliation conceptually separate. Terraform or OpenTofu can provision clusters and cloud resources, while Argo CD or Flux manages Kubernetes resources. This separation makes ownership and failure recovery easier.
The CNCF's 2026 guidance on cloud-native IDPs also emphasizes separation of infrastructure, platform, and application layers, alongside supply-chain security and observability.
11. My recommended target architecture
If I were designing this platform from scratch, this would be my preferred starting configuration:
Internal developer platform stack
Developer experience
Backstage + software templates + service catalog
Continuous integration
GitHub Actions + automated testing + artifact publishing
Continuous delivery
Argo CD + ApplicationSets + Helm + Kustomize
Runtime platform
Kubernetes + ingress + service mesh where needed
Security and governance
Vault + External Secrets + Kyverno + Cosign
Observability
Prometheus + Grafana + OpenTelemetry
12. Useful technical references
These are good starting points for implementation:
- OpenGitOps principles — foundational GitOps architecture and operating principles.
- Argo CD Projects documentation — application isolation, RBAC, and multi-tenancy.
- Argo CD ApplicationSet security — important security considerations for automated application generation.
- Flux multi-tenancy documentation — secure multi-team deployment models.
- Flux security best practices — controller security and isolation.
- CNCF cloud-native IDP architecture — infrastructure, GitOps, and supply-chain security architecture.
13. A few architectural questions before implementation
The best implementation depends considerably on your existing platform and deployment requirements.
I'd like to establish four things before recommending a detailed reference architecture.
1. What is your infrastructure environment?
AWS
Azure
Google Cloud
On-premises / private cloud
Hybrid / multi-cloud
2. What is your runtime platform?
Managed Kubernetes (EKS / AKS / GKE)
Self-managed Kubernetes
OpenShift
Not yet decided
3. Which GitOps solution are you considering?
Argo CD
Flux CD
Evaluating both
Not yet decided
4. What is the expected platform scale?
Single team, single cluster
Multiple teams, single cluster
Multiple teams, multiple clusters
Enterprise-wide, multi-region
Developer portal (optional)
Backstage
Existing internal developer portal
No developer portal yet
[Generate my reference architecture]
With these details, I can put together a more concrete implementation blueprint, including repository structures, Argo CD configuration, Helm chart standards, CI workflows, security boundaries, and an end-to-end deployment example.
Pages cited in this answer 12
- github.comdocuments/PRINCIPLES.md at main · open-gitops/documents · GitHub
- cncf.ioAdd GitOps without throwing out your CI tools | CNCF
- docs.aws.amazon.comArgo CD and Flux use cases - AWS Prescriptive Guidance
- fluxcd.ioFlux multi-tenancy | Flux
- fluxcd.ioSecurity Best Practices | Flux
- cncf.ioBuilding a cloud native internal developer platform with Kubernetes, GitOps, and supply chain security | CNCF
- docs.aws.amazon.comAWS Prescriptive Guidance - Building an internal developer platform on AWS
- developers.redhat.comOpenShift GitOps recommended practices | Red Hat Developer
- argo-cd.readthedocs.ioProjects - Argo CD - Declarative GitOps CD for Kubernetes
- docs.aws.amazon.comWorking with Argo CD Projects - Amazon EKS
- opengitops.devHome | OpenGitOps
- argo-cd.readthedocs.ioSecurity - Argo CD - Declarative GitOps CD for Kubernetes
Google AI ModeOct 17, 2026
Setting up a GitOps-driven continuous delivery (CD) model for an internal developer platform (IDP) requires
strict separation of concerns, robust security boundaries, and a scalable repository layout.The industry standards and architectural patterns for implementing this via tools like Argo CD or Flux CD focus on several core best practices:
- Repository Structure - Separate application source code from environment-specific configuration repositories. Keep code in app repos, but store desired state (Kubernetes manifests, Helm values overlays) in dedicated GitOps/infra repositories.
- Environment Strategy - Avoid using different Git branches (e.g.,
dev,staging,prod) to represent environments, as branch drifting becomes a nightmare. Instead, use directory overlays (via Kustomize or Helm values files) within a single trunk-based branch strategy. - Image Tag Management - Never use floating tags like
$latestor$mainin your GitOps manifests. Pin container images explicitly to immutable commit SHAs or explicit semantic version digests updated automatically by your CI pipeline. - Validation and Policy-as-Code - Shift-left validation by integrating linting and schema validation tools (like
kubeconform) in your CI pull request checks. Enforce governance and security constraints pre-merge using policy engines like OPA/Gatekeeper or Kyverno. - Progressive Delivery - Do not rely on hard atomic switches for production. Pair your GitOps engine with progressive rollout controllers (like Flagger or Argo Rollouts) for canary or blue/green deployments tied to metric analysis.
- Cluster Drift Management - Enable automated reconciliation and drift detection, but carefully configure auto-healing so unexpected manual cluster edits trigger alerts or self-heal safely without causing feedback loops.
- Granular RBAC - Lock down cluster access. Agents should operate with least privilege, and developer access to merge changes into environment directories should require proper peer reviews and branch protection rules.
To help tailor this design, could you share:
- Are you targeting Kubernetes-only workloads , or do you need to orchestrate non-Kubernetes infrastructure (Terraform/Pulumi)?
- Are you leaning toward a specific tool like Argo CD or Flux?
I'm a platform engineer trying to build an internal developer platform (IDP). What are the best open-source tools to start with?
Summary
No brand is the clear usual answer for starting an open-source internal developer platform.
Best blueprint for a minimal platform-engineering stack?
Summary
No brand is the clear usual answer for a minimal platform-engineering stack.
Also asked as
- Can you guide me through the implementation of GitOps-based continuous delivery for an internal developer platform?
- What are the recommended best practices for establishing GitOps-driven continuous delivery on an internal developer platform?
Top head-to-head comparisons
For agents: this page as Markdown, https://parse.gl/topics/gitops-continuous-delivery.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
An agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt