https://github.com/jerryshell/k8s-kuma-longhorn
K8s Kuma Longhorn
https://github.com/jerryshell/k8s-kuma-longhorn
homelab k8s kubernetes kuma longhorn
Last synced: 2 days ago
JSON representation
K8s Kuma Longhorn
- Host: GitHub
- URL: https://github.com/jerryshell/k8s-kuma-longhorn
- Owner: jerryshell
- License: agpl-3.0
- Created: 2024-04-08T15:14:22.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-09T08:04:38.000Z (about 2 years ago)
- Last Synced: 2025-03-06T04:33:12.900Z (over 1 year ago)
- Topics: homelab, k8s, kubernetes, kuma, longhorn
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# K8s Kuma Longhorn
[K8s](https://kubernetes.io/) + [Kuma](https://github.com/louislam/uptime-kuma) + [Longhorn](https://longhorn.io/)
## Pre-requisites
- Install Longhorn, Ref: [K8s PostgreSQL Longhorn](https://github.com/jerryshell/k8s-postgres-longhorn)
- TLS Ingress, Ref: [K8s Traefik cert-manager DNS01 TLS](https://github.com/jerryshell/k8s-traefik-cert-manager-dns01-tls)
## Git clone
```bash
git clone https://github.com/jerryshell/k8s-kuma-longhorn.git
cd k8s-kuma-longhorn
```
## PVC + Deployment + Service
```bash
kubectl apply -f k8s/
```
## Ingress
Replace `kuma.jerryshell.eu.org` with your own domain
```bash
export HOST=kuma.jerryshell.eu.org
cat k8s/ingress/ingress.yaml | envsubst | kubectl apply -f -
```
## TLS Ingress
Replace `kuma.jerryshell.eu.org` with your own domain
```bash
export HOST=kuma.jerryshell.eu.org
cat k8s/ingress/tls-ingress.yaml | envsubst | kubectl apply -f -
```
## Delete
```bash
kubectl delete --ignore-not-found=true -f k8s/ -f k8s/ingress/
```
## LICENSE
[GNU Affero General Public License v3.0](https://choosealicense.com/licenses/agpl-3.0/)