github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/test/testdata/kubernetes/optional/KSV039/allowed.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: LimitRange
     4  metadata:
     5    name: core-resource-limits
     6  spec:
     7    limits:
     8      - type: Pod
     9        default:
    10          cpu: '2'
    11          memory: 1Gi
    12        defaultRequest:
    13          cpu: '2'
    14          memory: 1Gi
    15        max:
    16          cpu: '2'
    17          memory: 1Gi
    18        min:
    19          cpu: 200m
    20          memory: 6Mi
    21      - type: Container
    22        max:
    23          cpu: '2'
    24          memory: 1Gi
    25        min:
    26          cpu: 100m
    27          memory: 4Mi
    28        default:
    29          cpu: 300m
    30          memory: 200Mi
    31        defaultRequest:
    32          cpu: 200m
    33          memory: 100Mi
    34        maxLimitRequestRatio:
    35          cpu: '10'