SlideShare a Scribd company logo
GitOps Without Kubernetes -
Telkom University
• 2 Day Online Training
What is GitOps?
• GitOps is a workflow where Git is the source
of truth for system configurations.
• Key Principles:
• - Git = desired state
• - Automation applies that state
• - Changes are tracked and auditable
GitOps Workflow (Non-K8s)
• Git Repository → GitHub Actions → SSH →
Server → Docker/Ansible/Terraform
Benefits of GitOps Without
Kubernetes
• - Full audit trail with Git
• - Declarative system management
• - Automation reduces manual errors
• - Works for VM, Docker, Bare Metal, Cloud
• - Flexible with existing tools
Core Tools for GitOps
• - Git (Source of truth)
• - GitHub Actions (Automation trigger)
• - SSH (Secure server access)
• - Docker Compose (App container
management)
• - Ansible (Server configuration)
• - Terraform (Infrastructure provisioning)
Infrastructure as Code (IaC)
• - Define infrastructure and config as code
• - Version controlled in Git
• - Examples: Docker Compose, Ansible,
Terraform
Git Workflow for GitOps
• - Branch strategy: main, feature branches
• - PR approval process
• - Automation triggered on merge to main
• - Git reflects current system state
GitHub Actions Example - Docker
Compose
• Example workflow for Docker Compose
deployment with SSH
GitHub Actions Example - Ansible
• Example workflow to trigger Ansible playbook
via SSH
GitHub Actions Example -
Terraform
• Example workflow to apply Terraform config
via SSH
Security Considerations
• - Protect SSH keys with GitHub Secrets
• - Main branch protection & PR reviews
• - Minimize direct server access
• - Optional Bastion Host for SSH control
Monitoring & Observability
• - GitHub Actions logs
• - Application logs on server
• - Service health checks
• - Drift detection: Terraform plan, Ansible check
mode
Hands-On Simulation
• 1. Commit change to Docker Compose
• 2. GitHub Actions triggered
• 3. SSH to server & apply changes
• 4. Verify system follows Git state
Summary
• - GitOps works beyond Kubernetes
• - GitHub Actions + Docker/Ansible/Terraform =
GitOps workflow
• - Secure, auditable, automated deployment
• - Suitable for VMs, bare metal, cloud
Q&A and Closing
• Thank you for participating!
• Questions?
Git Basics & Common Commands
• - Git is a version control system to track
changes in code or configurations.
• Common Git Commands:
• - git clone <repo_url> # Copy a repository
• - git status # See current changes
• - git add . # Stage all changes
• - git commit -m "msg" # Commit staged

More Related Content

PPTX
GitOps_Without_K8s_Training simple one without k8s
PPTX
GitOps_Without_K8s_Training_Updated_Ansible_Terraform_Docker.pptx
PPT
Git installation and configuration
PPTX
Introduction to git and githhub with practicals.pptx
PPTX
GitHub_Sharing_Session_1_GitHub_Sharing_Session.pptx
PPTX
Learn Git - For Beginners and Intermediate levels
PPT
Git 101 - Crash Course in Version Control using Git
PDF
Git Tutorial I
GitOps_Without_K8s_Training simple one without k8s
GitOps_Without_K8s_Training_Updated_Ansible_Terraform_Docker.pptx
Git installation and configuration
Introduction to git and githhub with practicals.pptx
GitHub_Sharing_Session_1_GitHub_Sharing_Session.pptx
Learn Git - For Beginners and Intermediate levels
Git 101 - Crash Course in Version Control using Git
Git Tutorial I

Similar to GitOps_Without_K8s_Training_detailed git repository (20)

PDF
Git for folk who like GUIs
PDF
Git/Gerrit with TeamForge
PDF
Git简介
PDF
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
PDF
The Basics of Open Source Collaboration With Git and GitHub
PPT
Introduction to git
PPT
Introduction to Git
PDF
Git & GitHub N00bs
KEY
Git with bitbucket (draft)
PDF
Cloud native CI/CD with GitOps
PPTX
Git workshop - University of Moratuwa, Department of Computer Science and Eng...
PDF
Embracing Git and Distributed Teams
PPTX
Git tips and tricks
PPTX
Introduction to Gitlab | Gitlab 101 | Training Session
KEY
Git with bitbucket
KEY
Let's Git this Party Started: An Introduction to Git and GitHub
PPTX
Mini-training: Let’s Git It!
PDF
Git 101: Git and GitHub for Beginners
PDF
Elevate Your Builds: Next-Gen CI/CD with Azure Container Apps and KEDA
PDF
The Operator Pattern - Managing Stateful Services in Kubernetes
Git for folk who like GUIs
Git/Gerrit with TeamForge
Git简介
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
The Basics of Open Source Collaboration With Git and GitHub
Introduction to git
Introduction to Git
Git & GitHub N00bs
Git with bitbucket (draft)
Cloud native CI/CD with GitOps
Git workshop - University of Moratuwa, Department of Computer Science and Eng...
Embracing Git and Distributed Teams
Git tips and tricks
Introduction to Gitlab | Gitlab 101 | Training Session
Git with bitbucket
Let's Git this Party Started: An Introduction to Git and GitHub
Mini-training: Let’s Git It!
Git 101: Git and GitHub for Beginners
Elevate Your Builds: Next-Gen CI/CD with Azure Container Apps and KEDA
The Operator Pattern - Managing Stateful Services in Kubernetes
Ad

