mirror of
https://github.com/puppetmaster/typhoon.git
synced 2024-12-27 22:39:32 +01:00
9307e97c46
* Annotate Prometheus service to scrape metrics from Prometheus itself (enables Prometheus* alerts) * Update kube-state-metrics addon-resizer to 1.7 * Use port 8080 for kube-state-metrics * Add PrometheusNotIngestingSamples alert rule * Change K8SKubeletDown alert rule to fire when 10% of kubelets are down, not 1% * https://github.com/coreos/prometheus-operator/pull/1032
18 lines
286 B
YAML
18 lines
286 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: prometheus
|
|
namespace: monitoring
|
|
annotations:
|
|
prometheus.io/scrape: 'true'
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
name: prometheus
|
|
phase: prod
|
|
ports:
|
|
- name: web
|
|
protocol: TCP
|
|
port: 80
|
|
targetPort: 9090
|