Get cluster namespace service exposure list

Get cluster namespace service exposure list

get

Get the list of exposed services in the specified cluster and namespace.

Path parameters
clusterIdstringRequired
namespaceNamestringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/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-cmdb",
    "servicePorts": {
      "port": "0",
      "protocol": "TCP",
      "serviceUrl": "10.187.158.194:3306",
      "targetPort": "3306"
    },
    "sessionAffinity": "None",
    "type": "ClusterIP"
  }
]

Was this helpful?