POD service 都正常 服务没有任何响应
情况一、查看deploy 查看资源 kubectl edit deploy xx -nxxxx 修改cpu和mem
查看 使用cpu最高的pod kubectl top pods -nxxxx
-
查看集群中所有节点的 CPU 和内存使用情况:
kubectl top nodes
-
查看指定节点的 CPU 和内存使用情况:
kubectl top node <node-name>
-
查看集群中所有 Pod 的 CPU 和内存使用情况:
kubectl top pods --all-namespaces
-
查看指定命名空间中所有 Pod 的 CPU 和内存使用情况:
kubectl top pods -n <namespace>
-
查看指定 Pod 的 CPU 和内存使用情况:
kubectl top pod <pod-name> -n <namespace>
kubectl top pod --containers -n xxxx

浙公网安备 33010602011771号