-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue "Not the leader" #22
Comments
Looks like the relevant code is here: https://github.com/operator-framework/operator-sdk/blob/master/pkg/leader/leader.go#L45 Appears that a |
I've seen a few mentions to this logic being fixed due to quite a few bugs. I believe this might be made irrelevant by #23, but I'll keep this here open until we have a confirmation that the upgrade does fix the issue. |
@sneko, could you please try the operator from master? It has been updated to use kubebuilder, and I believe this problem should have been fixed there. |
I am having same issue while restoring keda from velero and getting same message. |
Logs first install:- Issue Logs :- |
What's Keda? What's Velero? Are you able to reproduce with the latest from master? |
Velero is for taking backup/restore k8's clusters. KEDA is for scaling up k8's. I am having this issue while restoring KEDA from Velero similar to @sneko(telemetry/velero) so thought to share my issues on this thread however I have also share same on KEDA and velero githubs. |
If you can reproduce this in the latest version from master, let us know. You might have found an edge-case problem that we might need to address. |
@jpkrohling , sorry for the low reactvity 👎 Just taking a look at it, I wrote some notes months ago about how to install, it was basic:
But now, by reading the README.md I'm not even sure what's need to be done to deploy the operator (and previous links are no longer existing). Is there anything specific that is straight forward? Or maybe I'm too tired to see the right section ^^ Thank you, EDIT: ok just took a look at the Makefile, saw some
I think I misunderstood the "to run the operator locally", locally? an operator deployed locally on the cluster, right? |
Right, I need to work on that readme file to clarify this. Run locally means that the operator itself will be running locally, connecting to a Kubernetes cluster via the currently available kubeconfig (ie, whatever When you run That said, I'm right now working on the release scripts, and it should be way easier to deploy the operator later today or sometime tomorrow. You'll just need to feed a specific YAML into your Kubernetes cluster. |
I'm closing this one, as I haven't seen reports of this happening lately. |
Hi,
I migrated my cluster with Velero to a new cluster and it seems since then the operator is unable to do anything. It doesn't recreate deployment for the
OpenTelemetryCollector
resource I create.I tried to remove the operator deployment and recreate but here are the logs I get:
Do you have any idea what could cause that?
Thank you,
The text was updated successfully, but these errors were encountered: