Skip to content

Commit 1c1e77f

Browse files
authored
Merge pull request #33785 from tnqn/fix-apiserver-proxy-link
Fix links about apiserver proxy
2 parents 848a52b + 56e597c commit 1c1e77f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ kubectl cluster-info
6464
The output is similar to this:
6565

6666
```
67-
Kubernetes master is running at https://104.197.5.247
68-
elasticsearch-logging is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy
69-
kibana-logging is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/kibana-logging/proxy
70-
kube-dns is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/kube-dns/proxy
71-
grafana is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
72-
heapster is running at https://104.197.5.247/api/v1/namespaces/kube-system/services/monitoring-heapster/proxy
67+
Kubernetes master is running at https://192.0.2.1
68+
elasticsearch-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy
69+
kibana-logging is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kibana-logging/proxy
70+
kube-dns is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/kube-dns/proxy
71+
grafana is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
72+
heapster is running at https://192.0.2.1/api/v1/namespaces/kube-system/services/monitoring-heapster/proxy
7373
```
7474

7575
This shows the proxy-verb URL for accessing each service.
7676
For example, this cluster has cluster-level logging enabled (using Elasticsearch), which can be reached
77-
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:
77+
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:
7878
`http://localhost:8080/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/`.
7979

8080
{{< note >}}
@@ -104,13 +104,13 @@ The supported formats for the `<service_name>` segment of the URL are:
104104
* To access the Elasticsearch service endpoint `_search?q=user:kimchy`, you would use:
105105

106106
```
107-
http://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_search?q=user:kimchy
107+
http://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_search?q=user:kimchy
108108
```
109109
110110
* To access the Elasticsearch cluster health information `_cluster/health?pretty=true`, you would use:
111111
112112
```
113-
https://104.197.5.247/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_cluster/health?pretty=true
113+
https://192.0.2.1/api/v1/namespaces/kube-system/services/elasticsearch-logging/proxy/_cluster/health?pretty=true
114114
```
115115
116116
The health information is similar to this:
@@ -133,7 +133,7 @@ The supported formats for the `<service_name>` segment of the URL are:
133133
* To access the *https* Elasticsearch service health information `_cluster/health?pretty=true`, you would use:
134134
135135
```
136-
https://104.197.5.247/api/v1/namespaces/kube-system/services/https:elasticsearch-logging/proxy/_cluster/health?pretty=true
136+
https://192.0.2.1/api/v1/namespaces/kube-system/services/https:elasticsearch-logging:/proxy/_cluster/health?pretty=true
137137
```
138138
139139
#### Using web browsers to access services running on the cluster

content/en/docs/tasks/access-application-cluster/access-cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ There are several different proxies you may encounter when using Kubernetes:
233233
- locates apiserver
234234
- adds authentication headers
235235

236-
1. The [apiserver proxy](#discovering-builtin-services):
236+
1. The [apiserver proxy](/docs/tasks/access-application-cluster/access-cluster-services/#discovering-builtin-services):
237237

238238
- is a bastion built into the apiserver
239239
- connects a user outside of the cluster to cluster IPs which otherwise might not be reachable

0 commit comments

Comments
 (0)