Recently uploaded (20)

PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
composite construction of structures.pdf
PDF
PPT on Performance Review to get promotions
PPTX
additive manufacturing of ss316l using mig welding
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPT
Project quality management in manufacturing
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
Sustainable Sites - Green Building Construction
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT
Mechanical Engineering MATERIALS Selection
DOCX
573137875-Attendance-Management-System-original
PPTX
OOP with Java - Java Introduction (Basics)
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
composite construction of structures.pdf
PPT on Performance Review to get promotions
additive manufacturing of ss316l using mig welding
CH1 Production IntroductoryConcepts.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
UNIT 4 Total Quality Management .pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
R24 SURVEYING LAB MANUAL for civil enggi
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Project quality management in manufacturing
Model Code of Practice - Construction Work - 21102022 .pdf
Sustainable Sites - Green Building Construction
Internet of Things (IOT) - A guide to understanding
CYBER-CRIMES AND SECURITY A guide to understanding
Mechanical Engineering MATERIALS Selection
573137875-Attendance-Management-System-original
OOP with Java - Java Introduction (Basics)
Ad

GitOps_Without_K8s_Training_detailed git repository

  • 1. GitOps Without Kubernetes - Telkom University • 2 Day Online Training
  • 2. What is GitOps? • GitOps is a workflow where Git is the source of truth for system configurations. • Key Principles: • - Git = desired state • - Automation applies that state • - Changes are tracked and auditable
  • 3. GitOps Workflow (Non-K8s) • Git Repository → GitHub Actions → SSH → Server → Docker/Ansible/Terraform
  • 4. Benefits of GitOps Without Kubernetes • - Full audit trail with Git • - Declarative system management • - Automation reduces manual errors • - Works for VM, Docker, Bare Metal, Cloud • - Flexible with existing tools
  • 5. Core Tools for GitOps • - Git (Source of truth) • - GitHub Actions (Automation trigger) • - SSH (Secure server access) • - Docker Compose (App container management) • - Ansible (Server configuration) • - Terraform (Infrastructure provisioning)
  • 6. Infrastructure as Code (IaC) • - Define infrastructure and config as code • - Version controlled in Git • - Examples: Docker Compose, Ansible, Terraform
  • 7. Git Workflow for GitOps • - Branch strategy: main, feature branches • - PR approval process • - Automation triggered on merge to main • - Git reflects current system state
  • 8. GitHub Actions Example - Docker Compose • Example workflow for Docker Compose deployment with SSH
  • 9. GitHub Actions Example - Ansible • Example workflow to trigger Ansible playbook via SSH
  • 10. GitHub Actions Example - Terraform • Example workflow to apply Terraform config via SSH
  • 11. Security Considerations • - Protect SSH keys with GitHub Secrets • - Main branch protection & PR reviews • - Minimize direct server access • - Optional Bastion Host for SSH control
  • 12. Monitoring & Observability • - GitHub Actions logs • - Application logs on server • - Service health checks • - Drift detection: Terraform plan, Ansible check mode
  • 13. Hands-On Simulation • 1. Commit change to Docker Compose • 2. GitHub Actions triggered • 3. SSH to server & apply changes • 4. Verify system follows Git state
  • 14. Summary • - GitOps works beyond Kubernetes • - GitHub Actions + Docker/Ansible/Terraform = GitOps workflow • - Secure, auditable, automated deployment • - Suitable for VMs, bare metal, cloud
  • 15. Q&A and Closing • Thank you for participating! • Questions?
  • 16. Git Basics & Common Commands • - Git is a version control system to track changes in code or configurations. • Common Git Commands: • - git clone <repo_url> # Copy a repository • - git status # See current changes • - git add . # Stage all changes • - git commit -m "msg" # Commit staged