Compare commits

..

1 Commits

Author SHA1 Message Date
Renovate Bot f69a7f9282 feat(helm): update chart app-template to 3.4.0 2024-09-21 07:10:34 +00:00
84 changed files with 150 additions and 625 deletions

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: intel-device-plugins-gpu
version: 0.31.0
version: 0.30.0
sourceRef:
kind: HelmRepository
name: intel

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: intel-device-plugins-operator
version: 0.31.0
version: 0.30.0
sourceRef:
kind: HelmRepository
name: intel

View File

@ -5,7 +5,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- github.com/fluxcd/flux2/manifests/install?ref=v2.4.0
- github.com/fluxcd/flux2/manifests/install?ref=v2.3.0
patches:
# Resources renamed to match those installed by oci://ghcr.io/fluxcd/flux-manifests
- target:

View File

@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: authentik
version: 2024.8.3
version: 2024.8.2
sourceRef:
kind: HelmRepository
name: authentik-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -30,7 +30,7 @@ spec:
api:
image:
repository: ghcr.io/zibbp/ganymede
tag: 3.0.2
tag: 3.0.1
securityContext:
#allowPrivilegeEscalation: false

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -17,7 +17,7 @@ spec:
values:
image:
repository: ghcr.io/onedr0p/bazarr
tag: "1.4.5"
tag: "1.4.4"
env:
TZ: America/New_York

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -17,7 +17,7 @@ spec:
values:
image:
repository: ghcr.io/onedr0p/prowlarr-develop
tag: "1.24.3.4754"
tag: "1.24.0.4721"
# Metrics sidecar
sidecars:

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -35,7 +35,7 @@ spec:
image:
repository: bobokun/qbit_manage
tag: "v4.1.10"
tag: "v4.1.9"
env:
QBT_STARTUP_DELAY: 45 # seconds

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -28,7 +28,7 @@ spec:
app:
image:
repository: ghcr.io/onedr0p/qbittorrent
tag: 4.6.6
tag: 4.6.7
env:
QBITTORRENT__PORT: 8080

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -17,7 +17,7 @@ spec:
values:
image:
repository: ghcr.io/onedr0p/radarr-develop
tag: "5.12.0.9255"
tag: "5.10.3.9178"
# Metrics sidecar
sidecars:

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -17,7 +17,7 @@ spec:
values:
image:
repository: ghcr.io/onedr0p/sonarr-develop
tag: "4.0.9.2457"
tag: "4.0.9.2386"
# Metrics sidecar
sidecars:

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -17,7 +17,7 @@ spec:
values:
image:
repository: gotson/komga
tag: "1.14.0"
tag: "1.13.0"
env:
TZ: America/New_York

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: grafana
version: "8.5.2"
version: "8.5.1"
sourceRef:
kind: HelmRepository
name: grafana-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: kube-prometheus-stack
version: "64.0.0"
version: "62.7.0"
sourceRef:
kind: HelmRepository
name: prometheus-community-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -10,7 +10,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.x
version: 3.4.x
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: traefik
version: '32.0.0'
version: '31.1.0'
sourceRef:
kind: HelmRepository
name: traefik-charts

View File

