Hasura CLI: hasura platform:cluster top

Check cpu/memory usage of a cluster

Synopsis

Check cpu/memory available on a cluster and their detailed usage

hasura platform:cluster top [flags]

Examples

# Get cpu/memory availability and usage on a cluster:
$ hasura cluster top -c [alias]

# Show usage for system components also:
$ hasura cluster top --show-system

UNITS:
  CPU units are cores where 1 core = 1000 m (milli cores)
  1 CPU core on Kubernetes is equivalent to 1 vCPU on the underlying infrastructure

  Memory units are bytes where 1024 bytes = 1 MB (Mega Byte)
  Kubernetes representation of 1MB is 1Mi

NOTE:
  Cumulative usage of memory across microservices might not match with total node
  usage because of the resources taken up by OS components

Options

-c, --cluster string   alias of the cluster to be contacted
-h, --help             help for top
-s, --show-system      Show details about system service

Options inherited from parent commands

--project string   hasura project directory where the commands should be executed. (default: current directory)

SEE ALSO

Auto generated by spf13/cobra