Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cmd/ghalistener/scaler/scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ func New(config Config, options ...Option) (*Scaler, error) {
return nil, err
}

conf.QPS = 50
conf.Burst = 100
Comment on lines +61 to +62

clientset, err := kubernetes.NewForConfig(conf)
if err != nil {
return nil, err
Expand Down Expand Up @@ -216,7 +219,8 @@ func (w *Scaler) HandleDesiredRunnerCount(ctx context.Context, count int) (int,
return 0, fmt.Errorf("could not patch ephemeral runner set , patch JSON: %s, error: %w", string(mergePatch), err)
}

w.logger.Info("Ephemeral runner set scaled.",
w.logger.Info(
"Ephemeral runner set scaled.",
"namespace", w.config.EphemeralRunnerSetNamespace,
"name", w.config.EphemeralRunnerSetName,
"replicas", patchedEphemeralRunnerSet.Spec.Replicas,
Expand Down
Loading