I have used operator 2.0 (and also 1.2) and deployed it on Microk8s (installed on ubuntu VM).
I have enabled storage, helm, dns and dashboard of the Microk8s add-on.
After deployed operator I have deployed a couchbase cluster with 3 servers (pods).
The 3 pods running ok.
Then I used a spring-boot-miroservices to access at the coucnhbase cluster and I have’nt problems.
When suspended the VM and the Microk8s restart I found the following situation:
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
couchbase-operator-7b75d445d9-qfz29 1/1 Running 0 20m
couchbase-operator-admission-6d45d566d4-fv4hp 1/1 Running 2 21h
rec-cb-0000 0/1 Unknown 0 18h
rec-cb-0001 0/1 Unknown 0 18h
rec-cb-0002 0/1 Unknown 0 18h
The status of server pod is Unknown.
The logs of operator reports the following error:
time=“2020-05-13T07:35:47Z” level=error msg=“failed to update members: cluster does not have any Pods that are running or recoverable” cluster-name=rec-cb module=cluster
Why, what is happening?
Thanks a lot