doc/user/clusters/agent/enterprise_considerations.md
The agent for Kubernetes and Flux together offer the best experience when deploying to Kubernetes through GitOps. GitLab recommends using GitOps (also known as pull-based deployment) for deployments. However, your company might not be able to transition to GitOps, or you might have certain (typically non-production) reasons to use a pipeline-based approach. This page describes best practices for using GitOps for enterprise, with some considerations for pipeline-based deployments.
For a description of the advantages of GitOps, see the OpenGitOps initiative.
OCIRepository for storing and retrieving manifests.
You can use GitLab pipelines to build and push the OCI images to the container registry.When you use OCI containers instead of Git repositories, the source of truth for the manifests is still the Git repository. You can think of the OCI container as a caching layer between the Git repository and the cluster.
There are several benefits to using OCI containers:
If you need to use a pipeline-based deployment, follow these best practices: