https://github.com/jerryshell/k8s-qinglong-longhorn
K8s Qinglong Longhorn
https://github.com/jerryshell/k8s-qinglong-longhorn
homelab k8s kubernetes longhorn qinglong
Last synced: about 2 months ago
JSON representation
K8s Qinglong Longhorn
- Host: GitHub
- URL: https://github.com/jerryshell/k8s-qinglong-longhorn
- Owner: jerryshell
- License: agpl-3.0
- Created: 2024-04-08T08:22:41.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T06:13:47.000Z (about 2 years ago)
- Last Synced: 2025-01-16T15:26:58.909Z (over 1 year ago)
- Topics: homelab, k8s, kubernetes, longhorn, qinglong
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# K8s Qinglong Longhorn
[K8s](https://kubernetes.io/) + [Qinglong](https://github.com/whyour/qinglong) + [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-qinglong-longhorn.git
cd k8s-qinglong-longhorn
```
## PVC + Deployment + Service
```bash
kubectl apply -f k8s/
```
## Ingress
Replace `qinglong.jerryshell.eu.org` with your own domain
```bash
export HOST=qinglong.jerryshell.eu.org
cat k8s/ingress/ingress.yaml | envsubst | kubectl apply -f -
```
## TLS Ingress
Replace `qinglong.jerryshell.eu.org` with your own domain
```bash
export HOST=qinglong.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/)