apiVersion: v1
kind: ConfigMap
metadata:
name: "secondary-scheduler-config" (1)
namespace: "openshift-secondary-scheduler-operator" (2)
data:
"config.yaml": |
apiVersion: kubescheduler.config.k8s.io/v1beta3
kind: KubeSchedulerConfiguration (3)
leaderElection:
leaderElect: false
profiles:
- schedulerName: secondary-scheduler (4)
plugins: (5)
score:
disabled:
- name: NodeResourcesBalancedAllocation
- name: NodeResourcesLeastAllocated