Using Fresh ECK setup v2.3.0 in Azure Kubernetes Service. Elasticsearch version 7.16.2
Getting these errors consistently across multiple ECK setups, which causes pod restart.
(Replica for eck-operator = 1 only)
E0820 17:48:44.639898 1 leaderelection.go:330] error retrieving resource lock elastic-system/elastic-operator-leader: Get "https://10.0.0.1:443/api/v1/namespaces/elastic-system/configmaps/elastic-operator-leader?timeout=1m0s": context deadline exceeded
08-20-2022 23:18:442022-08-20T17:48:44.640022273Z {"message":null,"namespace":null}08-20-2022 23:18:440 I0820 17:48:44.639958 1 leaderelection.go:283] failed to renew lease elastic-system/elastic-operator-leader: timed out waiting for the condition 0 0 0
2022-08-20T17:48:44 Failed to start the controller managermanager{"message":"Failed to start the controller manager","namespace":null}leader election lost
2022-08-20T17:48:44 Operator stopped with errormanager{"message":"Operator stopped with error","namespace":null}leader election lost
2022-08-20T17:48:44 Shutting down due to errormanager{"message":"Shutting down due to error","namespace":null}leader election lost
What's the cause of this error and what can we do to address this?