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

Similar to GitOps_Without_K8s_Training simple one without k8s (20)

PDF
GitOps 101 Presentation.pdf
ssuser31375f
 
PDF
Deploy 22 microservices from scratch in 30 mins with GitOps
Opsta
 
PDF
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
All Things Open
 
PDF
DevOps - A Purpose for an Institution.pdf
Vishwas N
 
PDF
What is GitOps? How GitOps works? we discuss Key Challanges.
aniporwal00
 
PDF
What is GitOps? How GitOps works? we discuss Key Challanges.
aniporwal00
 
PDF
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
eoinhalpin99
 
PDF
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
TomHalpin9
 
PDF
GitHub Actions in action
Oleksii Holub
 
PPTX
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Vietnam Open Infrastructure User Group
 
PDF
The journey to GitOps
Nicola Baldi
 
PPTX
Empowering developers and operators through Gitlab and HashiCorp
Mitchell Pronschinske
 
PDF
Understanding GitOps Stages
Domain News Tech
 
PDF
Gitops Cookbook Second Early Release Natale Vinto Alex Soto Bueno
rockesakkay
 
PDF
Introduction to GitHub Actions – How to easily automate and integrate with Gi...
All Things Open
 
PDF
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
 
PDF
Gitops Hands On
Brice Fernandes
 
PDF
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
PDF
Delivering Quality at Speed with GitOps
Weaveworks
 
PDF
Gitops. what’s it all about
Veritis Group, Inc
 
GitOps 101 Presentation.pdf
ssuser31375f
 
Deploy 22 microservices from scratch in 30 mins with GitOps
Opsta
 
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
All Things Open
 
DevOps - A Purpose for an Institution.pdf
Vishwas N
 
What is GitOps? How GitOps works? we discuss Key Challanges.
aniporwal00
 
What is GitOps? How GitOps works? we discuss Key Challanges.
aniporwal00
 
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
eoinhalpin99
 
Leveraging the GitHub Ecosystem for Python Projects: From Hello World to Dock...
TomHalpin9
 
GitHub Actions in action
Oleksii Holub
 
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Vietnam Open Infrastructure User Group
 
The journey to GitOps
Nicola Baldi
 
Empowering developers and operators through Gitlab and HashiCorp
Mitchell Pronschinske
 
Understanding GitOps Stages
Domain News Tech
 
Gitops Cookbook Second Early Release Natale Vinto Alex Soto Bueno
rockesakkay
 
Introduction to GitHub Actions – How to easily automate and integrate with Gi...
All Things Open
 
Next Level DevOps Implementation with GitOps
Ramadoni Ashudi
 
Gitops Hands On
Brice Fernandes
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
Delivering Quality at Speed with GitOps
Weaveworks
 
Gitops. what’s it all about
Veritis Group, Inc
 

Recently uploaded (20)

PDF
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
DOCX
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
PPTX
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPT
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
PPTX
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
PDF
Electrical Engineer operation Supervisor
ssaruntatapower143
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
Viol_Alessandro_Presentazione_prelaurea.pdf
dsecqyvhbowrzxshhf
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
8th International Conference on Electrical Engineering (ELEN 2025)
elelijjournal653
 
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Carmon_Remote Sensing GIS by Mahesh kumar
DhananjayM6
 
What is Shot Peening | Shot Peening is a Surface Treatment Process
Vibra Finish
 
Electrical Engineer operation Supervisor
ssaruntatapower143
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
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?