Translate docs/reference/kubernetes-api/cluster-resources/lease-v1
parent
06a51d10c9
commit
299afad15d
|
@ -30,7 +30,7 @@ guide. You can file document formatting bugs against the
|
||||||
<!--
|
<!--
|
||||||
Lease defines a lease concept.
|
Lease defines a lease concept.
|
||||||
-->
|
-->
|
||||||
Lease 定义了租赁的概念。
|
Lease 定义了租约的概念。
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
- **apiVersion**: coordination.k8s.io/v1
|
- **apiVersion**: coordination.k8s.io/v1
|
||||||
|
@ -51,7 +51,7 @@ Lease 定义了租赁的概念。
|
||||||
<!--
|
<!--
|
||||||
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||||
-->
|
-->
|
||||||
租贷规范。更多信息: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
Lease 规范。更多信息: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ Lease 定义了租赁的概念。
|
||||||
<!--
|
<!--
|
||||||
LeaseSpec is a specification of a Lease.
|
LeaseSpec is a specification of a Lease.
|
||||||
-->
|
-->
|
||||||
LeaseSpec 是一个租赁的规范。
|
LeaseSpec 是一个 Lease 的规范。
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ LeaseSpec 是一个租赁的规范。
|
||||||
-->
|
-->
|
||||||
- **acquireTime** (MicroTime)
|
- **acquireTime** (MicroTime)
|
||||||
|
|
||||||
acquireTime 是当前租赁被获取的时间。
|
acquireTime 是当前租约被获取的时间。
|
||||||
|
|
||||||
<a name="MicroTime"></a>
|
<a name="MicroTime"></a>
|
||||||
**MicroTime 是微秒级精确时间的版本。**
|
**MicroTime 是微秒级精确时间的版本。**
|
||||||
|
@ -126,7 +126,7 @@ LeaseSpec 是一个租赁的规范。
|
||||||
<!--
|
<!--
|
||||||
LeaseList is a list of Lease objects.
|
LeaseList is a list of Lease objects.
|
||||||
-->
|
-->
|
||||||
LeaseList 是租赁对象的列表。
|
LeaseList 是 Lease 对象的列表。
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
-->
|
-->
|
||||||
- **name** (**路径参数**): string, 必需
|
- **name** (**路径参数**): string, 必需
|
||||||
|
|
||||||
租赁名称
|
Lease 名称
|
||||||
|
|
||||||
- **namespace** (**路径参数**): string, 必需
|
- **namespace** (**路径参数**): string, 必需
|
||||||
|
|
||||||
|
@ -224,7 +224,7 @@ GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
|
|
||||||
GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
||||||
-->
|
-->
|
||||||
### `list` 列出或监视租赁类对象
|
### `list` 列出或监视 Lease 类对象
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ GET /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
||||||
|
|
||||||
#### HTTP Request
|
#### HTTP Request
|
||||||
-->
|
-->
|
||||||
### `list` 列出或监视租赁类对象
|
### `list` 列出或监视 Lease 类对象
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
@ -489,7 +489,7 @@ GET /apis/coordination.k8s.io/v1/leases
|
||||||
|
|
||||||
POST /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
POST /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
||||||
-->
|
-->
|
||||||
### `create` 创建租赁
|
### `create` 创建 Lease
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
@ -590,7 +590,7 @@ POST /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
||||||
|
|
||||||
PUT /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
PUT /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
-->
|
-->
|
||||||
### `update` 替换指定的租赁
|
### `update` 替换指定的 Lease
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
@ -695,7 +695,7 @@ PUT /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
|
|
||||||
PATCH /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
PATCH /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
-->
|
-->
|
||||||
### `patch` 部分更新指定的租赁
|
### `patch` 部分更新指定的 Lease
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
@ -811,7 +811,7 @@ PATCH /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
|
|
||||||
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
-->
|
-->
|
||||||
### `delete` 删除一个租赁
|
### `delete` 删除一个 Lease
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
@ -917,7 +917,7 @@ DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}
|
||||||
|
|
||||||
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
DELETE /apis/coordination.k8s.io/v1/namespaces/{namespace}/leases
|
||||||
-->
|
-->
|
||||||
### `deletecollection` 删除租赁收款
|
### `deletecollection` 删除 Lease 收款
|
||||||
|
|
||||||
#### HTTP 请求
|
#### HTTP 请求
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue