Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to GitOps

Yosuke Asai
February 10, 2022
76

Introduction to GitOps

Yosuke Asai

February 10, 2022
Tweet

Transcript

  1. My career history and future A University student majoring in

    backpacking (~ 2018) 
 Studied in Bangkok for a year (2016) Backend & Customer Support engineer for b2b accounting software (~ 2021) DevOps/SRE Engineer for cryptocurrency exchange (~ Present) Work abroad as a software engineer ( Future -)
  2. GitOps is for who… wants to use / uses Kubernetes

    as application infra operates software with large scale organizations appreciate higher security for the system
  3. Basic Introduction Proposed by Weaveworks in 2017 An operating model

    for building 
 applications on k8s Git as the source of truth Opposite consept: CIOps What is GitOps really ? (source: Weaveworks)
  4. CIOps Example as an Anti-pattern -> Push Credentials for both

    app and k8s clusters Ref: https://www.weave.works/blog/kubernetes-anti-patterns-let-s-do-gitops-not-ciops Too strong authorization
  5. GitOps Pipeline Example Pull -> Credentials only for Con fi

    g Repo Ref: https://www.weave.works/blog/kubernetes-anti-patterns-let-s-do-gitops-not-ciops
  6. Bene fi ts Increased productivity with automated delivery Enhanced Developer

    Experience Improve the security of Kubernetes Cluster CD become independent from CI Stable and Reproducible
  7. Bene fi ts Increased productivity with automated delivery Enhanced Developer

    Experience Improve the security of Kubernetes Cluster CD become independent from CI Stable and Reproducible
  8. Bene fi ts Increased productivity with automated delivery Enhanced Developer

    Experience Improve the security of Kubernetes Cluster CD become independent from CI Stable and Reproducible
  9. Bene fi ts Increased productivity with automated delivery Enhanced Developer

    Experience Improve the security of Kubernetes Cluster CD become independent from CI Stable and Reproducible
  10. Drawbacks Increase of the complexity of CI/CD architecture Tools are

    relatively young Not many documents or functions for settings customizations
  11. Reference Guide to GitOps 
 https://www.weave.works/technologies/gitops/ Kubernetes anti-patterns: Let's do

    GitOps, not CIOps! 
 https://www.weave.works/blog/kubernetes-anti-patterns-let-s-do-gitops-not-ciops GitOpsͱCIOpsͷ࿩ 
 https://blog.inductor.me/entry/2021/09/24/015402 GitOps-style continuous delivery with Cloud Build 
 https://cloud.google.com/kubernetes-engine/docs/tutorials/gitops-cloud-build