Skip to content

Commit

Permalink
Update flags supported section in README
Browse files Browse the repository at this point in the history
Just keeping it up-to-date

Signed-off-by: Yarden Shoham <[email protected]>
  • Loading branch information
yardenshoham authored and robscott committed Jan 25, 2023
1 parent 0028614 commit 7ed01c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ kube-capacity --pods --containers --util --output yaml
-c, --containers includes containers in output
--context string context to use for Kubernetes config
-h, --help help for kube-capacity
--kubeconfig string kubeconfig file to use for Kubernetes config
-n, --namespace string only include pods from this namespace
--namespace-labels string labels to filter namespaces with
--node-labels string labels to filter nodes with
Expand All @@ -152,8 +153,10 @@ kube-capacity --pods --containers --util --output yaml
-a, --available includes quantity available instead of percentage used
-l, --pod-labels string labels to filter pods with
-p, --pods includes pods in output
--sort string attribute to sort results be (supports:
[cpu.util cpu.request cpu.limit mem.util mem.request mem.limit name])
--sort string attribute to sort results by (supports:
[cpu.util cpu.request cpu.limit mem.util mem.request mem.limit cpu.util.percentage
cpu.request.percentage cpu.limit.percentage mem.util.percentage mem.request.percentage
mem.limit.percentage name])
(default "name")
-u, --util includes resource utilization in output
--pod-count includes pod counts for each of the nodes and the whole cluster
Expand Down

0 comments on commit 7ed01c1

Please sign in to comment.