Compare commits
No commits in common. "bff6712c3a9893073c86d3e88f683614377ac448" and "38535140edcdf6bfe5d5d4c0a5e4135ecebc9799" have entirely different histories.
bff6712c3a
...
38535140ed
40528
manifests/prometheus-operator/bundle.yaml
Normal file
40528
manifests/prometheus-operator/bundle.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,3 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
namespace: monitoring
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.69.1/bundle.yaml
|
- bundle.yaml
|
||||||
- servicemonitor.yaml
|
- servicemonitor.yaml
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: Alertmanager
|
|
||||||
metadata:
|
|
||||||
name: core
|
|
||||||
namespace: monitoring
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
alertmanagerConfigSelector:
|
|
||||||
matchLabels:
|
|
||||||
alertmanagerConfig: core
|
|
||||||
alertmanagerConfigMatcherStrategy:
|
|
||||||
type: None
|
|
||||||
logLevel: debug
|
|
@ -1,22 +0,0 @@
|
|||||||
apiVersion: monitoring.coreos.com/v1alpha1
|
|
||||||
kind: AlertmanagerConfig
|
|
||||||
metadata:
|
|
||||||
name: alertmanager-core-config
|
|
||||||
namespace: monitoring
|
|
||||||
labels:
|
|
||||||
alertmanagerConfig: core
|
|
||||||
spec:
|
|
||||||
route:
|
|
||||||
groupBy: ['alertname']
|
|
||||||
groupWait: 30s
|
|
||||||
groupInterval: 5m
|
|
||||||
repeatInterval: 1h
|
|
||||||
receiver: discord
|
|
||||||
continue: true
|
|
||||||
receivers:
|
|
||||||
- name: discord
|
|
||||||
discordConfigs:
|
|
||||||
- apiURL:
|
|
||||||
name: discord-webhook
|
|
||||||
key: url
|
|
||||||
sendResolved: true
|
|
@ -1,7 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- alertmanager.yaml
|
|
||||||
- config.yaml
|
|
||||||
- service.yaml
|
|
@ -1,13 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: alertmanager-svc
|
|
||||||
namespace: monitoring
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- name: web
|
|
||||||
port: 9093
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: web
|
|
||||||
selector:
|
|
||||||
alertmanager: discord
|
|
@ -1,6 +1,3 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- serviceaccount.yaml
|
- serviceaccount.yaml
|
||||||
- clusterrole.yaml
|
- clusterrole.yaml
|
||||||
@ -9,4 +6,3 @@ resources:
|
|||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
- servicemonitor.yaml
|
- servicemonitor.yaml
|
||||||
- prometheus.yaml
|
- prometheus.yaml
|
||||||
- alertmanager
|
|
||||||
|
@ -7,7 +7,9 @@ spec:
|
|||||||
serviceAccountName: prometheus
|
serviceAccountName: prometheus
|
||||||
serviceMonitorNamespaceSelector: {}
|
serviceMonitorNamespaceSelector: {}
|
||||||
serviceMonitorSelector: {}
|
serviceMonitorSelector: {}
|
||||||
podMonitorSelector: {}
|
podMonitorSelector:
|
||||||
|
matchLabels:
|
||||||
|
team: core
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 300Mi
|
memory: 300Mi
|
||||||
@ -22,10 +24,3 @@ spec:
|
|||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
fsGroup: 2000
|
fsGroup: 2000
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
alerting:
|
|
||||||
alertmanagers:
|
|
||||||
- namespace: monitoring
|
|
||||||
name: alertmanager-svc
|
|
||||||
port: web
|
|
||||||
ruleSelector: {}
|
|
||||||
ruleNamespaceSelector: {}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user