Get cluster pods list

Get cluster pods list

get

Get the list of the cluster.

Path parameters
clusterIdstringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/pods HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "annotations": {
      "cni.projectcalico.org/containerID": "2869a9d6ccd7a53fc8fdccda05168581a99115ffacd7beb834d816e2ab2ee6e7",
      "cni.projectcalico.org/podIP": "0.0.0.0/0",
      "cni.projectcalico.org/podIPs": "0.0.0.0/0"
    },
    "labes": {
      "app": "api-cmdb",
      "app.kubernetes.io/instance": "cocktail",
      "app.kubernetes.io/managed-by": "Helm"
    },
    "namespace": "cocktail-system",
    "nodeName": "apps-gpu-v100",
    "podName": "cocktail-api-cmdb-0",
    "podStatus": "Running",
    "restartCnt": 0,
    "startTime": "2023-05-01 09:20:09"
  }
]

Was this helpful?