Files
infrastructure/clusters/cl01tl/manifests/kube-prometheus-stack/ServiceMonitor-kube-prometheus-stack-kubelet.yaml
gitea-bot 8a8e3e9c7c Automated Manifest Update (#4889)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow.

### Details
- **Trigger**: `pull_request` by `@alexlebens`
- **Commit**: `6707b9d` (on `6707b9d3a1d69446b973a92964e3d133340b1561`)
- **Charts Updated**: `kube-prometheus-stack`

### Update Details (2026-03-20 00:11 UTC)
- **Trigger**: `pull_request` by `@alexlebens`
- **Commit**: `3ebc4ad` (on `3ebc4adee9ad6598b9eacc3bce6cb7b400583125`)
- **Charts Updated**: `qbittorrent`

### Update Details (2026-03-20 00:13 UTC)
- **Trigger**: `pull_request` by `@alexlebens`
- **Commit**: `e26e972` (on `e26e97222bfbd75c7b0995ab351bf2771f50f422`)
- **Charts Updated**: `prometheus-operator-crds`

### Update Details (2026-03-20 00:22 UTC)
- **Trigger**: `pull_request` by `@alexlebens`
- **Commit**: `e3670d6` (on `e3670d6f3b5697fae50aae0ca1b619270fb496e9`)
- **Charts Updated**: `immich`

### Update Details (2026-03-20 00:28 UTC)
- **Trigger**: `workflow_dispatch` by `@alexlebens`
- **Commit**: `e3670d6` (on `main`)
- **Charts Updated**: `audiobookshelf`

Reviewed-on: #4889
Co-authored-by: gitea-bot <gitea-bot@alexlebens.net>
Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
2026-03-20 01:01:38 +00:00

112 lines
3.5 KiB
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-prometheus-stack-kubelet
namespace: kube-prometheus-stack
labels:
app: kube-prometheus-stack-kubelet
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: kube-prometheus-stack
app.kubernetes.io/version: "82.12.0"
app.kubernetes.io/part-of: kube-prometheus-stack
chart: kube-prometheus-stack-82.12.0
release: "kube-prometheus-stack"
heritage: "Helm"
spec:
attachMetadata:
node: false
jobLabel: k8s-app
namespaceSelector:
matchNames:
- kube-system
selector:
matchLabels:
app.kubernetes.io/name: kubelet
k8s-app: kubelet
endpoints:
- port: https-metrics
scheme: https
tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecureSkipVerify: true
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
honorTimestamps: true
metricRelabelings:
- action: drop
regex: (csi_operations|storage_operation_duration)_seconds_bucket;(0.25|2.5|15|25|120|600)(\.0)?
sourceLabels:
- __name__
- le
relabelings:
- action: replace
sourceLabels:
- __metrics_path__
targetLabel: metrics_path
- port: https-metrics
scheme: https
path: /metrics/cadvisor
interval: 10s
honorLabels: true
honorTimestamps: true
trackTimestampsStaleness: true
tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecureSkipVerify: true
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
metricRelabelings:
- action: drop
regex: container_cpu_(cfs_throttled_seconds_total|load_average_10s|system_seconds_total|user_seconds_total)
sourceLabels:
- __name__
- action: drop
regex: container_fs_(io_current|io_time_seconds_total|io_time_weighted_seconds_total|reads_merged_total|sector_reads_total|sector_writes_total|writes_merged_total)
sourceLabels:
- __name__
- action: drop
regex: container_memory_(mapped_file|swap)
sourceLabels:
- __name__
- action: drop
regex: container_(file_descriptors|tasks_state|threads_max)
sourceLabels:
- __name__
- action: drop
regex: container_memory_failures_total;hierarchy
sourceLabels:
- __name__
- scope
- action: drop
regex: container_network_.*;(cali|cilium|cni|lxc|nodelocaldns|tunl).*
sourceLabels:
- __name__
- interface
- action: drop
regex: container_spec.*
sourceLabels:
- __name__
- action: drop
regex: .+;
sourceLabels:
- id
- pod
relabelings:
- action: replace
sourceLabels:
- __metrics_path__
targetLabel: metrics_path
- port: https-metrics
scheme: https
path: /metrics/probes
honorLabels: true
honorTimestamps: true
tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecureSkipVerify: true
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
relabelings:
- action: replace
sourceLabels:
- __metrics_path__
targetLabel: metrics_path