Skip to content

Commit 232e84f

Browse files
authored
Merge pull request #33922 from kinzhi/kinzhi124
[zh]Update content/zh/docs/tasks/access-application-cluster/access-cluster-services.md
2 parents ba275d1 + 44ad19a commit 232e84f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

content/zh/docs/tasks/access-application-cluster/access-cluster-services.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,23 +118,23 @@ The output is similar to this:
118118
输出类似于:
119119

120120
```
121-
Kubernetes master is running at https://104.197.5.247
122-
elasticsearch-logging is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy
123-
kibana-logging is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/kibana-logging/proxy
124-
kube-dns is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/kube-dns/proxy
125-
grafana is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
126-
heapster is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/monitoring-heapster/proxy
121+
Kubernetes master is running at https://192.0.2.1
122+
elasticsearch-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy
123+
kibana-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kibana-logging/proxy
124+
kube-dns is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kube-dns/proxy
125+
grafana is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
126+
heapster is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/monitoring-heapster/proxy
127127
```
128128

129129
<!--
130130
This shows the proxy-verb URL for accessing each service.
131131
For example, this cluster has cluster-level logging enabled (using Elasticsearch), which can be reached
132-
at `https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/` if suitable credentials are passed, or through a kubectl proxy at, for example:
132+
at `https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/` if suitable credentials are passed, or through a kubectl proxy at, for example:
133133
`http://localhost:8080/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`.
134134
-->
135135
这一输出显示了用 proxy 动词访问每个服务时可用的 URL。例如,此集群
136136
(使用 Elasticsearch)启用了集群层面的日志。如果提供合适的凭据,可以通过
137-
`https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`
137+
`https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`
138138
访问,或通过一个 `kubectl proxy` 来访问:
139139
`http://localhost:8080/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`
140140

@@ -191,7 +191,7 @@ URL 的 `<service_name>` 段支持的格式为:
191191
* 如要访问 Elasticsearch 服务末端 `_search?q=user:kimchy`,你可以使用:
192192

193193
```
194-
http://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_search?q=user:kimchy
194+
http://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_search?q=user:kimchy
195195
```
196196
197197
<!--
@@ -200,7 +200,7 @@ URL 的 `<service_name>` 段支持的格式为:
200200
* 如要访问 Elasticsearch 集群健康信息`_cluster/health?pretty=true`,你会使用:
201201
202202
```
203-
https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_cluster/health?pretty=true`
203+
https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_cluster/health?pretty=true
204204
```
205205
206206
<!--
@@ -229,7 +229,7 @@ URL 的 `<service_name>` 段支持的格式为:
229229
* 要访问 *https* Elasticsearch 服务健康信息 `_cluster/health?pretty=true`,你会使用:
230230
231231
```
232-
https://104.197.5.247/api/v1/namespaces/kube-system/services/https:elasticsearch-logging/proxy/_cluster/health?pretty=true
232+
https://192.0.2.1/api/v1/namespaces/kube-system/services/https:elasticsearch-logging:/proxy/_cluster/health?pretty=true
233233
```
234234
235235
<!--

0 commit comments

Comments
 (0)