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

Recently uploaded (20)

PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
PPTX
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
PDF
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
PPTX
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
PDF
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
PPTX
Knowledge Representation : Semantic Networks
Amity University, Patna
 
PDF
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
PDF
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
PDF
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
PPTX
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
PDF
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
PDF
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
PDF
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
PPT
Testing and final inspection of a solar PV system
MuhammadSanni2
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
澳洲电子毕业证澳大利亚圣母大学水印成绩单UNDA学生证网上可查学历
Taqyea
 
Water Resources Engineering (CVE 728)--Slide 4.pptx
mohammedado3
 
Design Thinking basics for Engineers.pdf
CMR University
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Water Industry Process Automation & Control Monthly July 2025
Water Industry Process Automation & Control
 
MODULE-5 notes [BCG402-CG&V] PART-B.pdf
Alvas Institute of Engineering and technology, Moodabidri
 
Biosensors, BioDevices, Biomediccal.pptx
AsimovRiyaz
 
Submit Your Papers-International Journal on Cybernetics & Informatics ( IJCI)
IJCI JOURNAL
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
Water Resources Engineering (CVE 728)--Slide 3.pptx
mohammedado3
 
Knowledge Representation : Semantic Networks
Amity University, Patna
 
Data structures notes for unit 2 in computer science.pdf
sshubhamsingh265
 
20ES1152 Programming for Problem Solving Lab Manual VRSEC.pdf
Ashutosh Satapathy
 
REINFORCEMENT LEARNING IN DECISION MAKING SEMINAR REPORT
anushaashraf20
 
fatigue in aircraft structures-221113192308-0ad6dc8c.pptx
aviatecofficial
 
3rd International Conference on Machine Learning and IoT (MLIoT 2025)
ClaraZara1
 
Halide Perovskites’ Multifunctional Properties: Coordination Engineering, Coo...
TaameBerhe2
 
Electrical Machines and Their Protection.pdf
Nabajyoti Banik
 
Testing and final inspection of a solar PV system
MuhammadSanni2
 

Featured (20)

PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
 
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
 
PDF
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
PDF
Everything You Need To Know About ChatGPT
Expeed Software
 
PDF
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
PDF
Skeleton Culture Code
Skeleton Technologies
 
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
PDF
Content Methodology: A Best Practices Report (Webinar)
contently
 
PPTX
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
PDF
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
PDF
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
PDF
Getting into the tech field. what next
Tessa Mero
 
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
PDF
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
PDF
Introduction to Data Science
Christy Abraham Joy
 
Storytelling For The Web: Integrate Storytelling in your Design Process
Chiara Aliotta
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
SocialHRCamp
 
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Christy Abraham Joy
 
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