Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove in_cluster from doc examples #13651

Merged
merged 3 commits into from
Sep 16, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Default of output.kafka.metadata.full is set to false by now. This reduced the amount of metadata to be queried from a kafka cluster. {pull}12738[12738]
- Fixed a crash under Windows when fetching processes information. {pull}12833[12833]
- Update to Golang 1.12.7. {pull}12931[12931]
- Remove `in_cluster` configuration parameter for Kuberentes {pull}13051[13051]
ChrsMark marked this conversation as resolved.
Show resolved Hide resolved

*Auditbeat*

Expand Down
1 change: 0 additions & 1 deletion deploy/kubernetes/filebeat-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ data:
- /var/log/containers/*.log
processors:
- add_kubernetes_metadata:
in_cluster: true
host: ${NODE_NAME}
matchers:
- logs_path:
Expand Down
1 change: 0 additions & 1 deletion deploy/kubernetes/filebeat/filebeat-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ data:
- /var/log/containers/*.log
processors:
- add_kubernetes_metadata:
in_cluster: true
host: ${NODE_NAME}
matchers:
- logs_path:
Expand Down
1 change: 0 additions & 1 deletion metricbeat/module/kubernetes/state_cronjob/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ Kubernetes YAML chunk should look like:
- state_cronjob
period: 10s
hosts: ["kube-state-metrics:8080"]
in_cluster: true
```

Deploy kube-state-metrics. You can find the manifests [here](https://github.com/kubernetes/kube-state-metrics/tree/release-1.7/kubernetes)
Expand Down
3 changes: 1 addition & 2 deletions x-pack/filebeat/module/coredns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ kubectl apply -f filebeat
hints.default_config.enabled: false

processors:
- add_kubernetes_metadata:
in_cluster: true
- add_kubernetes_metadata: ~
```

This enables auto-discovery and hints for filebeat. When default.disable is set to true (default value is false), it will disable log harvesting for the pod/container, unless it has specific annotations enabled. This gives users more granular control on kubernetes log ingestion. The `add_kubernetes_metadata` processor will add enrichment data for Kubernetes to the ingest logs.
Expand Down
3 changes: 1 addition & 2 deletions x-pack/filebeat/module/envoyproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ kubectl apply -f filebeat
hints.default_config.enabled: false

processors:
- add_kubernetes_metadata:
in_cluster: true
- add_kubernetes_metadata: ~
```

This enables auto-discovery and hints for filebeat. When default.disable is set to true (default value is false), it will disable log harvesting for the pod/container, unless it has specific annotations enabled. This gives users more granular control on kubernetes log ingestion. The `add_kubernetes_metadata` processor will add enrichment data for Kubernetes to the ingest logs.
Expand Down