mirror of https://github.com/istio/istio.io.git
zh-translation:/about/bugs/index.md (#5374)
This commit is contained in:
parent
820497c5d3
commit
75647524c6
|
@ -1,70 +1,62 @@
|
||||||
---
|
---
|
||||||
title: Reporting Bugs
|
title: 报告错误
|
||||||
description: What to do if you find a bug.
|
description: 如果发现错误该怎么办。
|
||||||
weight: 34
|
weight: 34
|
||||||
aliases:
|
aliases:
|
||||||
- /bugs.html
|
- /zh/bugs.html
|
||||||
- /bugs/index.html
|
- /zh/bugs/index.html
|
||||||
- /help/bugs/
|
- /zh/help/bugs/
|
||||||
icon: bugs
|
icon: bugs
|
||||||
---
|
---
|
||||||
|
|
||||||
Oh no! You found a bug? We'd love to hear about it.
|
不好!您发现了一个错误?我们希望知道这一点。
|
||||||
|
|
||||||
## Product bugs
|
## 产品错误{#product-bugs}
|
||||||
|
|
||||||
Search our [issue database](https://github.com/istio/istio/issues/) to see if
|
搜索我们的 [问题数据库](https://github.com/istio/istio/issues/) 来查看是否我们已经知道您的问题,并了解何时可以解决它。如果您在该数据库中没有找到你的问题,请打开一个 [新问题](https://github.com/istio/istio/issues/new/choose) 让我们知道出现了什么错误。
|
||||||
we already know about your problem and learn about when we think we can fix
|
|
||||||
it. If you don't find your problem in the database, please open a [new
|
|
||||||
issue](https://github.com/istio/istio/issues/new/choose) and let us know
|
|
||||||
what's going on.
|
|
||||||
|
|
||||||
If you think a bug is in fact a security vulnerability, please visit [Reporting Security Vulnerabilities](/about/security-vulnerabilities/)
|
如果您认为错误实际上是一个安全漏洞,请访问 [报告安全漏洞](/about/security-vulnerabilities/) 了解如何处理。
|
||||||
to learn what to do.
|
|
||||||
|
|
||||||
### Kubernetes cluster state archives
|
### Kubernetes 集群状态档案{#Kubernetes-cluster-state-archives}
|
||||||
|
|
||||||
If you're running on Kubernetes, consider including a cluster state
|
如果您正在运行 Kubernetes,请考虑使用错误报告将集群状态存档。为了方便起见,您可以运行转储脚本生成一个档案,该档案包含 Kubernetes 集群中所有相关的状态:
|
||||||
archive with your bug report.
|
|
||||||
For convenience, you can run a dump script to produce an archive containing
|
|
||||||
all of the relevant state from your Kubernetes cluster:
|
|
||||||
|
|
||||||
* Run via `curl`:
|
* 运行 `curl`:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ curl {{< github_file >}}/tools/dump_kubernetes.sh | sh -s -- -z
|
$ curl {{< github_file >}}/tools/dump_kubernetes.sh | sh -s -- -z
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
* Run locally, from the release directory's root:
|
* 在发布版本目录的根目录本地运行:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ @tools/dump_kubernetes.sh@ -z
|
$ @tools/dump_kubernetes.sh@ -z
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
Then attach the produced `istio-dump.tar.gz` with your reported problem.
|
然后,将产生的 `istio-dump.tar.gz` 与您的报告问题连接。
|
||||||
|
|
||||||
If you are unable to use the dump script, please attach your own archive
|
如果您无法使用转储脚本,请附加自己的存档
|
||||||
containing:
|
包含:
|
||||||
|
|
||||||
* Pods, services, deployments, and endpoints across all namespaces:
|
* 在所有命名空间中的 pods、services、deployments 和 endpoints:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl get pods,services,deployments,endpoints --all-namespaces -o yaml > k8s_resources.yaml
|
$ kubectl get pods,services,deployments,endpoints --all-namespaces -o yaml > k8s_resources.yaml
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
* Secret names in `istio-system`:
|
* 在 `istio-system` 中的密名:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl --namespace istio-system get secrets
|
$ kubectl --namespace istio-system get secrets
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
* configmaps in the `istio-system` namespace:
|
* 在 `istio-system` 命名空间的 configmap:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl --namespace istio-system get cm -o yaml
|
$ kubectl --namespace istio-system get cm -o yaml
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
* Current and previous logs from all Istio components and sidecar
|
* 所有 Istio 组件和 sidecar 的当前和以前的日志
|
||||||
|
|
||||||
* Mixer logs:
|
* Mixer logs:
|
||||||
|
|
||||||
|
@ -81,16 +73,12 @@ containing:
|
||||||
$ kubectl logs -n istio-system -l istio=pilot -c istio-proxy
|
$ kubectl logs -n istio-system -l istio=pilot -c istio-proxy
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
* All Istio configuration artifacts:
|
* 所有 Istio 配置工件:
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ kubectl get $(kubectl get crd --no-headers | awk '{printf "%s,",$1}END{printf "attributemanifests.config.istio.io\n"}') --all-namespaces
|
$ kubectl get $(kubectl get crd --no-headers | awk '{printf "%s,",$1}END{printf "attributemanifests.config.istio.io\n"}') --all-namespaces
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
## Documentation bugs
|
## 文档错误{#documentation-bugs}
|
||||||
|
|
||||||
Search our [documentation issue database](https://github.com/istio/istio.io/issues/) to see if
|
搜索我们的 [文档问题数据库](https://github.com/istio/istio.io/issues/) 以查看是否我们已经知道您的问题,并了解何时可以解决它。如果您在该数据库中找不到问题,请导航到这个问题的页面,然后在页面的右上角选择齿轮菜单,最后选择 *Report a Site Bug*。
|
||||||
we already know about your problem and learn about when we think we can fix
|
|
||||||
it. If you don't find your problem in the database, please navigate to the page
|
|
||||||
with the problem, then select the gear menu at the
|
|
||||||
top right of this page, and finally chose *Report a Site Bug*.
|
|
||||||
|
|
Loading…
Reference in New Issue