Created
September 8, 2022 11:05
-
-
Save 196Ikuchil/715883ca962e99b7c5b865f21da6cac4 to your computer and use it in GitHub Desktop.
This policy used to debug of extender support on kube-scheduler-simulator.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# export KUBE_SCHEDULER_CONFIG_PATH=~/go_project/kube-scheduler-simulator/extender-policy.yaml | |
apiVersion: kubescheduler.config.k8s.io/v1beta2 | |
kind: KubeSchedulerConfiguration | |
leaderElection: | |
leaderElect: false | |
profiles: | |
- schedulerName: default-scheduler | |
extenders: | |
- urlPrefix: "http://localhost:8080/scheduler/" | |
filterVerb: "predicates/always_true" | |
prioritizeVerb: "priorities/zero_score" | |
preemptVerb: "preemption" | |
bindVerb: "" | |
weight: 1 | |
enableHTTPS: false | |
nodeCacheCapable: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment