| 1 | plugin_name: go.d.plugin |
| 2 | modules: |
| 3 | - meta: |
| 4 | id: collector-go.d.plugin-k8s_kubelet |
| 5 | plugin_name: go.d.plugin |
| 6 | module_name: k8s_kubelet |
| 7 | monitored_instance: |
| 8 | name: Kubelet |
| 9 | link: https://kubernetes.io/docs/concepts/overview/components/#kubelet |
| 10 | icon_filename: kubernetes.svg |
| 11 | categories: |
| 12 | - data-collection.containers-and-vms |
| 13 | keywords: |
| 14 | - kubelet |
| 15 | - kubernetes |
| 16 | - k8s |
| 17 | related_resources: |
| 18 | integrations: |
| 19 | list: |
| 20 | - plugin_name: apps.plugin |
| 21 | module_name: apps |
| 22 | - plugin_name: go.d.plugin |
| 23 | module_name: k8s_state |
| 24 | - plugin_name: go.d.plugin |
| 25 | module_name: k8s_apiserver |
| 26 | - plugin_name: go.d.plugin |
| 27 | module_name: k8s_kubeproxy |
| 28 | - plugin_name: cgroups.plugin |
| 29 | module_name: /sys/fs/cgroup |
| 30 | monitored_instance_name: "Kubernetes Containers" |
| 31 | - plugin_name: go.d.plugin |
| 32 | module_name: coredns |
| 33 | info_provided_to_referring_integrations: |
| 34 | description: "" |
| 35 | overview: |
| 36 | data_collection: |
| 37 | metrics_description: | |
| 38 | This collector monitors Kubelet instances. |
| 39 | method_description: "" |
| 40 | supported_platforms: |
| 41 | include: [] |
| 42 | exclude: [] |
| 43 | multi_instance: true |
| 44 | additional_permissions: |
| 45 | description: "" |
| 46 | default_behavior: |
| 47 | auto_detection: |
| 48 | description: "" |
| 49 | limits: |
| 50 | description: "" |
| 51 | performance_impact: |
| 52 | description: "" |
| 53 | setup: |
| 54 | prerequisites: |
| 55 | list: [] |
| 56 | configuration: |
| 57 | file: |
| 58 | name: go.d/k8s_kubelet.conf |
| 59 | options: |
| 60 | description: | |
| 61 | The following options can be defined globally: update_every, autodetection_retry. |
| 62 | folding: |
| 63 | title: Config options |
| 64 | enabled: true |
| 65 | list: |
| 66 | - name: update_every |
| 67 | description: Data collection interval (seconds). |
| 68 | default_value: 1 |
| 69 | required: false |
| 70 | group: Collection |
| 71 | - name: autodetection_retry |
| 72 | description: Autodetection retry interval (seconds). Set 0 to disable. |
| 73 | default_value: 0 |
| 74 | required: false |
| 75 | group: Collection |
| 76 | |
| 77 | - name: url |
| 78 | description: Target endpoint URL. |
| 79 | default_value: http://127.0.0.1:10255/metrics |
| 80 | required: true |
| 81 | group: Target |
| 82 | - name: timeout |
| 83 | description: HTTP request timeout (seconds). |
| 84 | default_value: 1 |
| 85 | required: false |
| 86 | group: Target |
| 87 | |
| 88 | - name: username |
| 89 | description: Username for Basic HTTP authentication. |
| 90 | default_value: "" |
| 91 | required: false |
| 92 | group: HTTP Auth |
| 93 | - name: password |
| 94 | description: Password for Basic HTTP authentication. |
| 95 | default_value: "" |
| 96 | required: false |
| 97 | group: HTTP Auth |
| 98 | - name: bearer_token_file |
| 99 | description: "Path to a file containing a bearer token (used for `Authorization: Bearer`)." |
| 100 | default_value: "/var/run/secrets/kubernetes.io/serviceaccount/token" |
| 101 | required: false |
| 102 | group: HTTP Auth |
| 103 | |
| 104 | - name: tls_skip_verify |
| 105 | description: Skip TLS certificate and hostname verification (insecure). |
| 106 | default_value: no |
| 107 | required: false |
| 108 | group: TLS |
| 109 | - name: tls_ca |
| 110 | description: Path to CA bundle used to validate the server certificate. |
| 111 | default_value: "" |
| 112 | required: false |
| 113 | group: TLS |
| 114 | - name: tls_cert |
| 115 | description: Path to client TLS certificate (for mTLS). |
| 116 | default_value: "" |
| 117 | required: false |
| 118 | group: TLS |
| 119 | - name: tls_key |
| 120 | description: Path to client TLS private key (for mTLS). |
| 121 | default_value: "" |
| 122 | required: false |
| 123 | group: TLS |
| 124 | |
| 125 | - name: proxy_url |
| 126 | description: HTTP proxy URL. |
| 127 | default_value: "" |
| 128 | required: false |
| 129 | group: Proxy |
| 130 | - name: proxy_username |
| 131 | description: Username for proxy Basic HTTP authentication. |
| 132 | default_value: "" |
| 133 | required: false |
| 134 | group: Proxy |
| 135 | - name: proxy_password |
| 136 | description: Password for proxy Basic HTTP authentication. |
| 137 | default_value: "" |
| 138 | required: false |
| 139 | group: Proxy |
| 140 | |
| 141 | - name: method |
| 142 | description: HTTP method to use. |
| 143 | default_value: "GET" |
| 144 | required: false |
| 145 | group: Request |
| 146 | - name: body |
| 147 | description: Request body (e.g., for POST/PUT). |
| 148 | default_value: "" |
| 149 | required: false |
| 150 | group: Request |
| 151 | - name: headers |
| 152 | description: "Additional HTTP headers (one per line as key: value)." |
| 153 | default_value: "" |
| 154 | required: false |
| 155 | group: Request |
| 156 | - name: not_follow_redirects |
| 157 | description: Do not follow HTTP redirects. |
| 158 | default_value: no |
| 159 | required: false |
| 160 | group: Request |
| 161 | - name: force_http2 |
| 162 | description: Force HTTP/2 (including h2c over TCP). |
| 163 | default_value: no |
| 164 | required: false |
| 165 | group: Request |
| 166 | |
| 167 | - name: vnode |
| 168 | description: Associates this data collection job with a [Virtual Node](https://learn.netdata.cloud/docs/netdata-agent/configuration/organize-systems-metrics-and-alerts#virtual-nodes). |
| 169 | default_value: "" |
| 170 | required: false |
| 171 | group: Virtual Node |
| 172 | examples: |
| 173 | folding: |
| 174 | title: Config |
| 175 | enabled: true |
| 176 | list: |
| 177 | - name: Basic |
| 178 | folding: |
| 179 | enabled: false |
| 180 | description: A basic example configuration. |
| 181 | config: | |
| 182 | jobs: |
| 183 | - name: local |
| 184 | url: http://127.0.0.1:10255/metrics |
| 185 | - name: HTTPS with self-signed certificate |
| 186 | description: | |
| 187 | Do not validate server certificate chain and hostname. |
| 188 | config: | |
| 189 | jobs: |
| 190 | - name: local |
| 191 | url: http://127.0.0.1:10250/metrics |
| 192 | tls_skip_verify: yes |
| 193 | troubleshooting: |
| 194 | problems: |
| 195 | list: [] |
| 196 | alerts: |
| 197 | - name: kubelet_node_config_error |
| 198 | metric: k8s_kubelet.kubelet_node_config_error |
| 199 | info: "the node is experiencing a configuration-related error (0: false, 1: true)" |
| 200 | link: https://github.com/netdata/netdata/blob/master/src/health/health.d/kubelet.conf |
| 201 | - name: kubelet_token_requests |
| 202 | metric: k8s_kubelet.kubelet_token_requests |
| 203 | info: "number of failed Token() requests to the alternate token source" |
| 204 | link: https://github.com/netdata/netdata/blob/master/src/health/health.d/kubelet.conf |
| 205 | - name: kubelet_token_requests |
| 206 | metric: k8s_kubelet.kubelet_token_requests |
| 207 | info: "number of failed Token() requests to the alternate token source" |
| 208 | link: https://github.com/netdata/netdata/blob/master/src/health/health.d/kubelet.conf |
| 209 | - name: kubelet_operations_error |
| 210 | metric: k8s_kubelet.kubelet_operations_errors |
| 211 | info: number of Docker or runtime operation errors |
| 212 | link: https://github.com/netdata/netdata/blob/master/src/health/health.d/kubelet.conf |
| 213 | - name: kubelet_operations_error |
| 214 | metric: k8s_kubelet.kubelet_operations_errors |
| 215 | info: number of Docker or runtime operation errors |
| 216 | link: https://github.com/netdata/netdata/blob/master/src/health/health.d/kubelet.conf |
| 217 | metrics: |
| 218 | folding: |
| 219 | title: Metrics |
| 220 | enabled: false |
| 221 | description: "" |
| 222 | availability: [] |
| 223 | scopes: |
| 224 | - name: global |
| 225 | description: These metrics refer to the entire monitored application. |
| 226 | labels: [] |
| 227 | metrics: |
| 228 | - name: k8s_kubelet.apiserver_audit_requests_rejected |
| 229 | description: API Server Audit Requests |
| 230 | unit: requests/s |
| 231 | chart_type: line |
| 232 | dimensions: |
| 233 | - name: rejected |
| 234 | - name: k8s_kubelet.apiserver_storage_data_key_generation_failures |
| 235 | description: API Server Failed Data Encryption Key(DEK) Generation Operations |
| 236 | unit: events/s |
| 237 | chart_type: line |
| 238 | dimensions: |
| 239 | - name: failures |
| 240 | - name: k8s_kubelet.apiserver_storage_data_key_generation_latencies |
| 241 | description: API Server Latencies Of Data Encryption Key(DEK) Generation Operations |
| 242 | unit: observes/s |
| 243 | chart_type: stacked |
| 244 | dimensions: |
| 245 | - name: 5_µs |
| 246 | - name: 10_µs |
| 247 | - name: 20_µs |
| 248 | - name: 40_µs |
| 249 | - name: 80_µs |
| 250 | - name: 160_µs |
| 251 | - name: 320_µs |
| 252 | - name: 640_µs |
| 253 | - name: 1280_µs |
| 254 | - name: 2560_µs |
| 255 | - name: 5120_µs |
| 256 | - name: 10240_µs |
| 257 | - name: 20480_µs |
| 258 | - name: 40960_µs |
| 259 | - name: +Inf |
| 260 | - name: k8s_kubelet.apiserver_storage_data_key_generation_latencies_percent |
| 261 | description: API Server Latencies Of Data Encryption Key(DEK) Generation Operations Percentage |
| 262 | unit: percentage |
| 263 | chart_type: stacked |
| 264 | dimensions: |
| 265 | - name: 5_µs |
| 266 | - name: 10_µs |
| 267 | - name: 20_µs |
| 268 | - name: 40_µs |
| 269 | - name: 80_µs |
| 270 | - name: 160_µs |
| 271 | - name: 320_µs |
| 272 | - name: 640_µs |
| 273 | - name: 1280_µs |
| 274 | - name: 2560_µs |
| 275 | - name: 5120_µs |
| 276 | - name: 10240_µs |
| 277 | - name: 20480_µs |
| 278 | - name: 40960_µs |
| 279 | - name: +Inf |
| 280 | - name: k8s_kubelet.apiserver_storage_envelope_transformation_cache_misses |
| 281 | description: API Server Storage Envelope Transformation Cache Misses |
| 282 | unit: events/s |
| 283 | chart_type: line |
| 284 | dimensions: |
| 285 | - name: cache misses |
| 286 | - name: k8s_kubelet.kubelet_containers_running |
| 287 | description: Number Of Containers Currently Running |
| 288 | unit: running_containers |
| 289 | chart_type: line |
| 290 | dimensions: |
| 291 | - name: total |
| 292 | - name: k8s_kubelet.kubelet_pods_running |
| 293 | description: Number Of Pods Currently Running |
| 294 | unit: running_pods |
| 295 | chart_type: line |
| 296 | dimensions: |
| 297 | - name: total |
| 298 | - name: k8s_kubelet.kubelet_pods_log_filesystem_used_bytes |
| 299 | description: Bytes Used By The Pod Logs On The Filesystem |
| 300 | unit: B |
| 301 | chart_type: stacked |
| 302 | dimensions: |
| 303 | - name: a dimension per namespace and pod |
| 304 | - name: k8s_kubelet.kubelet_runtime_operations |
| 305 | description: Runtime Operations By Type |
| 306 | unit: operations/s |
| 307 | chart_type: stacked |
| 308 | dimensions: |
| 309 | - name: a dimension per operation type |
| 310 | - name: k8s_kubelet.kubelet_runtime_operations_errors |
| 311 | description: Runtime Operations Errors By Type |
| 312 | unit: errors/s |
| 313 | chart_type: stacked |
| 314 | dimensions: |
| 315 | - name: a dimension per operation type |
| 316 | - name: k8s_kubelet.kubelet_docker_operations |
| 317 | description: Docker Operations By Type |
| 318 | unit: operations/s |
| 319 | chart_type: stacked |
| 320 | dimensions: |
| 321 | - name: a dimension per operation type |
| 322 | - name: k8s_kubelet.kubelet_docker_operations_errors |
| 323 | description: Docker Operations Errors By Type |
| 324 | unit: errors/s |
| 325 | chart_type: stacked |
| 326 | dimensions: |
| 327 | - name: a dimension per operation type |
| 328 | - name: k8s_kubelet.kubelet_node_config_error |
| 329 | description: Node Configuration-Related Error |
| 330 | unit: bool |
| 331 | chart_type: line |
| 332 | dimensions: |
| 333 | - name: experiencing_error |
| 334 | - name: k8s_kubelet.kubelet_pleg_relist_interval_microseconds |
| 335 | description: PLEG Relisting Interval Summary |
| 336 | unit: microseconds |
| 337 | chart_type: stacked |
| 338 | dimensions: |
| 339 | - name: "0.5" |
| 340 | - name: "0.9" |
| 341 | - name: "0.99" |
| 342 | - name: k8s_kubelet.kubelet_pleg_relist_latency_microseconds |
| 343 | description: PLEG Relisting Latency Summary |
| 344 | unit: microseconds |
| 345 | chart_type: stacked |
| 346 | dimensions: |
| 347 | - name: "0.5" |
| 348 | - name: "0.9" |
| 349 | - name: "0.99" |
| 350 | - name: k8s_kubelet.kubelet_token_requests |
| 351 | description: Token() Requests To The Alternate Token Source |
| 352 | unit: token_requests/s |
| 353 | chart_type: line |
| 354 | dimensions: |
| 355 | - name: total |
| 356 | - name: failed |
| 357 | - name: k8s_kubelet.rest_client_requests_by_code |
| 358 | description: HTTP Requests By Status Code |
| 359 | unit: requests/s |
| 360 | chart_type: stacked |
| 361 | dimensions: |
| 362 | - name: a dimension per HTTP status code |
| 363 | - name: k8s_kubelet.rest_client_requests_by_method |
| 364 | description: HTTP Requests By Status Method |
| 365 | unit: requests/s |
| 366 | chart_type: stacked |
| 367 | dimensions: |
| 368 | - name: a dimension per HTTP method |
| 369 | - name: volume manager |
| 370 | description: These metrics refer to the Volume Manager. |
| 371 | labels: [] |
| 372 | metrics: |
| 373 | - name: k8s_kubelet.volume_manager_total_volumes |
| 374 | description: Volume Manager State Of The World |
| 375 | unit: state |
| 376 | chart_type: line |
| 377 | dimensions: |
| 378 | - name: actual |
| 379 | - name: desired |