Skip to content

Commit

Permalink
Enable only default datastreams
Browse files Browse the repository at this point in the history
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark committed Feb 9, 2021
1 parent b1b35b1 commit 03347b9
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/kubernetes/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ deployment are available [here](https://github.com/kubernetes/kube-state-metrics
Generally `kube-state-metrics` runs a `Deployment` and is accessible via a service called `kube-state-metrics` on
`kube-system` namespace, which will be the service to use in our configuration.

state_* datasets are not enabled by default.

#### apiserver

The apiserver dataset requires access to the Kubernetes API, which should be easily available in all Kubernetes
Expand All @@ -71,6 +73,7 @@ available for its configuration:
the datasets to point to these services as part of an `Agent Deployment`.
- Run these datasets as part an `Agent Daemonset` (with HostNetwork setting) with a `nodeSelector` to only run on Master nodes.

These datasets are not enabled by default.

Note: In some "As a Service" Kubernetes implementations, like `GKE`, the master nodes or even the pods running on
the masters won't be visible. In these cases it won't be possible to use `scheduler` and `controllermanager` metricsets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: hosts
type: text
Expand Down
1 change: 1 addition & 0 deletions packages/kubernetes/data_stream/scheduler/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: hosts
type: text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
1 change: 1 addition & 0 deletions packages/kubernetes/data_stream/state_cronjob/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
1 change: 1 addition & 0 deletions packages/kubernetes/data_stream/state_node/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
1 change: 1 addition & 0 deletions packages/kubernetes/data_stream/state_pod/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
1 change: 1 addition & 0 deletions packages/kubernetes/data_stream/state_service/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ release: experimental
type: metrics
streams:
- input: kubernetes/metrics
enabled: false
vars:
- name: add_metadata
type: bool
Expand Down
3 changes: 3 additions & 0 deletions packages/kubernetes/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ deployment are available [here](https://github.com/kubernetes/kube-state-metrics
Generally `kube-state-metrics` runs a `Deployment` and is accessible via a service called `kube-state-metrics` on
`kube-system` namespace, which will be the service to use in our configuration.

state_* datasets are not enabled by default.

#### apiserver

The apiserver dataset requires access to the Kubernetes API, which should be easily available in all Kubernetes
Expand All @@ -71,6 +73,7 @@ available for its configuration:
the datasets to point to these services as part of an `Agent Deployment`.
- Run these datasets as part an `Agent Daemonset` (with HostNetwork setting) with a `nodeSelector` to only run on Master nodes.

These datasets are not enabled by default.

Note: In some "As a Service" Kubernetes implementations, like `GKE`, the master nodes or even the pods running on
the masters won't be visible. In these cases it won't be possible to use `scheduler` and `controllermanager` metricsets.
Expand Down
4 changes: 2 additions & 2 deletions packages/kubernetes/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: kubernetes
title: Kubernetes
version: 0.3.0
version: 0.4.0
license: basic
description: Kubernetes Integration
type: integration
Expand All @@ -10,7 +10,7 @@ categories:
- kubernetes
release: experimental
conditions:
kibana.version: '^7.9.0'
kibana.version: ">=7.11.0"
screenshots:
- src: /img/metricbeat_kubernetes_overview.png
title: Metricbeat Kubernetes Overview
Expand Down

0 comments on commit 03347b9

Please sign in to comment.