Skip to content

v0.0.3

Compare
Choose a tag to compare
@github-actions github-actions released this 06 Mar 20:31
· 4 commits to master since this release
71c2563
# Print resource usage report to terminal
resource-calculator calculate --apiGroups=kubedb.com

# Print resource usage report to json
resource-calculator calculate --apiGroups=kubedb.com -o json > report.json


# Print resource usage report to terminal for all cluster contexts found in KUBECONFIG
resource-calculator calculate --apiGroups=kubedb.com --all

# Print resource usage report to json for all cluster contexts found in KUBECONFIG
resource-calculator calculate --apiGroups=kubedb.com --all -o json > report.json

resource-calculator uses the same library as kubectl internally. So, by default it will be the default context in your ~/.kube/config file or KUBECONFIG environment variable, if set. To try with different clusters in your kubeconfig file, you can pass the --context flag.

resource-calculator