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