github.com/qsunny/k8s@v0.0.0-20220101153623-e6dca256d5bf/examples-master/staging/scheduler-policy/scheduler-policy-config.json (about)

     1  {
     2    "kind": "Policy",
     3    "apiVersion": "v1",
     4    "predicates": [
     5      {
     6        "name": "CheckNodeUnschedulable"
     7      },
     8      {
     9        "name": "CheckVolumeBinding"
    10      },
    11      {
    12        "name": "GeneralPredicates"
    13      },
    14      {
    15        "name": "MatchInterPodAffinity"
    16      },
    17      {
    18        "name": "MaxEBSVolumeCount"
    19      },
    20      {
    21        "name": "MaxGCEPDVolumeCount"
    22      },
    23      {
    24        "name": "MaxAzureDiskVolumeCount"
    25      },
    26      {
    27        "name": "MaxCSIVolumeCountPred"
    28      },
    29      {
    30        "name": "NoDiskConflict"
    31      },
    32      {
    33        "name": "NoVolumeZoneConflict"
    34      },
    35      {
    36        "name": "PodToleratesNodeTaints"
    37      }
    38    ],
    39    "priorities": [
    40      {
    41        "name": "ServiceSpreadingPriority",
    42        "weight": 1
    43      },
    44      {
    45        "name": "EqualPriority",
    46        "weight": 1
    47      },
    48      {
    49        "name": "ImageLocalityPriority",
    50        "weight": 1
    51      },
    52      {
    53        "name": "MostRequestedPriority",
    54        "weight": 1
    55      },
    56      {
    57        "name": "SelectorSpreadPriority",
    58        "weight": 1
    59      },
    60      {
    61        "name": "InterPodAffinityPriority",
    62        "weight": 1
    63      },
    64      {
    65        "name": "LeastRequestedPriority",
    66        "weight": 1
    67      },
    68      {
    69        "name": "BalancedResourceAllocation",
    70        "weight": 1
    71      },
    72      {
    73        "name": "NodePreferAvoidPodsPriority",
    74        "weight": 10000
    75      },
    76      {
    77        "name": "NodeAffinityPriority",
    78        "weight": 1
    79      },
    80      {
    81        "name": "TaintTolerationPriority",
    82        "weight": 1
    83      },
    84      {
    85        "name": "GPUAllocationPriority",
    86        "weight": 10
    87      }
    88    ],
    89    "extenders" : [
    90      {
    91        "urlPrefix": "http://127.0.0.1:12346/scheduler",
    92        "filterVerb": "filter",
    93        "bindVerb": "bind",
    94        "prioritizeVerb": "prioritize",
    95        "weight": 5,
    96        "enableHttps": false,
    97        "nodeCacheCapable": false
    98      }
    99    ],
   100    "hardPodAffinitySymmetricWeight" : 10,
   101    "alwaysCheckAllPredicates" : false
   102  }