Skip to content

Commit 4e481f4

Browse files
Add support for config tracing: kubelet support
Document kubelet tracing support Reference: #6
1 parent ae6c8f3 commit 4e481f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

jobs/k3s-agent/spec

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,15 @@ properties:
148148
kind: KubeletConfiguration
149149
shutdownGracePeriod: 30s
150150
shutdownGracePeriodCriticalPods: 10s
151+
# See https://kubernetes.io/docs/concepts/cluster-administration/system-traces/#kubelet-traces
152+
# This is an example config that records spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint
153+
# featureGates:
154+
# KubeletTracing: true
155+
# tracing:
156+
# # default value
157+
# #endpoint: localhost:4317
158+
# samplingRatePerMillion: 100
159+
151160

152161
k3s.containerd_additional_env_vars:
153162
description: additional env vars to set for containerd (the key will be prefixed with CONTAINERD_, and set in k3s launch context

0 commit comments

Comments
 (0)