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