# kushalsk99/selfhealing-kubernetes-cluster architecture

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

- Interactive diagram: https://gitdiagram.com/kushalsk99/selfhealing-kubernetes-cluster
- Repository: https://github.com/kushalsk99/selfhealing-kubernetes-cluster

## Overview

#### Purpose and scope
The repository is a minimal Go project. No README content or package structure is provided, so its runtime behavior and domain purpose cannot be determined from the supplied tree.

#### Application entry point
`main.go` is the sole application source file and therefore the expected Go executable entry point. Its `main` package/function, dependencies, and control flow are not visible in the supplied metadata.

#### Runtime boundary
The application is expected to run as a Go binary built from `main.go`. No HTTP server, database, message broker, cloud service, container runtime, or other external integration can be confirmed.

#### Build and delivery boundary
Continuous integration is defined in `.github/workflows/ci-pipeline.yml`. This workflow is the repository’s visible automation boundary and likely governs validation/build execution, though its concrete stages are not supplied.

#### Code-quality integration
`sonar-project.properties` indicates SonarQube/SonarCloud analysis is part of the quality pipeline. Its configured project identity, source paths, exclusions, and server/service target are not available.

#### Architectural constraints
There are no visible internal packages, modules, infrastructure definitions, deployment manifests, or test directories. The practical architecture currently appears to be a single executable (`main.go`) plus CI (`.github/workflows/ci-pipeline.yml`) and static-analysis configuration (`sonar-project.properties`).

Main entry points: [`.github/workflows/ci-pipeline.yml`](https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/.github/workflows/ci-pipeline.yml) (CI Pipeline), [`main.go`](https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/main.go) (Go Executable), [`sonar-project.properties`](https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/sonar-project.properties) (Sonar Analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_go_executable["Go Executable<br/>Go application<br/>[main.go]"]
node_ci_pipeline{{"CI Pipeline<br/>GitHub Actions workflow<br/>[ci-pipeline.yml]"}}
node_sonar_analysis["Sonar Analysis<br/>code quality configuration"]

node_ci_pipeline -->|"validates / builds"| node_go_executable
node_ci_pipeline -->|"uses"| node_sonar_analysis

click node_go_executable "https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/main.go"
click node_ci_pipeline "https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/.github/workflows/ci-pipeline.yml"
click node_sonar_analysis "https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/sonar-project.properties"

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_go_executable,node_ci_pipeline,node_sonar_analysis toneNeutral
```

## Components

### Other components

- [Go Executable](https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/main.go): Go application · Single executable built from the repository source. · `main.go`
- [CI Pipeline](https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/.github/workflows/ci-pipeline.yml): GitHub Actions workflow · Repository automation for validation and build execution. · `.github/workflows/ci-pipeline.yml`
- [Sonar Analysis](https://github.com/kushalsk99/selfhealing-kubernetes-cluster/blob/main/sonar-project.properties): code quality configuration · Defines static-analysis integration for the quality pipeline. · `sonar-project.properties`

## Connections

- CI Pipeline → Go Executable: validates / builds
- CI Pipeline → Sonar Analysis: uses
