Create Git Pipeline on Rafay in 3 easy steps - Rafay Product Documentation

Create Git Pipeline on Rafay in 3 easy steps

Rafay’s Kubernetes Operations Platform includes a GitOps service that enables infrastructure orchestration (Infra GitOps) and application deployment (App GitOps) through multi-stage, git-triggered pipelines. In this blog post, we will discuss setting up a simple pipeline to sync cluster configuration to a Git repo in 3 easy steps.

In this example, we will start with a brownfield cluster that we will import and convert to a ‘Rafay managed’ cluster. We will then initiate a ‘system sync’ operation to write back the cluster configuration to a specified Git repo.

Step 1: Create a GitOps Agent

We will first need to create a GitOps agent in a Docker instance or a Kubernetes cluster. This agent will enable secure connectivity to your repositories.

To create a GitOps agent, login to Rafay Console

Step 2: Add Repository

To add the repository, login to Rafay Console

Step 3: Create Pipeline

The Process of creating a Git pipeline is now complete. You can now trigger the Pipeline from Rafay, sync the cluster configuration and manage any cluster operations from then on through Git.