add gitops config for clusters/app
This commit is contained in:
parent
0bf85b4f6f
commit
b5c5fc202f
6
clusters/app/kustomization.yaml
Normal file
6
clusters/app/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
resources:
|
||||
- ../../repo/helm/kustomization.yaml
|
||||
- observability-agent.yaml
|
||||
41
clusters/app/observability-agent.yaml
Normal file
41
clusters/app/observability-agent.yaml
Normal file
@ -0,0 +1,41 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: my-application
|
||||
namespace: default
|
||||
spec:
|
||||
releaseName: my-release
|
||||
targetNamespace: default
|
||||
chart:
|
||||
spec:
|
||||
chart: observableagent
|
||||
version: "0.1.6"
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: stable
|
||||
namespace: monitoring
|
||||
interval: 1m
|
||||
values:
|
||||
deepflow-agent:
|
||||
enabled: true
|
||||
deepflowServerNodeIPS:
|
||||
- 10.0.1.2
|
||||
deepflowK8sClusterID: d-QKd3eUzvg9
|
||||
prometheus:
|
||||
enabled: true
|
||||
server:
|
||||
extraFlags:
|
||||
- enable-feature=expand-external-labels
|
||||
- web.enable-lifecycle
|
||||
remoteWrite:
|
||||
- name: remote_prometheus
|
||||
url: 'https://prometheus.svc.plus/api/v1/write'
|
||||
alertmanager:
|
||||
enabled: false
|
||||
rometheus-pushgateway:
|
||||
enabled: false
|
||||
promtail:
|
||||
enabled: true
|
||||
config:
|
||||
clients:
|
||||
- url: https://data-gateway.svc.plus/loki/api/v1/push
|
||||
0
clusters/common/kustomization.yaml
Normal file
0
clusters/common/kustomization.yaml
Normal file
4
repo/helm/kustomization.yaml
Normal file
4
repo/helm/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- stable.yaml
|
||||
8
repo/helm/stable
Normal file
8
repo/helm/stable
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: stable
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 1m
|
||||
url: https://charts.onwalk.net/
|
||||
Loading…
Reference in New Issue
Block a user