Cheng Wang
Cheng Wang
OK, this case is a little customized case, maybe it is more proper to add it into the FAQ section (I am doing).
> May I know what changes you did to the leader election? For this - Enable the leader-election On generated `main.go` L57, just set leader-election `true`. ``` flag.BoolVar(&enableLeaderElection, "leader-elect", true,...
> After running through the tutorial locally and using `make deploy IMG=...` I was unable to replicate the error: My cluster K8s version is: ``` Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.0",...
> > May I know what changes you did to the leader election? For this - Enable the leader-election > > On generated `main.go` L57, just set leader-election `true`. >...
> Hi @astraw99, > > I see. If you enable the leader election you are facing the problem `{"error": "unable to find leader election namespace: not running in-cluster, please specify...
> HI @astraw99, > > Is the same error faced using make deploy IMG or not? No, `make deploy` into the cluster works well. Only faced the `sa` permission error,...
OK, we can close it now.
@squeed PTAL thanks.
@kvaps PTAL thanks.
ping @kvaps