generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 526
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What you expected to happen:
This value is only set once, upon Start:
kueue/pkg/scheduler/scheduler.go
Lines 165 to 171 in 3b299a3
| // Start implements the Runnable interface to run scheduler as a controller. | |
| func (s *Scheduler) Start(ctx context.Context) error { | |
| log := roletracker.WithReplicaRole(ctrl.LoggerFrom(ctx).WithName("scheduler"), s.roleTracker) | |
| ctx = ctrl.LoggerInto(ctx, log) | |
| go wait.UntilWithBackoff(ctx, s.schedule) | |
| return nil | |
| } |
If the leader fails, and a follower becomes new leader, it has the wrong log
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- Kubernetes version (use
kubectl version): - Kueue version (use
git describe --tags --dirty --always): - Cloud provider or hardware configuration:
- OS (e.g:
cat /etc/os-release): - Kernel (e.g.
uname -a): - Install tools:
- Others:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.