# pswadeep/k8s architecture

> Architecture diagram of the GitHub repository pswadeep/k8s, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pswadeep/k8s
- Repository: https://github.com/pswadeep/k8s

## Overview

Kubernetes Practice Repo is a hands-on Kubernetes learning lab: learners study topic guides and apply example resources to a local kind cluster, with an optional GitHub Actions workflow that deploys a selected topic through a self-hosted runner. The curriculum spans workload management, networking, configuration, security, observability, scaling, scheduling, storage, delivery, extensibility, and operations. The graph groups these topic areas rather than treating every lesson as a runtime service. Connections are limited to relationships documented in the README; individual lesson internals were not sampled.

Main entry points: [`.github/workflows/deploy-local.yml`](https://github.com/pswadeep/k8s/blob/main/.github/workflows/deploy-local.yml) (Local deploy workflow), [`kind`](https://github.com/pswadeep/k8s/tree/main/kind) (Local kind cluster), [`app/app.py`](https://github.com/pswadeep/k8s/blob/main/app/app.py) (Demo HTTP app), [`topics`](https://github.com/pswadeep/k8s/tree/main/topics) (Topic guides)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_lab["Local lab"]
  node_topic_guides["Topic guides"]
  node_local_cluster["Local kind cluster"]
  node_demo_app["Demo HTTP app<br/>[app.py]"]
  node_runner["Self-hosted runner"]
  node_deploy_workflow["Local deploy workflow<br/>[deploy-local.yml]"]
end

subgraph group_workloads["Workload topics"]
  node_workload_basics["Workload basics"]
  node_stateful_workloads["Stateful workloads"]
  node_service_access["Service access"]
  node_config_secrets["Config and secrets"]
  node_resources_health["Resources and health"]
end

subgraph group_platform["Platform topics"]
  node_security["Security controls"]
  node_observability["Observability"]
  node_autoscaling["Autoscaling"]
  node_scheduling["Scheduling"]
  node_storage["Persistent storage"]
end

subgraph group_delivery["Delivery and operations"]
  node_cicd["CI/CD integration"]
  node_gitops["GitOps"]
  node_release_patterns["Release strategies"]
  node_extensions["Kubernetes extensions"]
  node_cluster_ops["Cluster operations"]
end

node_learner(("Learner"))

node_learner -->|"studies topics"| node_topic_guides
node_learner -->|"creates cluster"| node_local_cluster
node_learner -->|"builds image"| node_demo_app
node_learner -->|"starts workflow"| node_deploy_workflow
node_deploy_workflow -->|"runs on"| node_runner
node_deploy_workflow -->|"applies topic"| node_local_cluster
node_deploy_workflow -->|"builds image"| node_demo_app

click node_topic_guides "https://github.com/pswadeep/k8s/tree/main/topics"
click node_local_cluster "https://github.com/pswadeep/k8s/tree/main/kind"
click node_demo_app "https://github.com/pswadeep/k8s/blob/main/app/app.py"
click node_runner "https://github.com/pswadeep/k8s/tree/main/runner"
click node_workload_basics "https://github.com/pswadeep/k8s/tree/main/topics/07-pods"
click node_stateful_workloads "https://github.com/pswadeep/k8s/tree/main/topics/10-statefulsets"
click node_service_access "https://github.com/pswadeep/k8s/tree/main/topics/12-services-external-access"
click node_config_secrets "https://github.com/pswadeep/k8s/tree/main/topics/15-configmaps"
click node_resources_health "https://github.com/pswadeep/k8s/tree/main/topics/17-requests-limits"
click node_security "https://github.com/pswadeep/k8s/tree/main/topics/20-rbac"
click node_observability "https://github.com/pswadeep/k8s/tree/main/topics/23-logs-metrics-traces"
click node_autoscaling "https://github.com/pswadeep/k8s/tree/main/topics/26-hpa"
click node_scheduling "https://github.com/pswadeep/k8s/tree/main/topics/29-scheduling-basics"
click node_storage "https://github.com/pswadeep/k8s/tree/main/topics/33-csi-drivers"
click node_cicd "https://github.com/pswadeep/k8s/tree/main/topics/35-cicd-integration"
click node_gitops "https://github.com/pswadeep/k8s/tree/main/topics/36-gitops"
click node_release_patterns "https://github.com/pswadeep/k8s/tree/main/topics/38-canary"
click node_extensions "https://github.com/pswadeep/k8s/tree/main/topics/41-crds"
click node_cluster_ops "https://github.com/pswadeep/k8s/tree/main/topics/45-manage-own-cluster"
click node_deploy_workflow "https://github.com/pswadeep/k8s/blob/main/.github/workflows/deploy-local.yml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_topic_guides,node_local_cluster,node_demo_app,node_runner,node_deploy_workflow toneBlue
class node_workload_basics,node_stateful_workloads,node_service_access,node_config_secrets,node_resources_health toneAmber
class node_security,node_observability,node_autoscaling,node_scheduling,node_storage toneMint
class node_cicd,node_gitops,node_release_patterns,node_extensions,node_cluster_ops toneRose
class node_learner toneIndigo
```

## Components

### Local lab

- [Topic guides](https://github.com/pswadeep/k8s/tree/main/topics): `topics`
- [Local kind cluster](https://github.com/pswadeep/k8s/tree/main/kind): `kind`
- [Demo HTTP app](https://github.com/pswadeep/k8s/blob/main/app/app.py): `app/app.py`
- [Self-hosted runner](https://github.com/pswadeep/k8s/tree/main/runner): `runner`
- [Local deploy workflow](https://github.com/pswadeep/k8s/blob/main/.github/workflows/deploy-local.yml): `.github/workflows/deploy-local.yml`

### Workload topics

- [Workload basics](https://github.com/pswadeep/k8s/tree/main/topics/07-pods): `topics/07-pods`
- [Stateful workloads](https://github.com/pswadeep/k8s/tree/main/topics/10-statefulsets): `topics/10-statefulsets`
- [Service access](https://github.com/pswadeep/k8s/tree/main/topics/12-services-external-access): `topics/12-services-external-access`
- [Config and secrets](https://github.com/pswadeep/k8s/tree/main/topics/15-configmaps): `topics/15-configmaps`
- [Resources and health](https://github.com/pswadeep/k8s/tree/main/topics/17-requests-limits): `topics/17-requests-limits`

### Platform topics

- [Security controls](https://github.com/pswadeep/k8s/tree/main/topics/20-rbac): `topics/20-rbac`
- [Observability](https://github.com/pswadeep/k8s/tree/main/topics/23-logs-metrics-traces): `topics/23-logs-metrics-traces`
- [Autoscaling](https://github.com/pswadeep/k8s/tree/main/topics/26-hpa): `topics/26-hpa`
- [Scheduling](https://github.com/pswadeep/k8s/tree/main/topics/29-scheduling-basics): `topics/29-scheduling-basics`
- [Persistent storage](https://github.com/pswadeep/k8s/tree/main/topics/33-csi-drivers): `topics/33-csi-drivers`

### Delivery and operations

- [CI/CD integration](https://github.com/pswadeep/k8s/tree/main/topics/35-cicd-integration): `topics/35-cicd-integration`
- [GitOps](https://github.com/pswadeep/k8s/tree/main/topics/36-gitops): `topics/36-gitops`
- [Release strategies](https://github.com/pswadeep/k8s/tree/main/topics/38-canary): `topics/38-canary`
- [Kubernetes extensions](https://github.com/pswadeep/k8s/tree/main/topics/41-crds): `topics/41-crds`
- [Cluster operations](https://github.com/pswadeep/k8s/tree/main/topics/45-manage-own-cluster): `topics/45-manage-own-cluster`

### Other components

- **Learner**

## Connections

- Learner → Topic guides: studies topics (evidence: `README.md`)
- Learner → Local kind cluster: creates cluster (evidence: `README.md`)
- Learner → Demo HTTP app: builds image (evidence: `README.md`)
- Learner → Local deploy workflow: starts workflow (evidence: `README.md`)
- Local deploy workflow → Self-hosted runner: runs on (evidence: `README.md`)
- Local deploy workflow → Local kind cluster: applies topic (evidence: `README.md`)
- Local deploy workflow → Demo HTTP app: builds image (evidence: `README.md`)
