Skip to content

v0.0.2

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Oct 02:28
· 6 commits to master since this release
# 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