mirror of https://github.com/istio/istio.io.git
zh-translation:/faq/distributed-tracing/disabling-tracing.md (#5724)
* zh-translation:/faq/distributed-tracing/disabling-tracing.md * fix typo
This commit is contained in:
parent
f471e63960
commit
7cb3882cf5
|
|
@ -1,20 +1,20 @@
|
|||
---
|
||||
title: How do I disable tracing?
|
||||
title: 如何禁用追踪?
|
||||
weight: 50
|
||||
---
|
||||
|
||||
If you already have installed Istio with tracing enabled, you can disable it as follows:
|
||||
如果您已经安装了启用追踪功能的 Istio,可以通过执行如下步骤禁用它:
|
||||
|
||||
{{< text plain >}}
|
||||
# Fill <istio namespace> with the namespace of your istio mesh.Ex: istio-system
|
||||
# 用您的 Istio mesh 命名空间名填充下述命令中的 <istio namespace>。例如:istio-system
|
||||
TRACING_POD=`kubectl get po -n <istio namespace> | grep istio-tracing | awk '{print $1}'`
|
||||
$ kubectl delete pod $TRACING_POD -n <istio namespace>
|
||||
$ kubectl delete services tracing zipkin -n <istio namespace>
|
||||
# Remove reference of zipkin url from mixer deployment
|
||||
# 从 Mixer Deployment 中移除对 zipkin url 的引用
|
||||
$ kubectl -n istio-system edit deployment istio-telemetry
|
||||
# Now, manually remove instances of trace_zipkin_url from the file and save it.
|
||||
# 现在,手动从文件中移除 trace_zipkin_url 的实例,保存文件
|
||||
{{< /text >}}
|
||||
|
||||
Then follow the steps of the [cleanup section of the Distributed Tracing task](/docs/tasks/observability/distributed-tracing/zipkin/#cleanup).
|
||||
然后遵循[分布式追踪任务的清理部分](/zh/docs/tasks/observability/distributed-tracing/zipkin/#cleanup)的步骤进行后续操作。
|
||||
|
||||
If you don’t want tracing functionality at all, then [disable tracing](/docs/tasks/observability/distributed-tracing/zipkin/#before-you-begin) when installing Istio.
|
||||
如果您不想要追踪功能,那么就在安装 Istio 时[禁用追踪](/zh/docs/tasks/observability/distributed-tracing/zipkin/#before-you-begin)。
|
||||
Loading…
Reference in New Issue