mirror of
https://github.com/kubesphere/website.git
synced 2026-01-01 03:33:29 +00:00
commit
f147fc3c3e
|
|
@ -10,6 +10,8 @@ weight: 17200
|
|||
|
||||
KubeSphere API 服务器为 API 对象验证和配置数据。API 服务器为 REST 操作提供服务,并为集群的共享状态提供前端,其他所有组件通过它进行交互。
|
||||
|
||||
其中 /kapi 和/kapis 是 KubeSphere 拓展聚合的 API,/api和 /apis开头的都属于 Kubernetes 原生的 API,KubeSphere 把用户对原生 Kubernetes 资源的请求通过 API Server 转发到 Kubernetes API Server 对原生资源进行操作和管理。
|
||||
|
||||

|
||||
|
||||
## 使用 KubeSphere API
|
||||
|
|
@ -116,5 +118,6 @@ KubeSphere API Swagger JSON 文件可以在 https://github.com/kubesphere/kubesp
|
|||
|
||||
- KubeSphere 已指定 API [Swagger Json](https://github.com/kubesphere/kubesphere/blob/release-3.1/api/ks-openapi-spec/swagger.json) 文件,它包含所有只适用于 KubeSphere 的 API。
|
||||
- KubeSphere 已指定 CRD [Swagger Json](https://github.com/kubesphere/kubesphere/blob/release-3.1/api/openapi-spec/swagger.json) 文件,它包含所有已生成的 CRD API 文档,与 Kubernetes API 对象相同。
|
||||
- kubernetes API 参考:https://kubernetes.io/docs/concepts/overview/kubernetes-api/
|
||||
|
||||
您也可以[点击这里](https://kubesphere.io/api/kubesphere)查看 KubeSphere API 文档。
|
||||
|
|
|
|||
Loading…
Reference in New Issue