Was this helpful?
Get the list of exposed services in the specified cluster and namespace.
/v1/clusters/{clusterId}/namespaces/{namespaceName}/services
curl -L \ --url '/v1/clusters/{clusterId}/namespaces/{namespaceName}/services'
[ { "clusterIP": "0.0.0.0", "creationTimestamp": "2023-04-29 05:54:51", "internalLBFlag": false, "namespace": "cocktail-system", "serviceName": "api-cmdb", "servicePorts": { "port": "0", "protocol": "TCP", "serviceUrl": "10.187.158.194:3306", "targetPort": "3306" }, "sessionAffinity": "None", "type": "ClusterIP", "annotations": { "meta.helm.sh/release-name": "cocktail", "meta.helm.sh/release-namespace": "cocktail-system" }, "labels": { "app": "cocktail-api-cmdb", "app.kubernetes.io/instance": "cocktail", "app.kubernetes.io/managed-by": "Helm" } } ]