Metrics Server Addon
Last updated
Was this helpful?
Was this helpful?
kubectl top [flags] [options]worker1.ubuntu@ip-10-0-1-140:~$ kubectl top
Display Resource (CPU/Memory) usage.
The top command allows you to see the resource consumption for nodes or pods.
This command requires Metrics Server to be correctly configured and working on
the server.
Available Commands:
node Display Resource (CPU/Memory) usage of nodes
pod Display Resource (CPU/Memory) usage of pods
Usage:
kubectl top [flags] [options]
Use "kubectl <command> --help" for more information about a given command.
Use "kubectl options" for a list of global command-line options (applies to all
commands).kubectl top pod --namespace web-app
NAME CPU (CORES) MEMORY (BYTES)
nginx-84ac2948db-12bce 14m 1Mi
nginx-84ac2948db-bc9ae 14m 1MiapiVersion: sunpike.platform9.com/v1alpha2
kind: ClusterAddon
metadata:
labels:
sunpike.pf9.io/cluster: '<clsuuid>'
type: metrics-server
name: <clsuuid>-metrics-server
namespace: default
spec:
clusterID: '<clsuuid>'
override: {}
type: metrics-server
version: 0.5.0
watch: true