TypeScript
const options = {method: 'GET'}; fetch('http://localhost:4065/v1/kubernetes/namespaces', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": { "items": [ {} ], "continueToken": "<string>" }, "meta": { "requestId": "<string>", "timestamp": "<string>" } }
List all Kubernetes namespaces. Also serves as a connectivity check.
List of namespaces
true
Show child attributes
Was this page helpful?