1 of 11

GitOps: Drive operations through git

2 of 11

Tirumarai Selvan

@Tirumarai

We’re making it blazing fast for developers to build their backends.

  • Blazingly fastest, lightest GraphQL engine on postgres.
  • Blazingly setup GitOps on Docker/Kubernetes.

3 of 11

Git - Source of Truth

  • Infrastructure as Code
    • Terraform, CloudFormation
  • System Configuration as Code
    • Ansible
    • Chef
    • Puppet
  • Application Configuration as Code
    • Kubernetes
    • Hasura
  • Application Source Code

4 of 11

Declarative tools Git

5 of 11

Ops

  • Configure, build, test, deploy
  • CI/CD
  • Monitor, fix
  • Upgrades
  • Rollbacks
  • Automation

6 of 11

GitOps

  • Ops practices using Git
  • Use Git as source of truth
  • Drive operations through git repo
  • Get version control, history, peer review, and rollback
  • Githooks/Webhooks: push to trigger build/test
  • PRs & merge branch to deploy

7 of 11

GitOps - Patterns

  • Use declarative configuration to define application and services
  • All changes go through git review process, none using kubectl
  • Use an operator in the cluster to drive observed state to desired state, as declared by the configuration in git
  • pre-push hook to create manifests
    • Render templates for correct env
    • Secrets
  • pre-receive hook or webhooks to build artifacts and do kubectl set-image
  • Power to developer
  • Own tooling

8 of 11

Gitkube

9 of 11

Gitkube - Architecture

10 of 11

Demo

  • Gitkube

11 of 11

Tirumarai Selvan

tiru@hasura.io

@Tirumarai

Thanks for listening! Questions?