import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.kubernetesClusters.getKubernetesCluster({
kubernetesClusterId: "<id>",
});
console.log(result);
}
run();Retrieves detailed information about a Kubernetes cluster including its status, control plane, worker node details, and individual node information.
import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
const result = await latitudesh.kubernetesClusters.getKubernetesCluster({
kubernetesClusterId: "<id>",
});
console.log(result);
}
run();Was this page helpful?