From e9a6cb1fd9c20d3a929aa88e5cc00c272b9139e8 Mon Sep 17 00:00:00 2001 From: Jean-Christophe LOSAPIO Date: Wed, 30 Oct 2024 10:43:33 +0100 Subject: [PATCH] add scheduler config file parameter #3 --- jobs/k3s-server/templates/bin/ctl.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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