flux: added goldilocks + vpa
This commit is contained in:
parent
fe5c0246e5
commit
c6f0b742de
|
@ -5,3 +5,4 @@ resources:
|
|||
- presidential-paradise
|
||||
- authentik
|
||||
- gitops
|
||||
- monitoring
|
||||
|
|
22
flux/cluster/apps/monitoring/goldilocks/helm-release.yaml
Normal file
22
flux/cluster/apps/monitoring/goldilocks/helm-release.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: goldilocks
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: goldilocks
|
||||
version: 6.1.2
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: fairwinds-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
timeout: 20m
|
||||
values:
|
||||
dashboard:
|
||||
replicaCount: 1
|
||||
ingress:
|
||||
enabled: false
|
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
5
flux/cluster/apps/monitoring/kustomization.yaml
Normal file
5
flux/cluster/apps/monitoring/kustomization.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- vpa
|
||||
- goldilocks
|
24
flux/cluster/apps/monitoring/vpa/helm-release.yaml
Normal file
24
flux/cluster/apps/monitoring/vpa/helm-release.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: vpa
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: vpa
|
||||
version: 1.3.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: fairwinds-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
timeout: 20m
|
||||
values:
|
||||
recommender:
|
||||
enabled: true
|
||||
updater:
|
||||
enabled: false
|
||||
admissionController:
|
||||
enabled: false
|
4
flux/cluster/apps/monitoring/vpa/kustomization.yaml
Normal file
4
flux/cluster/apps/monitoring/vpa/kustomization.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: fairwinds-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 15m
|
||||
url: https://charts.fairwinds.com/stable
|
||||
timeout: 3m
|
|
@ -5,3 +5,4 @@ resources:
|
|||
- traefik-charts.yaml
|
||||
- external-secrets-charts.yaml
|
||||
- authentik-charts.yaml
|
||||
- fairwinds-charts.yaml
|
||||
|
|
5
flux/cluster/core/namespaces/monitoring.yaml
Normal file
5
flux/cluster/core/namespaces/monitoring.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: monitoring
|
Loading…
Reference in a new issue