add librespeed
This commit is contained in:
parent
e2b782439b
commit
c71cee7bdd
20
argocd-applications/base/librespeed-application.yaml
Normal file
20
argocd-applications/base/librespeed-application.yaml
Normal 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
|
@ -12,3 +12,4 @@ resources:
|
||||
- ./base/cyberchef.yaml
|
||||
- ./base/go-redirect.yaml
|
||||
- ./base/redlib-application.yaml
|
||||
- ./base/librespeed-application.yaml
|
||||
|
21
librespeed/base/librespeed-deployment.yaml
Normal file
21
librespeed/base/librespeed-deployment.yaml
Normal 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
|
12
librespeed/base/librespeed-ingress.yaml
Normal file
12
librespeed/base/librespeed-ingress.yaml
Normal 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: {}
|
4
librespeed/base/librespeed-namespace.yaml
Normal file
4
librespeed/base/librespeed-namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: librespeed
|
11
librespeed/base/librespeed-svc.yaml
Normal file
11
librespeed/base/librespeed-svc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: librespeed
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: librespeed
|
10
librespeed/kustomization.yaml
Normal file
10
librespeed/kustomization.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user