9.2. API endpoints
The following API endpoints are available:
/apis/monitoring.coreos.com/v1/prometheuses-
GET: list objects of kind Prometheus
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses-
DELETE: delete collection of Prometheus -
GET: list objects of kind Prometheus -
POST: create Prometheus
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses/{name}-
DELETE: delete Prometheus -
GET: read the specified Prometheus -
PATCH: partially update the specified Prometheus -
PUT: replace the specified Prometheus
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses/{name}/scale-
GET: read scale of the specified Prometheus -
PATCH: partially update scale of the specified Prometheus -
PUT: replace scale of the specified Prometheus
-
/apis/monitoring.coreos.com/v1/namespaces/{namespace}/prometheuses/{name}/status-
GET: read status of the specified Prometheus -
PATCH: partially update status of the specified Prometheus -
PUT: replace status of the specified Prometheus
-
9.2.1. /apis/monitoring.coreos.com/v1/prometheuses 링크 복사링크가 클립보드에 복사되었습니다!
- HTTP method
-
GET - Description
- list objects of kind Prometheus
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |