-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for KubeletTracing feature gate 1.25 #35137
Add docs for KubeletTracing feature gate 1.25 #35137
Conversation
👷 Deploy Preview for kubernetes-io-vnext-staging processing.
|
4f1732f
to
5339182
Compare
d3ec751
to
e7e76f4
Compare
/remove-area blog release-eng |
16f1237
to
2daeadb
Compare
{{< feature-state for_k8s_version="v1.22, kube-apiserver" state="alpha" >}} | ||
{{< feature-state for_k8s_version="v1.25, kubelet" state="alpha" >}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid that this use isn't idiomatic. The version should always be just a version string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure how to list each separately, I know. I tried a few different ways. Do you have a suggestion? Or, should I only list the latest? or the earliest? There will be other components added here, too (scheduler next, maybe?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated, added new feature state shortcode under kubelet traces
To enable tracing, enable the `KubeletTracing` | ||
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) | ||
on the kubelet. Also, provide the kubelet with a | ||
[tracing configuration](https://github.com/kubernetes/component-base/blob/master/tracing/api/v1/types.go). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Watch out for referencing the master branch. Can we reference the v1.25 release branch instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
OpenTelemetry trace spans. Sampling rate and collector address are configurable. When enabled without | ||
a tracing configuration, a parent span's sampling decision is respected and the default collector | ||
address of 0.0.0.0:4317 is set. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move:
Sampling rate and collector address are configurable. When enabled without
a tracing configuration, a parent span's sampling decision is respected and the default collector
address of 0.0.0.0:4317 is set.
into the concept docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
eb6c5cc
to
a85b183
Compare
/remove-area blog release-eng |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs LGTM. This will need a new tech review - eg from @dashpole.
Some nits.
committed all suggestions, ty |
LGTM (for SIG Docs) including latest updates. |
|
||
The kubelet CRI interface and authenticated http servers are instrumented to generate | ||
trace spans. As with the apiserver, the endpoint and sampling rate are configurable. | ||
Trace context propagation is also configured. When enabled without a tracing configuration sampling rate, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the sampling rate, the parent span's sampling decision is always respected first (i.e. always sample if parent is sampled, never sample if parent is not sampled). The configured sampling rate applies to spans without a parent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated, it now reads:
A parent span's sampling decision is always respected.
A provided tracing configuration sampling rate will apply to spans without a parent.
Enabled without a configured endpoint, the default OpenTelemetry Collector reciever address of "localhost:4317" is set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That works for me!
b73a7e6
to
e6cae14
Compare
LGTM for Sig-Instrumentation |
@sallyom please rebase |
Adding KubeletTracing documentation now that kubernetes/kubernetes#105126 has merged.
e6cae14
to
221d4e8
Compare
rebased! ty for the reviews! |
Applying lgtm from SIG Instrumentation in this comment /approve |
LGTM label has been added. Git tree hash: 1fed1357b919329bd54ba9d9e676839b1a63e9ad
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dashpole, reylejano The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add KubeletTracing Alpha 1.25