Skip to content

Commit

Permalink
add scheduler config file parameter #3
Browse files Browse the repository at this point in the history
  • Loading branch information
JCL38-ORANGE committed Oct 30, 2024
1 parent 4ea3c54 commit e9a6cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobs/k3s-server/templates/bin/ctl.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9a6cb1

Please sign in to comment.