# fadex022/k8s_on_prem_shell_script architecture

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

- Interactive diagram: https://gitdiagram.com/fadex022/k8s_on_prem_shell_script
- Repository: https://github.com/fadex022/k8s_on_prem_shell_script

## Overview

Explication appears to be a small shell-script project for setting up an on-premises Kubernetes cluster on Ubuntu, based on the README’s linked article title and the two script names. The likely workflow involves configuring a master and worker, but no script contents or explicit invocation relationships were provided; dashed edges mark that uncertainty.

Main entry points: [`master.sh`](https://github.com/fadex022/k8s_on_prem_shell_script/blob/master/master.sh) (Master script), [`worker.sh`](https://github.com/fadex022/k8s_on_prem_shell_script/blob/master/worker.sh) (Worker script)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cluster_setup["Cluster setup"]
  node_master_script["Master script<br/>[master.sh]"]
  node_worker_script["Worker script<br/>[worker.sh]"]
end

node_operator(("Operator"))
node_kubernetes_cluster{{"Kubernetes cluster"}}

node_operator -.->|"runs"| node_master_script
node_operator -.->|"runs"| node_worker_script
node_master_script -.->|"configures"| node_kubernetes_cluster
node_worker_script -.->|"configures"| node_kubernetes_cluster

click node_master_script "https://github.com/fadex022/k8s_on_prem_shell_script/blob/master/master.sh"
click node_worker_script "https://github.com/fadex022/k8s_on_prem_shell_script/blob/master/worker.sh"

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_master_script,node_worker_script toneBlue
class node_operator,node_kubernetes_cluster toneIndigo
```

## Components

### Cluster setup

- [Master script](https://github.com/fadex022/k8s_on_prem_shell_script/blob/master/master.sh): `master.sh`
- [Worker script](https://github.com/fadex022/k8s_on_prem_shell_script/blob/master/worker.sh): `worker.sh`

### Other components

- **Operator**
- **Kubernetes cluster**

## Connections

- Operator → Master script: runs
- Operator → Worker script: runs
- Master script → Kubernetes cluster: configures
- Worker script → Kubernetes cluster: configures
