# shellcheck shell=bash
worker_group="$1"
desired_workers="$2"
reason="$3"
event_type="$4"
namespace="mynamespace"
echo "Applying $event_type of $desired_workers to $worker_group bc $reason"
kubectl scale deployment windmill-workers-$worker_group --replicas=$desired_workers -n $namespace
Submitted by rubenfiszel 38 days ago