manifests/noderesourcetopology/scheduler-config.yaml (20 lines of code) (raw):

apiVersion: kubescheduler.config.k8s.io/v1beta3 kind: KubeSchedulerConfiguration leaderElection: leaderElect: false clientConnection: # kubeconfig: "REPLACE_ME_WITH_KUBE_CONFIG_PATH" kubeconfig: "/etc/kubernetes/scheduler.conf" profiles: - schedulerName: topo-aware-scheduler plugins: filter: enabled: - name: NodeResourceTopologyMatch score: enabled: - name: NodeResourceTopologyMatch # optional plugin configs pluginConfig: - name: NodeResourceTopologyMatch args: # other strategies are MostAllocated and BalancedAllocation scoringStrategy: type: "LeastAllocated"