Skip to content

Instantly share code, notes, and snippets.

@196Ikuchil
Created September 8, 2022 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 196Ikuchil/715883ca962e99b7c5b865f21da6cac4 to your computer and use it in GitHub Desktop.
Save 196Ikuchil/715883ca962e99b7c5b865f21da6cac4 to your computer and use it in GitHub Desktop.
This policy used to debug of extender support on kube-scheduler-simulator.
# 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