File tree Expand file tree Collapse file tree 1 file changed +4
-30
lines changed
content/zh/docs/tasks/administer-cluster Expand file tree Collapse file tree 1 file changed +4
-30
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- translator :
3
- - nicksu
4
- reviewers :
5
- - bowei
6
- - zihongz
7
- title : Debug DNS 方案
2
+ title : 调试 DNS 问题
8
3
content_type : task
9
4
---
10
5
11
- <!--
12
-
13
6
<!-- overview -->
7
+ <!--
14
8
This page provides hints on diagnosing DNS problems.
15
-
16
-
17
9
-->
18
10
19
- <!-- overview -->
20
11
这篇文章提供了一些关于 DNS 问题诊断的方法。
21
12
22
-
23
- <!--
24
-
25
- ## {{% heading "prerequisites" %}}
26
-
27
-
28
- * {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
29
- * Kubernetes version 1.6 and above.
30
- * The cluster must be configured to use the `coredns` (or `kube-dns`) addons.
31
-
32
-
33
13
<!-- steps -->
34
14
35
- -->
36
-
37
15
## {{% heading "prerequisites" %}}
38
16
17
+ <!-- ZH: The following include shortcode misbehaves even when inside a HTML
18
+ comment. This may be a generic problem to be fixed.-->
39
19
40
20
- {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
41
21
- Kubernetes 1.6 或者以上版本。
42
22
- 集群必须使用了 ` coredns ` (或者 ` kube-dns ` )插件。
43
23
44
-
45
- <!-- steps -->
46
-
47
24
<!--
48
-
49
25
### Create a simple Pod to use as a test environment
50
26
51
27
Create a file named busybox.yaml with the following contents:
@@ -62,7 +38,6 @@ kubectl get pods busybox
62
38
NAME READY STATUS RESTARTS AGE
63
39
busybox 1/1 Running 0 <some-time>
64
40
```
65
-
66
41
-->
67
42
68
43
### 创建一个简单的 Pod 作为测试环境
@@ -134,7 +109,6 @@ search default.svc.cluster.local svc.cluster.local cluster.local google.internal
134
109
nameserver 10.0.0.10
135
110
options ndots:5
136
111
```
137
-
138
112
-->
139
113
140
114
### 先检查本地的 DNS 配置
You can’t perform that action at this time.
0 commit comments