How davydocsurg/ops-tutorials works
Project Type and Purpose
• This repository is a monorepo of DevOps example code, written to accompany Baeldung articles on ops topics.
• It is not a running application, but a structured collection of independent modules illustrating infrastructure-as-code, containerization, CI/CD pipelines, and orchestration patterns.
High-Level Architecture & Component Identification
• Treat the repo itself as a “DevOps Examples Platform.” Within it, there are eight major domains:
• aws-modules (CloudFormation templates)
• docker-modules (Dockerfiles, Docker Compose, caching, networking, environment variables, Kaniko, Podman…)
• github-actions (GitHub CI workflows)
• gitlab-modules (GitLab CI pipelines, shared configs, artifact passing)
• jenkins-modules (Jenkins jobs and Spring-Jenkins pipelines)
• kubernetes-modules (K8s Deployments, StatefulSets, JKube demo)
• mesos-marathon (Mesos + Marathon Dockerized Java demo)
• server-module (scripts for deploying React apps via Nginx and Tomcat)
Logical Grouping and Relationships
• Although each domain is functionally independent, they represent stages in a typical DevOps lifecycle:
a. Infrastructure as Code (aws-modules) →
b. Container Build & Packaging (docker-modules) →
c. CI/CD (github-actions, gitlab-modules, jenkins-modules) →
d. Orchestration & Runtime (kubernetes-modules, mesos-marathon) →
e. Application Deployment Patterns (server-module)
Architectural Patterns & Design Principles
• Monorepo pattern: single repository, multiple loosely-coupled modules grouped by domain.
• Layered DevOps pipeline: each module folder corresponds to a logical layer.
• Template-driven IaC: aws-modules uses CloudFormation YAML templates.
• Modular container demos: docker-modules subdivided into caching, networking, compose, images.
• Multi-CI support: separate clusters for GitHub, GitLab, and Jenkins pipelines.
• Polyglot orchestration: Kubernetes vs. Mesos Marathon examples demonstrate two orchestration platforms.
Technologies & Frameworks to Call Out
• AWS CloudFormation (YAML)
• Docker Engine, Docker Compose, BuildKit, Kaniko, Podman
• GitHub Actions workflows (.yml)
• GitLab CI (.gitlab-ci.yml) with includes, templates, needs, artifacts
• Jenkins Pipeline (Declarative & Scripted) + Spring Boot demo
• Kubernetes (Deployment, StatefulSet, PVC, Service) + JKube plugin
• Mesos Marathon + Spring Boot
• Nginx & Tomcat shell scripts for React app hosting