feat: remove kasten

This commit is contained in:
auricom
2021-08-20 17:05:38 +02:00
parent 19298ad623
commit 8e439f4ee8
9 changed files with 0 additions and 123 deletions

View File

@@ -1,50 +0,0 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: k10
namespace: kasten-io
spec:
releaseName: k10
interval: 5m
chart:
spec:
# renovate: registryUrl=https://charts.kasten.io/
chart: k10
version: 4.0.9
sourceRef:
kind: HelmRepository
name: kasten-charts
namespace: flux-system
interval: 5m
values:
eula:
accept: true
company: "${SECRET_CLUSTER_DOMAIN}"
email: "${SECRET_CLUSTER_DOMAIN_EMAIL}"
global:
persistence:
storageClass: rook-ceph-block
auth:
tokenAuth:
enabled: true
clusterName: k3s
ingress:
create: true
host: "k10.${SECRET_CLUSTER_DOMAIN}"
annotations:
kubernetes.io/ingress.class: "nginx"
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
urlPath: k10
hosts:
- "k10.${SECRET_CLUSTER_DOMAIN}"
# postRenderers:
# - kustomize:
# patchesJson6902:
# - target:
# kind: Ingress
# name: k10-ingress
# patch:
# - op: add
# path: /spec/ingressClassName
# value: traefik

View File

@@ -1,6 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- helm-release.yaml
- prometheus-rule.yaml
- service-monitor.yaml

View File

@@ -1,22 +0,0 @@
---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
labels:
prometheus: k8s
role: alert-rules
name: kasten-io
namespace: kasten-io
spec:
groups:
- name: kasten.rules
rules:
- alert: JobsFailing
annotations:
description: Jobs failure
summary: |-
"{{ $labels.app }} jobs amount of errors for the last 30 mins {{ $value }} for {{ $labels.policy }} policy"
expr: increase(catalog_actions_count{status="failed"}[30m]) > 0
for: 30m
labels:
severity: critical

View File

@@ -1,23 +0,0 @@
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: k10
namespace: kasten-io
spec:
namespaceSelector:
matchNames:
- kasten-io
selector:
matchLabels:
app: prometheus
endpoints:
- port: http
scheme: http
path: /k10/prometheus/federate
honorLabels: true
interval: 15s
params:
"match[]":
- '{__name__=~"jobs.*"}'
- '{__name__=~"catalog.*"}'

View File

@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- k10

View File

@@ -1,5 +0,0 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: kasten-io

View File

@@ -4,7 +4,6 @@ resources:
- data
- development
- home-automation
- kasten-io
- media
- monitoring
- networking