fix: enforce post-deploy health checks
This commit is contained in:
@@ -5,6 +5,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
timeout: 15m
|
||||
targetNamespace: observability
|
||||
chart:
|
||||
spec:
|
||||
@@ -32,7 +33,7 @@ spec:
|
||||
serve_from_sub_path: false
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClassName: local-path
|
||||
storageClassName: flash-nfs
|
||||
size: 5Gi
|
||||
service:
|
||||
type: ClusterIP
|
||||
@@ -55,7 +56,7 @@ spec:
|
||||
storageSpec:
|
||||
volumeClaimTemplate:
|
||||
spec:
|
||||
storageClassName: local-path
|
||||
storageClassName: flash-nfs
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
|
||||
@@ -6,14 +6,10 @@ metadata:
|
||||
spec:
|
||||
interval: 10m
|
||||
targetNamespace: observability
|
||||
chart:
|
||||
spec:
|
||||
chart: loki
|
||||
version: 6.10.0
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: grafana
|
||||
namespace: flux-system
|
||||
chartRef:
|
||||
kind: OCIRepository
|
||||
name: loki
|
||||
namespace: flux-system
|
||||
install:
|
||||
createNamespace: true
|
||||
remediation:
|
||||
@@ -50,7 +46,7 @@ spec:
|
||||
replicas: 1
|
||||
persistence:
|
||||
size: 10Gi
|
||||
storageClass: local-path
|
||||
storageClass: flash-nfs
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
|
||||
@@ -6,14 +6,10 @@ metadata:
|
||||
spec:
|
||||
interval: 10m
|
||||
targetNamespace: observability
|
||||
chart:
|
||||
spec:
|
||||
chart: promtail
|
||||
version: 6.16.6
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: grafana
|
||||
namespace: flux-system
|
||||
chartRef:
|
||||
kind: OCIRepository
|
||||
name: promtail
|
||||
namespace: flux-system
|
||||
install:
|
||||
createNamespace: true
|
||||
remediation:
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1h
|
||||
url: https://grafana.github.io/helm-charts
|
||||
@@ -4,7 +4,8 @@ resources:
|
||||
- namespace.yaml
|
||||
- grafana-admin-externalsecret.yaml
|
||||
- helmrepository-prometheus-community.yaml
|
||||
- helmrepository-grafana.yaml
|
||||
- ocirepository-loki.yaml
|
||||
- ocirepository-promtail.yaml
|
||||
- helmrelease-kube-prometheus-stack.yaml
|
||||
- helmrelease-loki.yaml
|
||||
- helmrelease-promtail.yaml
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: OCIRepository
|
||||
metadata:
|
||||
name: loki
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
url: oci://ghcr.io/grafana/helm-charts/loki
|
||||
ref:
|
||||
tag: 6.46.0
|
||||
layerSelector:
|
||||
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
|
||||
operation: copy
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: OCIRepository
|
||||
metadata:
|
||||
name: promtail
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
url: oci://ghcr.io/grafana/helm-charts/promtail
|
||||
ref:
|
||||
tag: 6.16.6
|
||||
layerSelector:
|
||||
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
|
||||
operation: copy
|
||||
Reference in New Issue
Block a user