Skip to main content

astroctl infra kubernetes metrics allocation

Show every application on the cluster ranked by resource usage

Terminal
astroctl infra kubernetes metrics allocation [cluster-name] [flags]

Examples​

Terminal

astroctl infra k8s metrics allocation -c my-cluster --window 1h
astroctl infra k8s metrics allocation my-cluster --sort-by Memory --search checkout

Options​

Terminal
-h, --help help for allocation
--limit int page size from 1 through 200 (default 50)
--offset int page offset
--search string case-insensitive application name search
--sort-by string sort by CPU, Memory or Name (default "CPU")
--sort-order string sort direction, Ascending or Descending; Ascending by name and Descending otherwise when omitted
--window string window duration (for example 15m, 1h, 24h); minutes-scale, not truncated to whole hours (default "1h")

Options inherited from parent commands​

Terminal
-c, --cluster-name string cluster name
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​