Skip to content

hasan-yousefi/devops-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

183 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Getting Started

Note

Before We Start Make Sure Your Kubernetes Cluster Up And Running If It's Not Follow Link Installation Guide

Demo

Untitled.video.-.Made.with.Clipchamp.mp4

What Do We Have Here?

  1. We Have Cover CI/CD On Different Type Of Git Architectures Such As:
    • MonoRepo
    • Multi Repo

monorepo-vs-multirepo

  1. We Discover As Musch As Possible Everything That You Need Even On Production Like Find Leaks, Check Dockerfile And Trivy Also You Can Collects All Reports On DefectDojo.
pipeline
  1. All tools run on Docker, each with its own Ansible playbook/role.

  2. For Key Secret Management We Use Vault To Protect Our Keys.

  3. For Logging:

    • Filebeat
    • Logstash
    • Elasticsearch
IDE · Administrator _ python-app · GitLab - Google Chrome 9_4_2025 6_45_36 PM
  1. For Monitoring:
  2. We Connect Ceph To Kubernetes Cluster As StorageClass.
  3. We Have Keycloak As SSO If You Don't Have Any Idea How To Connect It To Your K8s Follow Keycloak
  4. For CD We Use Argocd Our Gitops Directory Contains Many Repository For Application Or Even Configuration Like Filebeat.

Table of Contents

Projects

  1. Python Web Application

    This Is A Simple Application That Needs Redis.

  2. Example Vote

    This Is A MonoRepo App You Can Find The Main Project Here Example Vote But I Add It Some Feature Like Read Variable As Environment Not Hardcoded In The Code And Also NonRoot Dockerfile.

    architecture excalidraw
  3. Siggestion Api

    This Is A Api Application.

UsageAnsible

  1. ansible
    cd infra-automation/
    # Fill Value Under group_vars/all.yaml
    vim infra-automation/group_vars/all.yaml
    # Put Hosts
    vim inventory.yaml
    # Select Service That You Need
    vim ansible-playbook.yaml
    ansible-playbook -i inventory.yaml ansible-playbook -K --skip-tags down

Features

  • Manifest: On Manifest Direcctory It Has All Manifest That You Need On This Project
  • Project: Include 3 Different Project: python-app & example-voting-app And suggestion_apiflask It Has Web Technology Database And More
  • gitops: Include Gitops That Use Argocd To Deploy Automaticaly Under deploy-vote Directory
  • Automation: Under Ansible Directory You Can Find Many Services That Written On Docker Format And Service Format

Contact

Hassan Yousefi - [hassan.yosefi158@@gmail.com]

license

Apache License 2.0

About

This Is Compelete Project

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors