github.com/gocrane/crane@v0.11.0/examples/ensurance/evict-on-mem-usage-total/watermark.yaml (about)

     1  apiVersion: ensurance.crane.io/v1alpha1
     2  kind: NodeQOS
     3  metadata:
     4    name: eviction-on-high-mem-usage
     5  spec:
     6    nodeQualityProbe:
     7      nodeLocalGet:
     8        localCacheTTLSeconds: 60
     9      timeoutSeconds: 10
    10    rules:
    11      - actionName: eviction
    12        avoidanceThreshold: 2
    13        metricRule:
    14          name: memory_total_usage
    15          value: 5000000000 # means 5Gi
    16        name: mem-usage
    17        restoreThreshold: 2
    18        strategy: None