Get cluster service exposures list

Get cluster service exposures list

get

Get the list of service exposures for that cluster.

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

OK

[
  {
    "annotations": {
      "meta.helm.sh/release-name": "cocktail",
      "meta.helm.sh/release-namespace": "cocktail-system"
    },
    "clusterIP": "0.0.0.0",
    "creationTimestamp": "2023-04-29 05:54:51",
    "internalLBFlag": false,
    "labels": {
      "app": "cocktail-api-cmdb",
      "app.kubernetes.io/instance": "cocktail",
      "app.kubernetes.io/managed-by": "Helm"
    },
    "namespace": "cocktail-system",
    "serviceName": "api-cmd",
    "servicePorts": [
      {
        "port": "0",
        "protocol": "TCP",
        "serviceUrl": "0.0.0.0:0",
        "targetPort": "0"
      }
    ],
    "sessionAffinity": "None",
    "type": "ClusterIP"
  }
]

Was this helpful?