You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/inputs/kubernetes/README.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Kubernetes Input Plugin
2
2
3
-
This input plugin talks to the kubelet api using the `/stats/summary` endpoint to gather metrics about the running pods and containers for a single host. It is assumed that this plugin is running as part of a `daemonset` within a kubernetes installation. This means that telegraf is running on every node within the cluster. Therefore, you should configure this plugin to talk to its locally running kubelet.
3
+
This input plugin talks to the kubelet api using the `/stats/summary`and `/pods`endpoint to gather metrics about the running pods and containers for a single host. It is assumed that this plugin is running as part of a `daemonset` within a kubernetes installation. This means that telegraf is running on every node within the cluster. Therefore, you should configure this plugin to talk to its locally running kubelet.
4
4
5
5
To find the ip address of the host you are running on you can issue a command like the following:
6
6
@@ -44,6 +44,11 @@ avoid cardinality issues:
44
44
## OR
45
45
# bearer_token_string = "abc_123"
46
46
47
+
# Labels to include and exclude
48
+
# An empty array for include and exclude will include all labels
0 commit comments