Last updated 1 year ago
Was this helpful?
해당 클러스터의 서비스 노출 목록을 조회한다.
/v1/clusters/{clusterId}/services
클러스터 아이디
curl -L \ --url '/v1/clusters/{clusterId}/services'
[ { "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" } ]