Skip to content

Commit

Permalink
Move Kubernetes events metricset to its own block in reference config (
Browse files Browse the repository at this point in the history
…elastic#21407) (elastic#21415)

In the reference configuration the event metricset was in the block of
configurations for kube-state-metrics.

(cherry picked from commit c4b1f04)
  • Loading branch information
jsoriano authored Sep 30, 2020
1 parent aef0051 commit 403983d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions deploy/kubernetes/metricbeat-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ data:
- state_container
- state_cronjob
- state_resourcequota
# Uncomment this to get k8s events:
#- event
period: 10s
host: ${NODE_NAME}
hosts: ["kube-state-metrics:8080"]
Expand All @@ -247,6 +245,10 @@ data:
# ssl.certificate_authorities:
# - /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
# period: 30s
# Uncomment this to get k8s events:
#- module: kubernetes
# metricsets:
# - event
---
# Deploy singleton instance in the whole cluster for some unique data sources, like kube-state-metrics
apiVersion: apps/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ data:
- state_container
- state_cronjob
- state_resourcequota
# Uncomment this to get k8s events:
#- event
period: 10s
host: ${NODE_NAME}
hosts: ["kube-state-metrics:8080"]
Expand All @@ -56,3 +54,7 @@ data:
# ssl.certificate_authorities:
# - /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
# period: 30s
# Uncomment this to get k8s events:
#- module: kubernetes
# metricsets:
# - event

0 comments on commit 403983d

Please sign in to comment.