mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
feat(flux): serviceMonitor
This commit is contained in:
File diff suppressed because it is too large
Load Diff
14
kube/bootstrap/flux/servicemonitor.yaml
Normal file
14
kube/bootstrap/flux/servicemonitor.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: &app flux-system
|
||||
namespace: *app
|
||||
labels:
|
||||
flux: localhost
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
flux: localhost
|
||||
endpoints:
|
||||
- port: metrics
|
||||
64
kube/bootstrap/flux/svc-metrics.yaml
Normal file
64
kube/bootstrap/flux/svc-metrics.yaml
Normal file
@@ -0,0 +1,64 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: &app source-controller-metrics
|
||||
namespace: flux-system
|
||||
labels: &labels
|
||||
app: source-controller
|
||||
flux: localhost
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector: *labels
|
||||
ports:
|
||||
- name: metrics
|
||||
port: 9791
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: &app kustomize-controller-metrics
|
||||
namespace: flux-system
|
||||
labels: &labels
|
||||
app: kustomize-controller
|
||||
flux: localhost
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector: *labels
|
||||
ports:
|
||||
- name: metrics
|
||||
port: 9793
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: &app helm-controller-metrics
|
||||
namespace: flux-system
|
||||
labels: &labels
|
||||
app: helm-controller
|
||||
flux: localhost
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector: *labels
|
||||
ports:
|
||||
- name: metrics
|
||||
port: 9795
|
||||
protocol: TCP
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: &app notification-controller-metrics
|
||||
namespace: flux-system
|
||||
labels: &labels
|
||||
app: notification-controller
|
||||
flux: localhost
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector: *labels
|
||||
ports:
|
||||
- name: metrics
|
||||
port: 9798
|
||||
protocol: TCP
|
||||
Reference in New Issue
Block a user