CPU Memory Stat
K8s
Commands
Node Stat
#!/bin/bash
echo -e "NODE\t\t\tCPU Requests\tCPU Limits\tMemory Requests\tMemory Limits"
for node in $(kubectl get nodes -o name | cut -d'/' -f2); do
kubectl describe node "$node" |
awk -v node="$node" '
BEGIN {
cpu_req = cpu_lim = m...