github.com/gocrane/crane@v0.11.0/examples/ensurance/nep-schedule-delay.yaml (about)

     1  apiVersion: ensurance.crane.io/v1alpha1
     2  kind: NodeQOS
     3  metadata:
     4    name: "schedule-delay"
     5    labels:
     6      app: "system"
     7  spec:
     8    nodeQualityProbe:
     9      timeoutSeconds: 10
    10      nodeLocalGet:
    11        localCacheTTLSeconds: 60
    12    rules:
    13      - name: "container-schedule-delay-time"
    14        avoidanceThreshold: 1
    15        restoreThreshold: 10
    16        actionName: "throttle"
    17        strategy: "None"
    18        metricRule:
    19          name: "container_sched_run_queue_time"
    20          value: 500