6

I am hearing nowadays a lot about GitOps. What is the difference between DevOps and GitOps?

Is it just the SCM does the build and deploy when there is a commit instead of the CI/CD tool exclusively?

11

GitOps is a technique of using Git to manage infrastructure provisioning and software deployments. This technique uses many of the features of Git such as Pull Requests to manage and trigger deployments, and allows "diffing" (looking at the difference between commits) to view the differences between deployments.

DevOps is more of a culture or philosophy. It is not tied to the specific tool Git. Instead, DevOps is the joining of Development (Dev) and System Operations (Ops). Often continuous integration and continuous deployment are big focuses of companies that invest in a DevOps culture.

A company that has a DevOps culture may choose to use a technique like GitOps to manage their infrastructure. They may choose to use other tools though.

Note: DevOps is not a process. It is a culture. GitOps is a specific System Operations (ops) process tied to a specific tool (Git). A company that uses GitOps may not have a DevOps culture. Conversely, a company that has a DevOps culture may not use GitOps.

| improve this answer | |
  • So can i say GitOps is subset of DevOps process? or GitOps is type of DevOps process? – Rocky Hai Sep 25 '19 at 14:11
  • 2
    Neither really works. DevOps is not a process. It is a culture. GitOps is a specific System Operations (ops) process tied to a specific tool (Git). A company that uses GitOps may not have a DevOps culture. Conversely, a company that has a DevOps culture may not use GitOps. – Wesley Rolnick Sep 25 '19 at 14:23
  • Got it thanks @wesley – Rocky Hai Sep 25 '19 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.