# gowtham1412-p/cnadendsemlab architecture

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

- Interactive diagram: https://gitdiagram.com/gowtham1412-p/cnadendsemlab
- Repository: https://github.com/gowtham1412-p/cnadendsemlab

## Overview

This repository is Kubernetes and GitOps configuration for deploying a webapp, with separate Argo CD and Flux entry points. The apparent workflow is a GitOps controller applying its configuration to the cluster, which then runs the webapp resources; the repository also provides controller-specific overlays. The file tree shows these roles, but no manifest contents or README relationships were available. Accordingly, the links below are dashed and unverified rather than asserted as inspected calls or references.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workload["Webapp workload"]
  node_deployment["Webapp deployment"]
  node_service["Webapp service"]
  node_configmap["Webapp config"]
  node_base_kustomization["Base resources"]
end

subgraph group_argocd["Argo CD"]
  node_argocd_overlay["Argo CD overlay"]
  node_argocd_namespace["Argo CD namespace"]
  node_argocd_app["Argo CD app"]
end

subgraph group_flux["Flux"]
  node_flux_overlay["Flux overlay"]
  node_flux_namespace["Flux namespace"]
  node_flux_sync["Flux sync config"]
  node_flux_components["Flux components"]
  node_flux_kustomization["Flux system resources"]
end

node_git(("Git repository"))
node_argocd_controller["Argo CD controller"]
node_flux_controller["Flux controllers"]
node_cluster["Kubernetes cluster"]

node_git -.->|"provides configuration"| node_argocd_controller
node_git -.->|"provides configuration"| node_flux_controller
node_argocd_controller -.->|"uses app config"| node_argocd_app
node_argocd_app -.->|"targets overlay"| node_argocd_overlay
node_argocd_controller -.->|"applies resources"| node_cluster
node_flux_controller -.->|"uses sync config"| node_flux_sync
node_flux_sync -.->|"targets overlay"| node_flux_overlay
node_flux_controller -.->|"applies resources"| node_cluster
node_cluster -.->|"runs workload"| node_deployment
node_cluster -.->|"serves workload"| node_service

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_deployment,node_service,node_configmap,node_base_kustomization toneBlue
class node_argocd_overlay,node_argocd_namespace,node_argocd_app toneAmber
class node_flux_overlay,node_flux_namespace,node_flux_sync,node_flux_components,node_flux_kustomization toneMint
class node_git,node_argocd_controller,node_flux_controller,node_cluster toneIndigo
```

## Components

### Webapp workload

- **Webapp deployment**
- **Webapp service**
- **Webapp config**
- **Base resources**

### Argo CD

- **Argo CD overlay**
- **Argo CD namespace**
- **Argo CD app**

### Flux

- **Flux overlay**
- **Flux namespace**
- **Flux sync config**
- **Flux components**
- **Flux system resources**

### Other components

- **Git repository**
- **Argo CD controller**
- **Flux controllers**
- **Kubernetes cluster**

## Connections

- Git repository → Argo CD controller: provides configuration
- Git repository → Flux controllers: provides configuration
- Argo CD controller → Argo CD app: uses app config
- Argo CD app → Argo CD overlay: targets overlay
- Argo CD controller → Kubernetes cluster: applies resources
- Flux controllers → Flux sync config: uses sync config
- Flux sync config → Flux overlay: targets overlay
- Flux controllers → Kubernetes cluster: applies resources
- Kubernetes cluster → Webapp deployment: runs workload
- Kubernetes cluster → Webapp service: serves workload
