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?

More Related Content

PPTX
GitOps_Without_K8s_Training_detailed git repository
PPTX
GitOps_Without_K8s_Training_Updated_Ansible_Terraform_Docker.pptx
PPTX
GitHub_Sharing_Session_1_GitHub_Sharing_Session.pptx
PPT
Git installation and configuration
PPTX
Using GitHub Actions to Deploy your Workloads to Azure
PDF
The Operator Pattern - Managing Stateful Services in Kubernetes
PPTX
Introduction to git and githhub with practicals.pptx
PDF
Git for folk who like GUIs
GitOps_Without_K8s_Training_detailed git repository
GitOps_Without_K8s_Training_Updated_Ansible_Terraform_Docker.pptx
GitHub_Sharing_Session_1_GitHub_Sharing_Session.pptx
Git installation and configuration
Using GitHub Actions to Deploy your Workloads to Azure
The Operator Pattern - Managing Stateful Services in Kubernetes
Introduction to git and githhub with practicals.pptx
Git for folk who like GUIs

Similar to GitOps_Without_K8s_Training simple one without k8s (20)

PDF
Git简介
PPT
Git 101 - Crash Course in Version Control using Git
PDF
Git Tutorial I
PDF
Elevate Your Builds: Next-Gen CI/CD with Azure Container Apps and KEDA
PDF
The Basics of Open Source Collaboration With Git and GitHub
PPTX
Learn Git - For Beginners and Intermediate levels
PDF
Git/Gerrit with TeamForge
PDF
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
PDF
Cloud native CI/CD with GitOps
PDF
Cncf k8s_network_03 (Ingress introduction)
PDF
Google Kubernetes Engine Deep Dive Meetup
PDF
Git & GitHub N00bs
PDF
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
PPTX
Git basic
PPTX
Git workshop - University of Moratuwa, Department of Computer Science and Eng...
PPTX
GitHub_For_Beginners_Presentationss.pptx
KEY
Git with bitbucket (draft)
PPTX
GitOps - Modern best practices for high velocity app dev using cloud native t...
PPT
Introduction to git
PPT
Introduction to Git
Git简介
Git 101 - Crash Course in Version Control using Git
Git Tutorial I
Elevate Your Builds: Next-Gen CI/CD with Azure Container Apps and KEDA
The Basics of Open Source Collaboration With Git and GitHub
Learn Git - For Beginners and Intermediate levels
Git/Gerrit with TeamForge
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Cloud native CI/CD with GitOps
Cncf k8s_network_03 (Ingress introduction)
Google Kubernetes Engine Deep Dive Meetup
Git & GitHub N00bs
Dev, Staging & Production Workflow with Gitify (at MODXpo 2015 in Munich)
Git basic
Git workshop - University of Moratuwa, Department of Computer Science and Eng...
GitHub_For_Beginners_Presentationss.pptx
Git with bitbucket (draft)
GitOps - Modern best practices for high velocity app dev using cloud native t...
Introduction to git
Introduction to Git
Ad

Recently uploaded (20)

PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Construction Project Organization Group 2.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Welding lecture in detail for understanding
PPTX
Sustainable Sites - Green Building Construction
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
composite construction of structures.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Digital Logic Computer Design lecture notes
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
PPT on Performance Review to get promotions
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
OOP with Java - Java Introduction (Basics)
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Construction Project Organization Group 2.pptx
Foundation to blockchain - A guide to Blockchain Tech
Welding lecture in detail for understanding
Sustainable Sites - Green Building Construction
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Internet of Things (IOT) - A guide to understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
composite construction of structures.pdf
Lecture Notes Electrical Wiring System Components
Digital Logic Computer Design lecture notes
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPT on Performance Review to get promotions
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
OOP with Java - Java Introduction (Basics)
Ad

GitOps_Without_K8s_Training simple one without k8s

  • 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?