# notharshhaa/kubernetes-projects-learning architecture

> Architecture diagram of the GitHub repository notharshhaa/kubernetes-projects-learning, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-05-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/notharshhaa/kubernetes-projects-learning
- Repository: https://github.com/notharshhaa/kubernetes-projects-learning

## Overview

##### Project type and purpose
- This is not a typical web application or microservice suite but an **open-source Kubernetes learning repository**.
- Purpose: provide **hands-on tutorials**, **exercises**, and **real-world projects** to teach Kubernetes concepts, CKAD exam preparation, and CI/CD pipelines on Kubernetes.

##### File structure
- Top-level:
- CKAD-exercises/   → Hands-on exam-style tasks (markdown guides)
- learning/          → Conceptual tutorials organized by topic, with example YAML manifests
- projects/          → Full “real-world” Kubernetes deployments and CI/CD pipelines
- README.md          → Root index and navigation; links out to guides, best practices, external resources
- Under each directory: all content is static (docs + YAML). No code-behind or runtime services.
- Config/build/deploy files: they are Kubernetes YAML manifests (Deployments, Services, CRDs, Helm charts).

##### README for additional insights
- Sections outline a **learning path** (from fundamentals to advanced), **real-time projects**, and **guides/best practices**.

##### Elements
- **Clear labels** for:
- GitHub Repo
- learning module
- exercises module
- projects module
- local/cloud Kubernetes cluster
- external resources
- clone → browse → apply YAML → Kubernetes cluster
- Documentation folders (e.g., blue rectangles)
- YAML manifests (e.g., green documents)
- Runtime environment (e.g., grey cloud for cluster)

