I am trying to setup mongodb operator on my on prem servers.
I have created 4 nodes setuped k8s using kubeadm and connected all the nodes
when I run kubectl get nodes
I get 3 worker and 1 control node in ready state.
and then I follow official docs to setup mongodb operator-:
-
kubectl apply --server-side -f deploy/crd.yaml
-
Create a ns and switch context to that
-
kubectl apply -f deploy/rbac.yaml
-
kubectl apply -f deploy/operator.yaml
Everything working fine till here when I runkubectl apply -f deploy/cr.yaml
and after that when I runkubectl get pods
I see only operator pods and 3 cfg’s pods running and all the cfg’s pods are getting restarted one by one.
when I check opeartor logs I see this
“mongoldb-operator-error-log-for-on-prem-vm-setup · GitHub” ← operator log
any help will be appreciated thanks