Update clc.md

api server -> apiserver. In addition, fix leading spaces in commands.
This commit is contained in:
Stewart-YU
2017-08-14 15:11:42 +08:00
committed by Andrew Chen
parent 2f2dc6691d
commit 8072c0c1ac
+2 -2
View File
@@ -252,9 +252,9 @@ kubectl cluster-info
### Accessing the cluster programmatically ### Accessing the cluster programmatically
It's possible to use the locally stored client certificates to access the api server. For example, you may want to use any of the [Kubernetes API client libraries](/docs/reference/client-libraries/) to program against your Kubernetes cluster in the programming language of your choice. It's possible to use the locally stored client certificates to access the apiserver. For example, you may want to use any of the [Kubernetes API client libraries](/docs/reference/client-libraries/) to program against your Kubernetes cluster in the programming language of your choice.
To demonstrate how to use these locally stored certificates, we provide the following example of using ```curl``` to communicate to the master api server via https: To demonstrate how to use these locally stored certificates, we provide the following example of using ```curl``` to communicate to the master apiserver via https:
```shell ```shell
curl \ curl \