- Your nodes -
-- Add a Node -
-- Run this command on the node you wish to join the - cluster -
-- Deleting this node may cause data loss. Are you sure you want to - proceed? -
-- Are you sure you want to drain {this.state.nodeNameToDrain}? -
-- Draining this node may cause data loss. If you want to delete{" "} - {this.state.nodeNameToDrain} you must disconnect it after it has - been drained. -
-+ Cluster Nodes +
++ This page lists the nodes that are configured and shows the + status/health of each. +
+ {Utilities.sessionRolesHasOneOf([rbacRoles.CLUSTER_ADMIN]) && ( + + )} ++ Loading nodes... +
+ )} + {!nodesData && nodesError && ( ++ {nodesError?.message} +
+ )} + {nodesData?.nodes && ( ++ To add a node to this cluster, select the type of node you'd like to + add. Once you've selected a node type, we will generate a node join + command for you to use in the CLI. When the node successfully joins + the cluster, you will see it appear in the list of nodes on this + page. +
++ Generating command... +
+ )} + {!generateAddNodeCommand && generateAddNodeCommandError && ( ++ {generateAddNodeCommandError?.message} +
+ )} + {!generateAddNodeCommandLoading && generateAddNodeCommand?.command && ( + <> ++ Command expires: {generateAddNodeCommand?.expiry} +
+ > + )} +- {node?.name} -
- {node?.isPrimaryNode && ( - - Primary node - - )} -- - {node?.isConnected ? "Connected" : "Disconnected"} -
-- -
-- - {node?.pods?.available === -1 - ? `${node?.pods?.capacity} pods` - : `${ - node?.pods?.available === 0 - ? "0" - : node?.pods?.capacity - node?.pods?.available - } pods used`} -
- {node?.pods?.available !== -1 && ( -- of {node?.pods?.capacity} pods total -
- )} -- - {node?.cpu?.available === -1 - ? `${node?.cpu?.capacity} ${ - node?.cpu?.available === "1" ? "core" : "cores" - }` - : `${ - node?.cpu?.available === 0 - ? "0" - : (node?.cpu?.capacity - node?.cpu?.available).toFixed(1) - } ${ - node?.cpu?.available === "1" ? "core used" : "cores used" - }`} -
- {node?.pods?.available !== -1 && ( -- of {node?.cpu?.capacity}{" "} - {node?.cpu?.available === "1" ? "core total" : "cores total"} -
- )} -- - {node?.memory?.available === -1 - ? `${node?.memory?.capacity?.toFixed(1)} GB` - : `${ - node?.memory?.available === 0 - ? "0" - : ( - node?.memory?.capacity - node?.memory?.available - ).toFixed(1) - } GB used`} -
- {node?.pods?.available !== -1 && ( -- of {node?.memory?.capacity?.toFixed(1)} GB total -
- )} -
-
- - {node?.conditions?.diskPressure - ? "No Space on Device" - : "No Disk Pressure"} -
-- - {node?.conditions?.pidPressure - ? "Pressure on CPU" - : "No CPU Pressure"} -
-- - {node?.conditions?.memoryPressure - ? "No Space on Memory" - : "No Memory Pressure"} -
-- For more details run{" "} - - kubectl describe node {node?.name} - -
-+ + Cluster Nodes + {" "} + / {nodeName} +
+ + {nodeLoading && ( ++ {node?.name} +
++ kubelet version +
+{node?.kubeletVersion}
++ kube-proxy version +
+{node?.kubeletVersion}
+OS
+{node?.kubeletVersion}
++ kurl version +
+{node?.kubeletVersion}
+Pods
++ Troubleshooting +
++ Danger Zone +
+ +