forked from k-space/kube
		
	monitoring: Clean up blackbox-exporter
This commit is contained in:
		| @@ -18,6 +18,8 @@ spec: | |||||||
|         - https://members.k-space.ee/ |         - https://members.k-space.ee/ | ||||||
|         - https://nextcloud.k-space.ee/ |         - https://nextcloud.k-space.ee/ | ||||||
|         - http://minio.infra.k-space.ee:9001/login |         - http://minio.infra.k-space.ee:9001/login | ||||||
|  |         - http://external-console.minio-clusters.k-space.ee/login | ||||||
|  |         - http://shared-console.minio-clusters.k-space.ee/login | ||||||
| --- | --- | ||||||
| apiVersion: monitoring.coreos.com/v1 | apiVersion: monitoring.coreos.com/v1 | ||||||
| kind: Probe | kind: Probe | ||||||
| @@ -41,14 +43,12 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   prober: |   prober: | ||||||
|     url: blackbox-exporter |     url: blackbox-exporter | ||||||
|     path: /metrics |     path: /probe | ||||||
|   module: tcp_connect |   module: tcp_connect | ||||||
|   targets: |   targets: | ||||||
|     staticConfig: |     staticConfig: | ||||||
|       static: |       static: | ||||||
|         - dc1.ad.k-space.ee:636 |         - dc1.ad.k-space.ee:636 | ||||||
|         - dc2.ad.k-space.ee:636 |  | ||||||
|         - dc3.ad.k-space.ee:636 |  | ||||||
| --- | --- | ||||||
| apiVersion: monitoring.coreos.com/v1 | apiVersion: monitoring.coreos.com/v1 | ||||||
| kind: Probe | kind: Probe | ||||||
| @@ -57,7 +57,7 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   prober: |   prober: | ||||||
|     url: blackbox-exporter |     url: blackbox-exporter | ||||||
|     path: /metrics |     path: /probe | ||||||
|   module: tcp_connect |   module: tcp_connect | ||||||
|   targets: |   targets: | ||||||
|     staticConfig: |     staticConfig: | ||||||
| @@ -67,6 +67,22 @@ spec: | |||||||
|         - mariadb.infra.k-space.ee:3306 |         - mariadb.infra.k-space.ee:3306 | ||||||
| --- | --- | ||||||
| apiVersion: monitoring.coreos.com/v1 | apiVersion: monitoring.coreos.com/v1 | ||||||
|  | kind: Probe | ||||||
|  | metadata: | ||||||
|  |   name: wildduck | ||||||
|  | spec: | ||||||
|  |   prober: | ||||||
|  |     url: blackbox-exporter | ||||||
|  |     path: /probe | ||||||
|  |   module: tcp_connect | ||||||
|  |   targets: | ||||||
|  |     staticConfig: | ||||||
|  |       static: | ||||||
|  |         - mail.k-space.ee:25 | ||||||
|  |         - mail.k-space.ee:465 | ||||||
|  |         - mail.k-space.ee:993 | ||||||
|  | --- | ||||||
|  | apiVersion: monitoring.coreos.com/v1 | ||||||
| kind: PrometheusRule | kind: PrometheusRule | ||||||
| metadata: | metadata: | ||||||
|   name: blackbox-exporter |   name: blackbox-exporter | ||||||
| @@ -168,6 +184,9 @@ spec: | |||||||
|       containers: |       containers: | ||||||
|       - name: blackbox-exporter |       - name: blackbox-exporter | ||||||
|         image: prom/blackbox-exporter:v0.20.0 |         image: prom/blackbox-exporter:v0.20.0 | ||||||
|  |         ports: | ||||||
|  |           - name: http | ||||||
|  |             containerPort: 9115 | ||||||
|         volumeMounts: |         volumeMounts: | ||||||
|         - name: blackbox-exporter-config |         - name: blackbox-exporter-config | ||||||
|           mountPath: /etc/blackbox_exporter |           mountPath: /etc/blackbox_exporter | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user