15.2. API 端点
可用的 API 端点如下:
/api/v1/replicationcontrollers-
GET: 列出或监视类型为 ReplicationController 的对象
-
/api/v1/watch/replicationcontrollers-
GET: 观察单个对 ReplicationController 列表的更改。已弃用:改为使用 'watch' 参数及列表操作。
-
/api/v1/namespaces/{namespace}/replicationcontrollers-
DELETE: 删除 ReplicationController 集合 -
GET: 列出或监视类型为 ReplicationController 的对象 -
POST:创建 ReplicationController
-
/api/v1/watch/namespaces/{namespace}/replicationcontrollers-
GET: 观察单个对 ReplicationController 列表的更改。已弃用:改为使用 'watch' 参数及列表操作。
-
/api/v1/namespaces/{namespace}/replicationcontrollers/{name}-
DELETE:删除 ReplicationController -
GET:读取指定的 ReplicationController -
PATCH: 部分更新指定的 ReplicationController -
PUT:替换指定的 ReplicationController
-
/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}-
GET: 观察对类型为 ReplicationController 的对象的更改。已弃用:使用带有 list 操作的 'watch' 参数,而是过滤为带有 'fieldSelector' 参数的单个项目。
-
/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status-
GET:指定 ReplicationController 的读取状态 -
PATCH: 部分更新指定 ReplicationController 的状态 -
PUT:替换指定 ReplicationController 的状态
-
15.2.1. /api/v1/replicationcontrollers 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- HTTP 方法
-
GET - 描述
- 列出或监视类型为 ReplicationController 的对象
| HTTP 代码 | 响应正文 |
|---|---|
| 200 - OK | |
| 401 - 未授权 | 空 |