Skip to content

Commit 573a215

Browse files
authored
Merge pull request #25707 from guzj11/patch-53
Update access-cluster-api.md
2 parents 44760a2 + 3f43888 commit 573a215

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/zh/docs/tasks/administer-cluster/access-cluster-api.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,15 @@ as the kubectl CLI does to locate and authenticate to the API server. See this [
423423
-->
424424
#### .Net 客户端 {#dotnet-client}
425425

426-
要使用 [.Net 客户端](https://github.com/kubernetes-client/csharp),运行下面的命令:
426+
要使用[.Net 客户端](https://github.com/kubernetes-client/csharp),运行下面的命令:
427427
`dotnet add package KubernetesClient --version 1.6.1`
428-
参见 [.Net 客户端库页面](https://github.com/kubernetes-client/csharp)了解更多安装选项。
428+
参见[.Net 客户端库页面](https://github.com/kubernetes-client/csharp)了解更多安装选项。
429429
关于可支持的版本,参见[https://github.com/kubernetes-client/csharp/releases](https://github.com/kubernetes-client/csharp/releases)
430430

431+
.Net 客户端可以使用与 kubectl CLI 相同的 [kubeconfig 文件](/zh/docs/concepts/configuration/organize-cluster-access-kubeconfig/)
432+
来定位并验证 API 服务器。
433+
参见[样例](https://github.com/kubernetes-client/csharp/blob/master/examples/simple/PodList.cs):
434+
431435
```csharp
432436
using System;
433437
using k8s;

0 commit comments

Comments
 (0)