Skip to content

Commit 2ef3e9a

Browse files
sallyomdashpole
andauthored
Update keps/sig-instrumentation/2831-kubelet-tracing/README.md
Co-authored-by: David Ashpole <[email protected]>
1 parent 34e9f59 commit 2ef3e9a

File tree

1 file changed

+16
-8
lines changed
  • keps/sig-instrumentation/2831-kubelet-tracing

1 file changed

+16
-8
lines changed

keps/sig-instrumentation/2831-kubelet-tracing/README.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,22 @@ GA
213213
- Components depending on the feature gate: kubelet
214214
- [X] Other
215215
- Describe the mechanism: **KubeletConfiguration TracingConfiguration**
216-
- To disable tracing entirely, do not enable the feature gate `KubeletTracing` and/or do not provide a TracingConfiguration.
217-
Tracing will be disabled unless a TracingConfiguration is provided.
218-
- If disabled (no TracingConfiguration is provided), trace contexts will be propagated in passthrough mode. No spans will
219-
be generated and no attempt will be made to connect via otlp protocol to export traces. More about passthrough mode in
220-
[OpenTelemetry documentation](https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough#passthrough-setup-for-opentelemetry), `the default TracerProvider implementation returns a 'Non-Recording' span that keeps the context of the caller but does not record spans`.
221-
- If feature is enabled and TracingConfiguration sampling rate is 0 (the default):
222-
- a trace context with sampled=true will still cause traces to be generated.
223-
- kubelet will attempt to connect via otlp protocol to export traces.
216+
- When the `KubeletTracing` feature gate is disabled, the kubelet will:
217+
- Not generate spans
218+
- Not initiate an OTLP connection
219+
- Not Propagate context
220+
- When the feature gate is enabled, but no TracingConfiguration is provided, the kubelet will:
221+
- Not generate spans
222+
- Not initiate an OTLP connection
223+
- Propagate context in (https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough#passthrough-setup-for-opentelemetry)[passthrough] mode
224+
- When the feature gate is enabled, and a TracingConfiguration with sampling rate 0 (the default) is provided, the kubelet will:
225+
- Initiate an OTLP connection
226+
- Generate spans only if the incoming (if applicable) trace context has the sampled flag set
227+
- Propagate context normally
228+
- When the feature gate is enabled, and a TracingConfiguration with sampling rate > 0 is provided, the kubelet will:
229+
- Initiate an OTLP connection
230+
- Generate spans at the specified sampling rate, or if the incoming context has the sampled flag set
231+
- Propagate context normally
224232
- Will enabling / disabling the feature require downtime of the control
225233
plane? **No. It will require restarting the kubelet service per node.**
226234
- Will enabling / disabling the feature require downtime or reprovisioning

0 commit comments

Comments
 (0)