##### Detailed breakdown of components (as separate nodes
- Node: “GitHub Repository (NotHarshhaa/kubernetes-projects)”
- Under it: three child nodes:
- “learning/” (each subfolder is a topic)
- “CKAD-exercises/” (a → j modules)
- “projects/” (10-microservices, Spring-Boot, Jenkins CI/CD, Uber-Clone)
- Node: “Developer’s Machine (git + kubectl CLI)”
- Node: “Kubernetes Cluster (local or cloud: EKS, AKS, GKE)”
- Node: “CI Server (Jenkins for pipelines in projects/)”
- Node: “External Resources” (links to guides, Helm, Terraform, etc.)

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Environment
    DevMachine["Developer's Machine\ngit + kubectl CLI"]:::env
    CI["CI Server\nJenkins"]:::env
    Cluster["Kubernetes Cluster\n(local or cloud)"]:::cloud
    External["External Resources\nGuides & Docs"]:::external

    %% Repository
    subgraph "GitHub Repository\n(NotHarshhaa/kubernetes-projects)" 
        Repo["README.md"]:::docs
        subgraph "learning/" 
            LearnDir["learning/"]:::docs
            subgraph "Deploy-DaemonSets-Service-in-Kubernetes"
                DSFluentd["fluentd.yaml"]:::yaml
            end
            subgraph "Deploying-an-Application-on-Kubernetes"
                AppDeployYAML["deployment.yaml\nservice.yaml"]:::yaml
            end
            subgraph "Kubernetes-components-overview"
                CompYAML["cronjob-example.yaml\njob-example.yaml\nmy-nginx-ds.yaml\nmy-nginx-rc.yaml\nmy-pod.yaml\nmy-svc.yaml\nservice.yaml"]:::yaml
            end
            subgraph "What-is-Pod-in-Kubernetes"
                PodYAML["deployment.yaml\npod.yaml\nlivenessprobe.yaml\nreadinessprobe.yaml"]:::yaml
            end
            subgraph "kubernetes-for-everyone"
                EveryoneYAML["deployment.yaml\npod.yaml\nservice.yaml\nstatefulset.yaml"]:::yaml
            end
        end
        subgraph "CKAD-exercises/" 
            ExercisesDir["CKAD-exercises/"]:::docs
            CC["a.core_concepts.md"]:::docs
            MCP["b.multi_container_pods.md"]:::docs
            PD["c.pod_design.md"]:::docs
            Conf["d.configuration.md"]:::docs
            Obs["e.observability.md"]:::docs
            SvcEx["f.services.md"]:::docs
            SW["g.state.md"]:::docs
            HelmEx["h.helm.md"]:::docs
            CRDEx["i.crd.md"]:::docs
            PodmanEx["j.podman.md"]:::docs
        end
        subgraph "projects/" 
            ProjectsDir["projects/"]:::docs
            subgraph "10-microservices-deployment-eks"
                EKSJenkins["Jenkinsfile"]:::docs
                RBAC["bind.yaml\nrol.yaml\nsa.yaml\nsec.yaml"]:::yaml
            end
            SB["Deploying-Spring-Boot-K8S/README.md"]:::docs
            Jk8s["Kubernetes-Using-Jenkins/README.md"]:::docs
            Uber["Uber-Clone-DevSecOps/jenkinsfile"]:::docs
        end
    end

    %% Relationships
    DevMachine -->|clones| Repo
    Repo -->|contains| LearnDir
    Repo -->|contains| ExercisesDir
    Repo -->|contains| ProjectsDir

    LearnDir --> CC
    ExercisesDir --> CC
    ProjectsDir --> EKSJenkins

    DevMachine -->|applies YAML| Cluster
    CI -->|runs pipelines| ProjectsDir
    Cluster -->|runs workloads from YAML| ProjectsDir

    LearnDir -->|progression| ExercisesDir -->|progression| ProjectsDir
    External -->|references| LearnDir
    External -->|references| ProjectsDir

    %% Click Events
    click Repo "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/README.md"
    click ExercisesDir "https://github.com/notharshhaa/kubernetes-projects-learning/tree/master/CKAD-exercises/"
    click CC "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/a.core_concepts.md"
    click MCP "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/b.multi_container_pods.md"
    click PD "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/c.pod_design.md"
    click Conf "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/d.configuration.md"
    click Obs "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/e.observability.md"
    click SvcEx "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/f.services.md"
    click SW "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/g.state.md"
    click HelmEx "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/h.helm.md"
    click CRDEx "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/i.crd.md"
    click PodmanEx "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/CKAD-exercises/j.podman.md"

    click LearnDir "https://github.com/notharshhaa/kubernetes-projects-learning/tree/master/learning/"
    click DSFluentd "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/learning/Deploy-DaemonSets-Service-in-Kubernetes/fluentd.yaml"
    click AppDeployYAML "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/learning/Deploying-an-Application-on-Kubernetes/deployment.yaml"
    click CompYAML "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/learning/Kubernetes-components-overview/cronjob-example.yaml"
    click PodYAML "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/learning/What-is-Pod-in-Kubernetes/deployment.yaml"
    click EveryoneYAML "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/learning/kubernetes-for-everyone/deployment.yaml"

    click ProjectsDir "https://github.com/notharshhaa/kubernetes-projects-learning/tree/master/projects/"
    click EKSJenkins "https://github.com/notharshhaa/kubernetes-projects-learning/tree/master/projects/10-microservices-deployment-eks/Jenkinsfile"
    click RBAC "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/projects/10-microservices-deployment-eks/bind.yaml"
    click SB "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/projects/Deploying-Spring-Boot-K8S/README.md"
    click Jk8s "https://github.com/notharshhaa/kubernetes-projects-learning/blob/master/projects/Kubernetes-Using-Jenkins/README.md"
    click Uber "https://github.com/notharshhaa/kubernetes-projects-learning/tree/master/projects/Uber-Clone-DevSecOps/jenkinsfile"

    %% Styles
    classDef docs fill:#C3DDF9,stroke:#0366D6,color:#0366D6;
    classDef yaml fill:#DFF2BF,stroke:#4F8A10,color:#4F8A10;
    classDef external fill:#FFEBCD,stroke:#E67E22,color:#D35400,stroke-dasharray: 5 5;
    classDef env fill:#E0E0E0,stroke:#999,color:#333;
    classDef cloud fill:#F2F7FB,stroke:#7DA7D9,color:#2C3E50,shape:cylinder;
```
