Remove longhorn

This commit is contained in:
2024-08-13 01:05:00 +01:00
parent e4a532e704
commit 5b591d8161
8 changed files with 4 additions and 74 deletions

View File

@@ -3,5 +3,4 @@ kind: Kustomization
resources: resources:
- deployment.yaml - deployment.yaml
- service.yaml - service.yaml
- ingress.yaml - ingress.yaml
- pvc.yaml

View File

@@ -1,11 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: sonarr-pvc
spec:
accessModes:
- ReadWriteOncePod
storageClassName: longhorn
resources:
requests:
storage: 2Gi

View File

@@ -1,23 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: longhorn
spec:
chart:
spec:
chart: longhorn
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: longhorn-repo
version: 1.6.2
interval: 1m0s
targetNamespace: longhorn
values:
defaultSettings:
defaultReplicaCount: 1
defaultDataPath: /usr/local/longhorn/
longhornUI:
replicas: 1
persistence:
defaultClassReplicaCount: 1

View File

@@ -1,7 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: longhorn-repo
spec:
interval: 1m0s
url: https://charts.longhorn.io

View File

@@ -1,16 +0,0 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: longhorn
spec:
entryPoints:
- web
routes:
- match: Host(`longhorn.k3s`)
kind: Rule
services:
- name: longhorn-frontend
namespace: longhorn
nativeLB: true
kind: Service
port: 80

View File

@@ -1,8 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: longhorn
resources:
- namespace.yaml
- helmrepo.yaml
- helmrelease.yaml
- ingress.yaml

View File

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

View File

@@ -4,6 +4,6 @@ namespace: monitoring
resources: resources:
- namespace.yaml - namespace.yaml
- helmrepo.yaml - helmrepo.yaml
- ./loki # - ./loki
- ./promtail # - ./promtail
- ./grafana # - ./grafana