Benchmark: Namespace
Description
This section contains recommendations for configuring Namespace resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-kubernetes-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select Namespace.
Run this benchmark in your terminal:
powerpipe benchmark run kubernetes_compliance.benchmark.all_controls_namespaceSnapshot and share results via Turbot Pipes:
powerpipe benchmark run kubernetes_compliance.benchmark.all_controls_namespace --shareControls
- Namespaces should have default CPU limit in limitRange policy
 - Namespaces should have default CPU request in limitRange policy
 - Namespaces should have default memory limit in limitRange policy
 - Namespaces should have default memory request in limitRange policy
 - Namespaces should be restricted on CPU usage with resourceQuota CPU limit
 - Namespaces should have resourceQuota CPU request
 - Namespaces should be restricted on memory usage with resourceQuota memory limit
 - Namespaces should have resourceQuota memory request