add librespeed

This commit is contained in:
Mans Ziesel 2024-10-24 20:19:30 +02:00
parent e2b782439b
commit c71cee7bdd
7 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-app-librespeed
namespace: argocd
spec:
destination:
name: ''
namespace: default
server: https://kubernetes.default.svc
source:
path: librespeed
repoURL: https://git.mziesel.nl/mans/argocd-test
targetRevision: HEAD
sources: []
project: default
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -12,3 +12,4 @@ resources:
- ./base/cyberchef.yaml
- ./base/go-redirect.yaml
- ./base/redlib-application.yaml
- ./base/librespeed-application.yaml

View File

@ -0,0 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: librespeed
namespace: librespeed
spec:
replicas: 3
selector:
matchLabels:
app: librespeed
template:
metadata:
labels:
app: librespeed
spec:
containers:
- image: ghcr.io/librespeed/speedtest:latest@sha256:054d3973bcec28abb528178ecc5decf6e202eb3be1b0d574ccf375a376480d98
name: librespeed
ports:
- name: web
containerPort: 80

View File

@ -0,0 +1,12 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: librespeed-ingressroute
spec:
routes:
- match: Host(`speed.mziesel.nl`)
kind: Rule
services:
- name: librespeed
port: web
tls: {}

View File

@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: librespeed

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: librespeed
spec:
ports:
- name: web
port: 80
targetPort: web
selector:
app: librespeed

View File

@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: librespeed
resources:
- ./base/librespeed-namespace.yaml
- ./base/librespeed-deployment.yaml
- ./base/librespeed-svc.yaml
- ./base/librespeed-ingress.yaml