Find exceeds resource ratio

Proprietary

Find resource manifests that have requests to limits ratios beyond a specific maximum.

org.openrewrite.kubernetes.resource.FindExceedsResourceRatio

Required

The type of resource limit to search for.

The maximum ratio allowed between requests and limits.

Optional

Matching files will be modified. This is a glob expression.

mod run . --recipe=org.openrewrite.kubernetes.resource.FindExceedsResourceRatio \ -P resourceType=memory \ -P ratioLimit=2

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.