# theinfinitypro/devops-auto-installer architecture

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

- Interactive diagram: https://gitdiagram.com/theinfinitypro/devops-auto-installer
- Repository: https://github.com/theinfinitypro/devops-auto-installer

## Overview

DevOps Auto Installer is a menu-driven Ubuntu tool for installing, checking, monitoring, and removing a DevOps environment. The main workflow starts with the user launching `install.sh`, then selecting component installation or a system operation. Installation is divided into Docker, Kubernetes prerequisites, cluster initialization, Jenkins, Prometheus, and Grafana. Separate documented branches provide verification, health checks, a dashboard, uninstallation, and log viewing. The graph follows relationships described in the README; source excerpts were unavailable, so it does not assert undocumented calls or implementation details.

Main entry points: [`install.sh`](https://github.com/theinfinitypro/devops-auto-installer/blob/main/install.sh) (Whiptail Menu), [`logs`](https://github.com/theinfinitypro/devops-auto-installer/tree/main/logs) (Installer Logs), [`config/installer.conf`](https://github.com/theinfinitypro/devops-auto-installer/blob/main/config/installer.conf) (Installer Configuration), [`Scripts/common.sh`](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/common.sh) (Shared Functions)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Entry and Configuration"]
  node_installer["Installer Controller<br/>[install.sh]"]
  node_menu["Whiptail Menu<br/>[install.sh]"]
  node_config["Installer Configuration<br/>[installer.conf]"]
  node_common["Shared Functions<br/>[common.sh]"]
end

subgraph group_install["Installation"]
  node_docker["Docker Installer<br/>[docker.sh]"]
  node_kubernetes["Kubernetes Installer<br/>[kubernetes.sh]"]
  node_cluster["Cluster Setup"]
  node_jenkins["Jenkins Installer<br/>[jenkins.sh]"]
  node_prometheus["Prometheus Installer<br/>[prometheus.sh]"]
  node_grafana["Grafana Installer<br/>[grafana.sh]"]
end

subgraph group_ops["System Operations"]
  node_verify["Installation Verification<br/>[verify.sh]"]
  node_health["System Health Check<br/>[health-check.sh]"]
  node_dashboard["System Dashboard<br/>[dashboard.sh]"]
  node_uninstall["Component Removal<br/>[uninstall.sh]"]
end

subgraph group_state["Logs"]
  node_logs["Installer Logs"]
end

node_user(("User"))

node_user -->|"launches"| node_installer
node_installer -->|"presents"| node_menu
node_installer -->|"uses"| node_config
node_installer -->|"uses"| node_common
node_menu -->|"selects install"| node_docker
node_menu -->|"selects install"| node_kubernetes
node_menu -->|"selects setup"| node_cluster
node_menu -->|"selects install"| node_jenkins
node_menu -->|"selects install"| node_prometheus
node_menu -->|"selects install"| node_grafana
node_menu -->|"selects verification"| node_verify
node_menu -->|"selects check"| node_health
node_menu -->|"selects view"| node_dashboard
node_menu -->|"selects removal"| node_uninstall
node_installer -->|"records activity"| node_logs
node_menu -->|"offers log view"| node_logs

click node_installer "https://github.com/theinfinitypro/devops-auto-installer/blob/main/install.sh"
click node_menu "https://github.com/theinfinitypro/devops-auto-installer/blob/main/install.sh"
click node_config "https://github.com/theinfinitypro/devops-auto-installer/blob/main/config/installer.conf"
click node_common "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/common.sh"
click node_docker "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/docker.sh"
click node_kubernetes "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/kubernetes.sh"
click node_cluster "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/kubernetes-cluster.sh"
click node_jenkins "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/jenkins.sh"
click node_prometheus "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/prometheus.sh"
click node_grafana "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/grafana.sh"
click node_verify "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/verify.sh"
click node_health "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/health-check.sh"
click node_dashboard "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/dashboard.sh"
click node_uninstall "https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/uninstall.sh"
click node_logs "https://github.com/theinfinitypro/devops-auto-installer/tree/main/logs"

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_installer,node_menu,node_config,node_common,node_user toneBlue
class node_docker,node_kubernetes,node_cluster,node_jenkins,node_prometheus,node_grafana toneAmber
class node_verify,node_health,node_dashboard,node_uninstall toneMint
class node_logs toneRose
```

## Components

### Entry and Configuration

- [Installer Controller](https://github.com/theinfinitypro/devops-auto-installer/blob/main/install.sh): `install.sh`
- [Whiptail Menu](https://github.com/theinfinitypro/devops-auto-installer/blob/main/install.sh): `install.sh`
- [Installer Configuration](https://github.com/theinfinitypro/devops-auto-installer/blob/main/config/installer.conf): `config/installer.conf`
- [Shared Functions](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/common.sh): `Scripts/common.sh`

### Installation

- [Docker Installer](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/docker.sh): `Scripts/docker.sh`
- [Kubernetes Installer](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/kubernetes.sh): `Scripts/kubernetes.sh`
- [Cluster Setup](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/kubernetes-cluster.sh): `Scripts/kubernetes-cluster.sh`
- [Jenkins Installer](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/jenkins.sh): `Scripts/jenkins.sh`
- [Prometheus Installer](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/prometheus.sh): `Scripts/prometheus.sh`
- [Grafana Installer](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/grafana.sh): `Scripts/grafana.sh`

### System Operations

- [Installation Verification](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/verify.sh): `Scripts/verify.sh`
- [System Health Check](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/health-check.sh): `Scripts/health-check.sh`
- [System Dashboard](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/dashboard.sh): `Scripts/dashboard.sh`
- [Component Removal](https://github.com/theinfinitypro/devops-auto-installer/blob/main/Scripts/uninstall.sh): `Scripts/uninstall.sh`

### Logs

- [Installer Logs](https://github.com/theinfinitypro/devops-auto-installer/tree/main/logs): `logs`

### Other components

- **User**

## Connections

- User → Installer Controller: launches (evidence: `README.md`)
- Installer Controller → Whiptail Menu: presents (evidence: `README.md`)
- Installer Controller → Installer Configuration: uses (evidence: `README.md`)
- Installer Controller → Shared Functions: uses (evidence: `README.md`)
- Whiptail Menu → Docker Installer: selects install (evidence: `README.md`)
- Whiptail Menu → Kubernetes Installer: selects install (evidence: `README.md`)
- Whiptail Menu → Cluster Setup: selects setup (evidence: `README.md`)
- Whiptail Menu → Jenkins Installer: selects install (evidence: `README.md`)
- Whiptail Menu → Prometheus Installer: selects install (evidence: `README.md`)
- Whiptail Menu → Grafana Installer: selects install (evidence: `README.md`)
- Whiptail Menu → Installation Verification: selects verification (evidence: `README.md`)
- Whiptail Menu → System Health Check: selects check (evidence: `README.md`)
- Whiptail Menu → System Dashboard: selects view (evidence: `README.md`)
- Whiptail Menu → Component Removal: selects removal (evidence: `README.md`)
- Installer Controller → Installer Logs: records activity (evidence: `README.md`)
- Whiptail Menu → Installer Logs: offers log view (evidence: `README.md`)
