github.com/gocrane/crane@v0.11.0/examples/ensurance/waterline3.yaml (about)

     1  apiVersion: ensurance.crane.io/v1alpha1
     2  kind: NodeQOS
     3  metadata:
     4    name: "waterline3"
     5    labels:
     6      app: "system"
     7  spec:
     8    nodeQualityProbe:
     9      timeoutSeconds: 10
    10      nodeLocalGet:
    11        localCacheTTLSeconds: 60
    12    rules:
    13      - name: "cpu-usage"
    14        avoidanceThreshold: 2
    15        restoreThreshold: 2
    16        actionName: "eviction"
    17        strategy: "Preview"
    18        metricRule:
    19          name: "cpu_total_usage"
    20          value: 6000