Skip to content

Commit

Permalink
Merge pull request #4726 from waldman/master
Browse files Browse the repository at this point in the history
Fix kubeScheduler.usePolicyConfigMap - missing namespace flag
  • Loading branch information
k8s-ci-robot authored Mar 20, 2018
2 parents a942255 + 1fa6bfb commit f336fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodeup/pkg/model/kube_scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (b *KubeSchedulerBuilder) buildPod() (*v1.Pod, error) {
flags = append(flags, "--kubeconfig="+"/var/lib/kube-scheduler/kubeconfig")

if c.UsePolicyConfigMap != nil {
flags = append(flags, "--policy-configmap=scheduler-policy")
flags = append(flags, "--policy-configmap=scheduler-policy --policy-configmap-namespace=kube-system")
}

pod := &v1.Pod{
Expand Down

0 comments on commit f336fcc

Please sign in to comment.