9.2. API endpoints
The following API endpoints are available:
/apis/coordination.k8s.io/v1/leases-
GET: list or watch objects of kind Lease
-
/apis/coordination.k8s.io/v1/watch/leases-
GET: watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
-
/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases-
DELETE: delete collection of Lease -
GET: list or watch objects of kind Lease -
POST: create a Lease
-
/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases-
GET: watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
-
/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}-
DELETE: delete a Lease -
GET: read the specified Lease -
PATCH: partially update the specified Lease -
PUT: replace the specified Lease
-
/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}-
GET: watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
-
9.2.1. /apis/coordination.k8s.io/v1/leases 링크 복사링크가 클립보드에 복사되었습니다!
- HTTP method
-
GET - Description
- list or watch objects of kind Lease
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |