Replicas
Get Replica (Pod) Health
Get the aggregated health/status of a service's replicas (pods).
Get the aggregated health/status of a service's replicas (pods).
Authorization
bearerAuth AuthorizationBearer <token>
Access token or API key (unb_...) passed as Authorization: Bearer <token>.
In: header
Query Parameters
team_id*string
Format
uuidproject_id*string
Format
uuidenvironment_id*string
Format
uuidservice_id*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/replicas/health?team_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&project_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&environment_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&service_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "data": { "expected_replicas": 0, "health": "pending", "replicas": [ { "events": [ { "count": 0, "first_seen": "string", "last_seen": "string", "message": "string", "reason": "string", "timestamp": "string", "type": "oom_killed" } ], "kubernetes_name": "string", "pod_created_at": "2019-08-24T14:15:22Z", "restart_count": 0, "status": "running" } ] }}List Replicas (Pods) GET
List the running replicas (pods) for a service, environment, project, or team, with health status. Send the ID of the level named by type along with the IDs of every level above it.
Restart Replicas (Pods) PUT
Roll all of a service's replicas (pods). Causes a brief disruption while pods restart.