Kubernetes
List TCP port forwards
Changed onL4 forwards published on the cluster's public gateway (created when exposing an app over TCP).
get/api/v1/k8s/clusters/{cluster_id}/tcp-ports
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/k8s/clusters/{cluster_id}/tcp-ports
- AuthAPI key in header X-API-Key
Path parameters
cluster_idstring required
Cluster ID (short id, e.g. q7z7zg)
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Response
Active TCP forwards
Example response
{
"forwards": [
{
"protocol": "tcp",
"endpoint": "23.26.4.133:5432"
}
]
}Changes
- info
endpoint added
- info