Fix en language misspell (#18201)
* fix misspell Signed-off-by: Xiang Dai <764524258@qq.com> * clean white noise Signed-off-by: Xiang Dai <764524258@qq.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
746a659723
commit
f21f4b2257
@@ -94,7 +94,7 @@ kubectl config view -o jsonpath='{"Cluster name\tServer\n"}{range .clusters[*]}{
|
||||
# Select name of cluster you want to interact with from above output:
|
||||
export CLUSTER_NAME="some_server_name"
|
||||
|
||||
# Point to the API server refering the cluster name
|
||||
# Point to the API server referring the cluster name
|
||||
APISERVER=$(kubectl config view -o jsonpath="{.clusters[?(@.name==\"$CLUSTER_NAME\")].cluster.server}")
|
||||
|
||||
# Gets the token value
|
||||
@@ -215,7 +215,7 @@ for i in ret.items:
|
||||
|
||||
#### Java client
|
||||
|
||||
* To install the [Java Client](https://github.com/kubernetes-client/java), simply execute :
|
||||
* To install the [Java Client](https://github.com/kubernetes-client/java), simply execute :
|
||||
|
||||
```shell
|
||||
# Clone java library
|
||||
@@ -382,7 +382,7 @@ securely with the API server.
|
||||
#### Directly accessing the REST API
|
||||
|
||||
While running in a Pod, the Kubernetes apiserver is accessible via a Service named
|
||||
`kubernetes` in the `default` namespace. Therefore, Pods can use the
|
||||
`kubernetes` in the `default` namespace. Therefore, Pods can use the
|
||||
`kubernetes.default.svc` hostname to query the API server. Official client libraries
|
||||
do this automatically.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user