Skip to content

Commit

Permalink
Move workflow to master node
Browse files Browse the repository at this point in the history
  • Loading branch information
Iqqdd99 authored Dec 17, 2024
1 parent fb14347 commit 0616232
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion installation-scripts-onm/MASTER_START_SCRIPT.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,21 @@ if [ "$WORKFLOW_ENABLED" == "yes" ]; then
--set controller.metricsConfig.enabled=true \
--set controller.telemetryConfig.enabled=true \
--set controller.serviceMonitor.enabled=true \
--set "server.authModes={server}"'
--set "server.authModes={server}" \
--set "controller.tolerations[0].effect=NoSchedule" \
--set "controller.tolerations[0].key=node.kubernetes.io/unschedulable" \
--set "controller.tolerations[0].operator=Exists" \
--set "controller.tolerations[1].effect=NoSchedule" \
--set "controller.tolerations[1].operator=Exists" \
--set "controller.priorityClassName=system-node-critical" \
--set controller.nodeSelector.node-role\\.kubernetes\\.io/control-plane="" \
--set "server.tolerations[0].effect=NoSchedule" \
--set "server.tolerations[0].key=node.kubernetes.io/unschedulable" \
--set "server.tolerations[0].operator=Exists" \
--set "server.tolerations[1].effect=NoSchedule" \
--set "server.tolerations[1].operator=Exists" \
--set "server.priorityClassName=system-node-critical" \
--set server.nodeSelector.node-role\\.kubernetes\\.io/control-plane=""'

sudo -H -E -u ubuntu bash -c 'kubectl -n argo create rolebinding argo-workflows-server --role=argo-workflows-workflow --serviceaccount=argo:argo-workflows-server'
sudo -H -E -u ubuntu bash -c 'kubectl -n argo create rolebinding argo-workflows-workflow-controller --role=argo-workflows-workflow --serviceaccount=argo:argo-workflows-workflow-controller'
Expand Down

0 comments on commit 0616232

Please sign in to comment.