Update access-cluster-api.md

sync with english version.

Update access-cluster-api.md

apply suggestion

Update access-cluster-api.md
This commit is contained in:
guzj11 2020-12-18 20:38:00 +08:00 committed by guzj11
parent d68b43c119
commit 3f4388829c
1 changed files with 6 additions and 2 deletions

View File

@ -428,6 +428,10 @@ as the kubectl CLI does to locate and authenticate to the API server. See this [
参见[.Net 客户端库页面](https://github.com/kubernetes-client/csharp)了解更多安装选项。
关于可支持的版本,参见[https://github.com/kubernetes-client/csharp/releases](https://github.com/kubernetes-client/csharp/releases)。
.Net 客户端可以使用与 kubectl CLI 相同的 [kubeconfig 文件](/zh/docs/concepts/configuration/organize-cluster-access-kubeconfig/)
来定位并验证 API 服务器。
参见[样例](https://github.com/kubernetes-client/csharp/blob/master/examples/simple/PodList.cs):
```csharp
using System;
using k8s;