Find exceeds resource limit

Proprietary

Find resource manifests that have limits set beyond a specific maximum.

org.openrewrite.kubernetes.resource.FindExceedsResourceValue

Required

The type of resource value to search for.

The type of resource limit to search for.

The resource limit maximum to search for to find resources that request more than the maximum.

Optional

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

mod run . --recipe=org.openrewrite.kubernetes.resource.FindExceedsResourceValue \ -P resourceValueType=limits \ -P resourceType=memory \ -P resourceLimit=2Gi

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