Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

DevOps with OpenShift Pipelines and OpenShift GitOps

September 17, 2024
Gerald Nunn
Related topics:
CI/CDDevOpsGitOpsKubernetes
Related products:
Red Hat OpenShift

    Red Hat OpenShift Pipelines and Red Hat OpenShift GitOps provide key components of a combined DevOps solution in the Red Hat OpenShift platform. OpenShift Pipelines is responsible for providing the continuous integration (CI) portion of the DevOps methodology, while OpenShift GitOps covers the continuous delivery (CD) aspect. Each component can be used independently or can work together as a unit to provide a complete DevOps solution, as you'll see in this article.

    Continuous integration with OpenShift Pipelines

    OpenShift Pipelines is based on Tekton, a popular upstream solution that enables DevOps practitioners to construct complex workflows to build applications and images. 

    These pipelines are assembled using a discrete set of tasks that are combined in a directed graph as a pipeline representing the end-to-end flow for the workstream (see Figure 1). Each task represents a unit of work (clone repo, build image, etc) and can be composed of one or more steps.

    A sample end-to-end flow with OpenShift Pipelines: dev-git-update, dev-git-sync, prod-git-update, prod-git-sync.
    Figure 1: A sample workflow with OpenShift Pipelines.

    Unlike some other CI solutions, such as legacy tool Jenkins, Pipelines is built on native Kubernetes technologies and thus is resource efficient since pipelines and tasks are only actively running when needed.  Once the pipeline has completed no resources are consumed by the pipeline itself. 

    Pipelines and tasks are constructed using a declarative approach following standard Kubernetes practices. However, OpenShift Pipelines includes a user-friendly interface built into the OpenShift console that enables users to easily monitor the execution of the pipelines and view task logs as needed.  The user interface also shows metrics for individual task execution, enabling users to better optimize pipeline performance.

    In addition, the user interface enables users to quickly create and modify pipelines visually. While users are encouraged to store tasks and Pipeline resources in Git, the ability to visually create and modify pipelines greatly reduces the learning curve and makes the technology approachable for new users.

    You can leverage pipelines-as-code to provide an experience that is tightly integrated with your backend Git provider, such as GitHub or GitLab. This enables users to see the execution results of the pipeline directly integrated with the specific git commit that triggered it.

    Viewing an example pipeline's execution results in Git.
    Figure 2: A visual way to create and modify pipelines.
    Task logs for a validated Git commit.
    Figure 3: Task status and commit details. 

    Continuous delivery with OpenShift GitOps

    Red Hat OpenShift GitOps is based on the popular GitOps project Argo CD in the CNCF portfolio. GitOps has quickly become the preferred way for DevOps practitioners to deploy and manage Kubernetes resources.

    As the name suggests, it enables the synchronization of Kubernetes resources with back-end repositories, typically Git-based repositories. This provides a number of benefits such as increased consistency of deployments, improved change control, and audit trails as Git becomes the source of truth.

    Application tiles in Argo CD.
    Figure 4: Application tiles in Argo CD.

    OpenShift GitOps provides an operator-driven experience that facilitates the full lifecycle of Argo CD, including provisioning, updating, and management. This experience is integrated into the overall OpenShift experience with additional monitoring and dashboards provided by the operator.

    The OpenShift GitOps dashboard showing health and sync status and more.
    Figure 5: OpenShift GitOps dashboard overview.

    With OpenShift GitOps, Argo CD acts as a two-way reconciliation engine ensuring that the state of the resources on the cluster is aligned with the desired state stored in Git, the source of truth. Should a change in Git occur, Argo CD can automatically synchronize the change with the state of the resource on the cluster. Similarly, should the state of a resource change on the cluster, Argo CD can automatically revert the resource back to the source of truth expressed in Git.

    This two-way reconciliation is a powerful capability and a significant advantage of a GitOps engine over traditional one-way automation tools that typically only execute when a change occurs in the source system but is not aware of changes at the destination. This capability provides increased consistency of resources and deployments across multiple clusters.

    Video demo: CI/CD with OpenShift GitOps and OpenShift Pipelines

    The following video provides a demonstration of both of these tools with additional examples and details.

    Conclusion

    OpenShift Pipelines and OpenShift GitOps are powerful tools included in Red Hat OpenShift that can be used by DevOps practitioners to provide continuous integration (CI) and continuous delivery/deployment (CD) capabilities. 

    Related Posts

    • Streamline edge deployments with Red Hat Ansible Automation Platform

    • 3 patterns for deploying Helm charts with Argo CD

    • Dynamically scale the Argo CD application controller with OpenShift GitOps 1.10

    • How to set up your GitOps directory structure

    • How to apply machine learning to GitOps

    Recent Posts

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

    • How to manage TLS certificates used by OpenShift GitOps operator

    What’s up next?

    GitOps has become a standard in deploying applications to Kubernetes, and many companies are adopting the methodology for their DevOps and cloud-native strategy. Download the GitOps Cookbook for useful recipes and examples for successful hands-on applications development and deployment with GitOps.

    Get the e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.