@ -9,7 +9,7 @@ spec:
url: https://github.com/traefik/traefik-helm-chart.git
ref:
# renovate: registryUrl=https://helm.traefik.io/traefik chart=traefik
tag: v32.0.0
tag: v31.1.0
ignore: |
# exclude all
/*

View File

@ -0,0 +1,54 @@
apiVersion: cilium.io/v2alpha1
kind: CiliumBGPClusterConfig
metadata:
name: cilium-bgp
spec:
nodeSelector:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
bgpInstances:
- name: "bgp-public"
localASN: 65552
peers:
- name: "router"
peerASN: 65551
peerAddress: 192.168.1.1
peerConfigRef:
name: "cilium-peer-router"
---
apiVersion: cilium.io/v2alpha1
kind: CiliumBGPPeerConfig
metadata:
name: cilium-peer-router
spec:
timers:
holdTimeSeconds: 9
keepAliveTimeSeconds: 3
gracefulRestart:
enabled: true
restartTimeSeconds: 15
families:
- afi: ipv4
safi: unicast
advertisements:
matchLabels:
advertise: "bgp-public"
---
apiVersion: cilium.io/v2alpha1
kind: CiliumBGPAdvertisement
metadata:
name: bgp-public-ad
labels:
advertise: "bgp-public"
spec:
advertisements:
- advertisementType: "Service"
service:
addresses:
#- ClusterIP
- ExternalIP
- LoadBalancerIP
selector:
matchLabels:
bgp/service-type: public

View File

@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./cilium/ks.yaml
- ./main-ip-pool.yaml
- ./bgp.yaml

View File

@ -0,0 +1,8 @@
apiVersion: "cilium.io/v2alpha1"
kind: CiliumLoadBalancerIPPool
metadata:
name: "main-pool"
spec:
blocks:
- start: "192.168.2.50"
stop: "192.168.2.59"

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: redis
version: 20.1.6
version: 20.1.0
sourceRef:
kind: HelmRepository
name: bitnami-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts
@ -24,7 +24,7 @@ spec:
app:
image:
repository: ghcr.io/onedr0p/home-assistant
tag: 2024.9.3
tag: 2024.9.1
env:
TZ: America/New_York #${SERVER_TIMEZONE}
HASS_HTTP_TRUSTED_PROXY_1: 192.168.0.0/16
@ -46,7 +46,7 @@ spec:
code-server:
image:
repository: ghcr.io/coder/code-server
tag: 4.93.1
tag: 4.92.2
args: [
"--auth", "none",
"--user-data-dir", "/config/.vscode",

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: app-template
version: 3.5.0
version: 3.4.0
sourceRef:
kind: HelmRepository
name: bjws-charts

View File

@ -33,30 +33,3 @@ metadata:
spec:
interval: 1m
url: https://victoriametrics.github.io/helm-charts
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: grafana
namespace: flux-system
spec:
interval: 1m
url: https://grafana.github.io/helm-charts
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: prometheus-community
namespace: flux-system
spec:
interval: 1m
url: https://prometheus-community.github.io/helm-charts
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: cilium
namespace: flux-system
spec:
interval: 2h
url: https://helm.cilium.io/

View File

@ -1,30 +0,0 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: cilium
spec:
interval: 30m
chart:
spec:
chart: cilium
version: 1.16.2
sourceRef:
kind: HelmRepository
name: cilium
namespace: flux-system
values:
l2announcements:
enabled: true
k8sClientRateLimit:
qps: 43
burst: 86
kubeProxyReplacement: true
k8sServiceHost: 192.168.1.20
k8sServicePort: 6443
devices: enp+ #0s31f6
enableRuntimeDeviceDetection: true
externalIPs:
enabled: true
rollOutCiliumPods: true

View File

@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helm-release.yaml

View File

@ -1,5 +0,0 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./l2.yaml

View File

@ -1,24 +0,0 @@
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/cilium.io/ciliuml2announcementpolicy_v2alpha1.json
apiVersion: "cilium.io/v2alpha1"
kind: CiliumL2AnnouncementPolicy
metadata:
name: policy
spec:
nodeSelector:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
interfaces: ["^enp.*"]
loadBalancerIPs: true
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/cilium.io/ciliumloadbalancerippool_v2alpha1.json
apiVersion: cilium.io/v2alpha1
kind: CiliumLoadBalancerIPPool
metadata:
name: main-pool
spec:
allowFirstLastIPs: "Yes"
blocks:
- # same subnet as nodes
start: 192.168.1.50
stop: 192.168.1.69

View File

@ -1,57 +0,0 @@
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cilium
namespace: flux-system
spec:
targetNamespace: kube-system
interval: 30m
retryInterval: 1m
timeout: 5m
path: ./kubernetes/thin/apps/kube-system/cilium/app
prune: true
sourceRef:
kind: GitRepository
name: home-cluster
decryption:
provider: sops
secretRef:
name: sops-gpg
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cilium-config
namespace: flux-system
spec:
targetNamespace: kube-system
interval: 30m
retryInterval: 1m
timeout: 5m
path: ./kubernetes/thin/apps/kube-system/cilium/config
prune: true
sourceRef:
kind: GitRepository
name: home-cluster
decryption:
provider: sops
secretRef:
name: sops-gpg
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets
dependsOn:
- name: cilium

View File

@ -2,8 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helm-repositories.yaml
- ./kube-system
# networking
- ./cilium
- ./nginx/ks.yaml
- ../../common/apps/cert-manager
# storage

View File

@ -1,168 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: grafana
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: grafana
version: "8.5.2"
sourceRef:
kind: HelmRepository
name: grafana
namespace: flux-system
values:
ingress:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
className: internal
hosts:
- &grafana-host grafana.internal.${SECRET_NEW_DOMAIN}
path: "/"
tls:
- hosts:
- *grafana-host
grafana.ini:
server:
root_url: https://grafana.internal.${SECRET_NEW_DOMAIN}
auth:
disable_login_form: true
oauth_auto_login: true
auth.generic_oauth:
enabled: true
allow_sign_up: true # creates new users after authentik login
auto_login: true
name: Authentik
client_id: $__file{/etc/secrets/auth_generic_oauth/client_id}
client_secret: $__file{/etc/secrets/auth_generic_oauth/client_secret}
scopes: openid profile email offline_access
auth_url: https://auth.${SECRET_BASE_DOMAIN}/application/o/authorize/
token_url: https://auth.${SECRET_BASE_DOMAIN}/application/o/token/
api_url: https://auth.${SECRET_BASE_DOMAIN}/application/o/userinfo/
role_attribute_path: contains(groups[*], 'authentik Admins') && 'GrafanaAdmin' #|| contains(info.groups[*], 'editor') && 'Editor' || 'Viewer'
groups_attribute_path: groups
name_attribute_path: preferred_username
login_attribute_path: email
allow_assign_grafana_admin: true
use_pkce: true
use_refresh_token: true
# Provide oauth creds
extraSecretMounts:
- name: grafana-secrets-mount
secretName: grafana-oauth
defaultMode: 0440
mountPath: /etc/secrets/auth_generic_oauth
readOnly: true
# Add Victoria Metrics as the default datasource
datasources:
victoria.yaml:
apiVersion: 1
datasources:
- name: Victoria
type: prometheus
jsonData:
tlsSkipVerify: true
url: http://vmsingle-primary.monitoring.svc:8429
editable: false
isDefault: true
# datasources:
# - name: Victoria
# uid: victoria-metrics-server
# type: prometheus
# jsonData:
# tlsSkipVerify: "true"
# editable: false"
# url: http://victoria-metrics-server.monitoring.svc:8428
# version: "1"
# isDefault: "true"
sidecar:
dashboards:
enabled: true
label: grafana_dashboard
labelValue: "1"
folderAnnotation: grafana_folder
provider:
foldersFromFilesStructure: true
serviceMonitor:
enabled: true
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: default
orgId: 1
folder: ""
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default
- name: kubernetes
orgId: 1
folder: Kubernetes
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/kubernetes
dashboards:
default:
node-exporter-full:
# renovate: depName="Node Exporter Full"
gnetId: 1860
revision: 33
datasource: Victoria
cert-manager:
url: https://raw.githubusercontent.com/monitoring-mixins/website/master/assets/cert-manager/dashboards/cert-manager.json
datasource: Victoria
# minio:
# # renovate: depName="MinIO Dashboard"
# gnetId: 13502
# revision: 24
# datasource:
# - { name: DS_PROMETHEUS, value: Victoria }
kubernetes:
kubernetes-api-server:
# renovate: depName="Kubernetes / System / API Server"
gnetId: 15761
revision: 16
datasource: Victoria
kubernetes-coredns:
# renovate: depName="Kubernetes / System / CoreDNS"
gnetId: 15762
revision: 17
datasource: Victoria
kubernetes-global:
# renovate: depName="Kubernetes / Views / Global"
gnetId: 15757
revision: 36
datasource: Victoria
kubernetes-namespaces:
# renovate: depName="Kubernetes / Views / Namespaces"
gnetId: 15758
revision: 32
datasource: Victoria
kubernetes-nodes:
# renovate: depName="Kubernetes / Views / Nodes"
gnetId: 15759
revision: 28
datasource: Victoria
kubernetes-pods:
# renovate: depName="Kubernetes / Views / Pods"
gnetId: 15760
revision: 21
datasource: Prometheus

View File

@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./secret.sops.yaml
- ./helm-release.yaml

View File

@ -1,72 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: grafana-oauth
namespace: monitoring
stringData:
client_id: ENC[AES256_GCM,data:bmrhYD+cLeKC7sPsGYlLSXBDkqr6capZwP3CY/2T2ca9su46TnrZPg==,iv:BC7SS6B390c2ZazTpQVLuzo93YqNYMneTox0kjOIsfs=,tag:um7jM/endC6e86NfJsXpow==,type:str]
client_secret: ENC[AES256_GCM,data:H/nqW0f8tE8MfQ1wtloU7XWOmBnjImcXyP4GJVO7KJ6Q5JrUZbFAcS1khqe6nBUJCf+/9M+8BEhxPhFR5/IiuzV7xk7a71jw4jMEZs4YizkpUhw4JZ5+YhGcpcGFqB1egsd4sQLWIdRpYy2E45EiuUvldNs2qvBtYrCO2o2MnL8=,iv:UEhm5zywHwkTQO12qg0/tOkfqpOndlKIy75cydMcmvA=,tag:EkzTHSXKYpEutGUa7lZQ5Q==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-09-27T19:58:26Z"
mac: ENC[AES256_GCM,data:ftw1bowXQNeyQy55BugSr31VakDVp9aGnq8nNBIvpdMxS0vd/l2DVjhCy9BF/iWQU7T1PR4TErEDCfeJaMpXOt8HzDlDy7IxIuHSSMHK9rFR/L+CwWu0aIwxGB8RpcWlt5JDCWkuk3nCtv61jV6KuZ7fFX/8YXuIVx6Ev6HW7yI=,iv:t5cuWCr53rO7g6BiyLoISmQNE+TBPpdaBebY4Jy+7tQ=,tag:CQEPser8jQbcMlbXN82ANg==,type:str]
pgp:
- created_at: "2024-09-27T19:58:26Z"
enc: |-
-----BEGIN P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Wy83
adkgOB7DNO/LMX11XWPha+5Pab1ofqn0XUN+xklfkZ1766pMWCnBCKpK6LrAvxWk
6kChg8lW+flq6T3MtoloQmWiKY875pd7ZuEihAthgCDjdbOoPV24dPkj0ICFMATN
pZVXd0TzT5efhIb16oxe/+OPdphNIkKl0KCdM4/sSiG8h+FKKjPYNRNsrkPdx/gl
uCIxA7AF0lH3tvi4yUIgZEd+23RTxNd+5IzMVFwntG7Kj9IeCQ0N5fIeoz4BvB7U
ZgEJAhBCtL8btKWlS9/RUTUDBUhdHZ7lxwQFnM2f6ki4RqO5cbb9QphNriEAxTvm
BXhne3sMAVi9KKf/ZsmJ5EOvBicf4qQeN2NfIGJ+HxiQAIyHj9PhVJNJK5OP+t+Q
HnIbXMw9fQ==
=Ls8l
-----END PGP MESSAGE-----
fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D
encrypted_regex: ^(data|stringData)$
version: 3.9.0

View File

@ -1,30 +0,0 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: grafana
namespace: flux-system
spec:
targetNamespace: monitoring
timeout: 5m
interval: 10m
path: ./kubernetes/thin/apps/monitoring/grafana/app
prune: true
sourceRef:
kind: GitRepository
name: home-cluster
decryption:
provider: sops
secretRef:
name: sops-gpg
dependsOn:
- name: victoria-metrics-deploys
- name: kube-prometheus-stack
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets

View File

@ -1,85 +0,0 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: kube-prometheus-stack
namespace: monitoring
spec:
interval: 5m
chart:
spec:
chart: kube-prometheus-stack
version: "64.0.0"
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: flux-system
values:
alertmanager:
enabled: false
grafana:
enabled: false
# enabled dashboards even with grafana being disabled
#forceDeployDashboards: true
#defaultDashboardsTimezone: America/New_York
prometheus:
enabled: false
defaultRule:
create: false
rules:
general: false
kubelet:
enabled: true
serviceMonitor:
metricRelabelings:
# Remove duplicate metrics
- sourceLabels: ["__name__"]
regex: "(apiserver_audit|apiserver_client|apiserver_delegated|apiserver_envelope|apiserver_storage|apiserver_webhooks|authentication_token|cadvisor_version|container_blkio|container_cpu|container_fs|container_last|container_memory|container_network|container_oom|container_processes|container|csi_operations|disabled_metric|get_token|go|hidden_metric|kubelet_certificate|kubelet_cgroup|kubelet_container|kubelet_containers|kubelet_cpu|kubelet_device|kubelet_graceful|kubelet_http|kubelet_lifecycle|kubelet_managed|kubelet_node|kubelet_pleg|kubelet_pod|kubelet_run|kubelet_running|kubelet_runtime|kubelet_server|kubelet_started|kubelet_volume|kubernetes_build|kubernetes_feature|machine_cpu|machine_memory|machine_nvm|machine_scrape|node_namespace|plugin_manager|prober_probe|process_cpu|process_max|process_open|process_resident|process_start|process_virtual|registered_metric|rest_client|scrape_duration|scrape_samples|scrape_series|storage_operation|volume_manager|volume_operation|workqueue)_(.+)"
action: keep
- sourceLabels: ["node"]
targetLabel: instance
action: replace
kubeApiServer:
serviceMonitor:
selector:
k8s-app: kube-apiserver
kubeScheduler:
service:
selector:
k8s-app: kube-scheduler
kubeControllerManager: &kubeControllerManager
service:
selector:
k8s-app: kube-controller-manager
kubeEtcd:
<<: *kubeControllerManager # etcd runs on control plane nodes
prometheus-node-exporter:
fullnameOverride: node-exporter
prometheus:
monitor:
enabled: true
relabelings:
- action: replace
regex: (.*)
replacement: $1
sourceLabels: ["__meta_kubernetes_pod_node_name"]
targetLabel: kubernetes_node
kube-state-metrics:
fullnameOverride: kube-state-metrics
metricLabelsAllowlist:
- pods=[*]
- deployments=[*]
- persistentvolumeclaims=[*]
prometheus:
monitor:
enabled: true
relabelings:
- action: replace
regex: (.*)
replacement: $1
sourceLabels: ["__meta_kubernetes_pod_node_name"]
targetLabel: kubernetes_node

View File

@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helm-release.yaml

View File

@ -1,29 +0,0 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: kube-prometheus-stack
namespace: flux-system
spec:
targetNamespace: monitoring
timeout: 5m
interval: 10m
path: ./kubernetes/thin/apps/monitoring/kube-prometheus-stack/app
prune: true
sourceRef:
kind: GitRepository
name: home-cluster
decryption:
provider: sops
secretRef:
name: sops-gpg
dependsOn:
- name: victoria-metrics-deploys
postBuild:
substitute: {}
substituteFrom:
- kind: ConfigMap
name: cluster-settings
- kind: Secret
name: cluster-secrets

View File

@ -2,5 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./victoria-metrics/ks.yaml
- ./kube-prometheus-stack/ks.yaml
- ./grafana/ks.yaml

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: victoria-metrics-operator
version: 0.35.2
version: 0.34.8
sourceRef:
kind: HelmRepository
name: victoria-metrics-charts

View File

@ -1,17 +1,17 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAgent
metadata:
name: select-all
name: vmagent-select-all
namespace: monitoring
spec:
image:
repository: victoriametrics/vmagent
tag: v1.104.0
tag: v1.103.0
pullPolicy: IfNotPresent
selectAllByDefault: true
vmAgentExternalLabelName: vmagent
remoteWrite:
- url: http://vmsingle-primary.monitoring.svc:8429/api/v1/write
- url: http://vmsingle-vmsingle:8429/api/v1/write
minScrapeInterval: 30s
maxScrapeInterval: 24h

View File

@ -1,12 +1,12 @@
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMSingle
metadata:
name: primary
name: vmsingle
namespace: monitoring
spec:
image:
repository: victoriametrics/victoria-metrics
tag: v1.104.0
tag: v1.103.0
retentionPeriod: "6" # in months
replicaCount: 1

View File

@ -28,7 +28,9 @@ spec:
replicaCount: 2
service:
annotations:
io.cilium/lb-ipam-ips: 192.168.1.50
io.cilium/lb-ipam-ips: 192.168.2.50
labels:
bgp/service-type: public
ingressClassResource:
name: external

View File

@ -28,7 +28,9 @@ spec:
replicaCount: 2
service:
annotations:
io.cilium/lb-ipam-ips: 192.168.1.51
io.cilium/lb-ipam-ips: 192.168.2.51
labels:
bgp/service-type: public
ingressClassResource:
name: internal

View File

@ -9,7 +9,7 @@ spec:
chart:
spec:
chart: openebs
version: 4.1.1
version: 4.1.0
sourceRef:
kind: HelmRepository
name: openebs

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: traefik
version: '32.0.0'
version: '30.1.0'
sourceRef:
kind: HelmRepository
name: traefik-charts

View File

@ -8,7 +8,7 @@ spec:
chart:
spec:
chart: traefik
version: '32.0.0'
version: '30.1.0'
sourceRef:
kind: HelmRepository
name: traefik-charts