Skip to content

Commit c3d698a

Browse files
author
Han Kang
committed
update APIServerTracing docs
1 parent 6a77308 commit c3d698a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

content/en/docs/concepts/cluster-administration/system-traces.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ weight: 90
99

1010
<!-- overview -->
1111

12-
{{< feature-state for_k8s_version="v1.22" state="alpha" >}}
12+
{{< feature-state for_k8s_version="v1.27" state="beta" >}}
1313

1414
System component traces record the latency of and relationships between operations in the cluster.
1515

@@ -59,22 +59,20 @@ as the kube-apiserver is often a public endpoint.
5959
6060
#### Enabling tracing in the kube-apiserver
6161
62-
To enable tracing, enable the `APIServerTracing`
63-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
64-
on the kube-apiserver. Also, provide the kube-apiserver with a tracing configuration file
62+
To enable tracing, provide the kube-apiserver with a tracing configuration file
6563
with `--tracing-config-file=<path-to-config>`. This is an example config that records
6664
spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:
6765

6866
```yaml
69-
apiVersion: apiserver.config.k8s.io/v1alpha1
67+
apiVersion: apiserver.config.k8s.io/v1beta1
7068
kind: TracingConfiguration
7169
# default value
7270
#endpoint: localhost:4317
7371
samplingRatePerMillion: 100
7472
```
7573

7674
For more information about the `TracingConfiguration` struct, see
77-
[API server config API (v1alpha1)](/docs/reference/config-api/apiserver-config.v1alpha1/#apiserver-k8s-io-v1alpha1-TracingConfiguration).
75+
[API server config API (v1beta1)](/docs/reference/config-api/apiserver-config.v1beta1/#apiserver-k8s-io-v1beta1-TracingConfiguration).
7876

7977
### kubelet traces
8078

0 commit comments

Comments
 (0)