Allow to run node shell on Bootlerocket and Windows nodes

Signed-off-by: Piotr Roszatycki <piotr.roszatycki@gmail.com>
This commit is contained in:
Piotr Roszatycki committed 2023-10-23 11:09:28 +02:00
1 parent f1a960fd78
commit 83b2ce6afc
4 files changed
+109 -35

No files matched your search

@@ -247,6 +247,14 @@ export class Node extends KubeObject<ClusterScopedMetadata, NodeStatus, NodeSpec
);
}
getOperatingSystemImage(): string | undefined {
return this.status?.nodeInfo?.osImage;
}
getKernelVersion(): string | undefined {
return this.status?.nodeInfo?.kernelVersion;
}
isUnschedulable() {
return this.spec.unschedulable;
}