Skip to main content
GET
/
v1
/
kubernetes
/
cluster-deployments
/
{namespace}
/
{name}
Get a cluster deployment
const options = {method: 'GET'};

fetch('http://localhost:4065/v1/kubernetes/cluster-deployments/{namespace}/{name}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {},
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Path Parameters

namespace
string
required

Kubernetes namespace

Minimum string length: 1
Example:

"kcm-system"

name
string
required

Resource name

Minimum string length: 1
Example:

"my-resource"

Response

Cluster deployment

success
enum<boolean>
required
Available options:
true
data
object
required

Raw Kubernetes resource object

meta
object
required