Hello,
we are in a process of installing a fresh APIC v10.0.5.1 instance in our k8s cluster, going thru the steps here -
Deploying operators in a multi-namespace API Connect clusterAt the final step of installing the operator, we pushed the updated [the namespace and docker repo info set] yaml via
kubectl apply -f ibm-apiconnect-distributed.yaml
The deployment starts and a pod spins up, however it goes into a crashback loop, with only the following logging info
{"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"setup","msg":"APIConnect operator version 3.1.0, built 22-09-16T21:13:07, tag op.3.1.0.g.03bfb8d1.b.v1005.n.2248"}
{"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"setup","msg":"Go Version: go1.17.13"}
{"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"setup","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"leader","msg":"Trying to become the leader."}
I0112 13:27:26.797115 1 request.go:645] Throttling request took 1.045639573s, request: GET:https://10.96.0.1:443/apis/crunchydata.com/v1?timeout=32s
{"level":"info","ts":"2023-01-12T13:27:28.070Z","logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
{"level":"info","ts":"2023-01-12T13:27:28.070Z","logger":"leader","msg":"Continuing as the leader."}
{"level":"info","ts":"2023-01-12T13:27:31.378Z","logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":0"}
{"level":"error","ts":"2023-01-12T13:27:31.379Z","logger":"setup","msg":"failed to cleanup deprecated leader lock","error":"resource name may not be empty","stacktrace":"main.main\n\t/workspace/ibm-apiconnect/main.go:201\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255"}
{"level":"error","ts":"2023-01-12T13:27:34.681Z","logger":"setup","msg":"unable to get api support","error":"unable to get Group and Resources: unable to retrieve the complete list of server APIs: packages.operators.coreos.com/v1: the server is currently unable to handle the request","stacktrace":"main.main\n\t/workspace/ibm-apiconnect/main.go:206\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255"}
what is it that is blocking the api support attempts, where could we get more info on the root cause?
#kubernetes
------------------------------
Vid Romac
------------------------------