diff --git a/jobs/k3s-server/templates/bin/ctl.erb b/jobs/k3s-server/templates/bin/ctl.erb index 7b6135c6..0976d877 100755 --- a/jobs/k3s-server/templates/bin/ctl.erb +++ b/jobs/k3s-server/templates/bin/ctl.erb @@ -231,7 +231,7 @@ export FLAGS="$FLAGS --kubelet-arg=config=/var/vcap/jobs/k3s-server/config/kubel <% end %> <% if_p('k3s.scheduler-config-file') do |value| %> - export FLAGS="$FLAGS --scheduler-arg=config=/var/vcap/jobs/k3s-server/config/scheduler-config.yaml" + export FLAGS="$FLAGS --kube-scheduler-arg=config=/var/vcap/jobs/k3s-server/config/scheduler-config.yaml" <% end %> echo $$ > $PIDFILE