Install failure/frozen on minikube on Ubuntu

I followed the CDK steps up to this part: CDK deployment

Looks like after the first pass through i get a timeout waiting for DS deployment:

Waiting for DS deployment. This can take a few minutes. First installation takes longer.
Waiting for statefulset “ds-idrepo” to exist in the cluster: …<function _waitforresource at 0x7f4e9457a200> timed out after 30 secs

If i immediately restart it again, it seems to create the ds-idrepo-0 pod but then hangs here:

Waiting for DS deployment. This can take a few minutes. First installation takes longer.
Waiting for statefulset “ds-idrepo” to exist in the cluster: done
Waiting for 1 pods to be ready…
partitioned roll out complete: 1 new pods have been updated…
Waiting for Service Account Password Update: …<function _waitfords at 0x7f85d8789e10> timed out after 600 secs

I’ve noticed this pod doesn’t seem to be working as it keeps crashing:
crench92@intelnuc:~$ kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
cert-manager cert-manager-cainjector-cb44447dd-894nx 1/1 Running 0 12m
cert-manager cert-manager-cbf846dc5-699hx 1/1 Running 0 12m
cert-manager cert-manager-webhook-5cc585cd56-kngvn 1/1 Running 0 12m
fr-system ds-operator-ds-operator-7758b7fdc7-k6lbb 0/1 CrashLoopBackOff 6 (3m37s ago) 11m
fr-test ds-idrepo-0 1/1 Running 0 10m
kube-system coredns-787d4945fb-5gtmh 1/1 Running 0 14m
kube-system etcd-minikube 1/1 Running 0 15m
kube-system kube-apiserver-minikube 1/1 Running 0 15m
kube-system kube-controller-manager-minikube 1/1 Running 0 15m
kube-system kube-proxy-7vj6k 1/1 Running 0 14m
kube-system kube-scheduler-minikube 1/1 Running 0 15m
kube-system storage-provisioner 1/1 Running 0 15m
secret-agent-system secret-agent-controller-manager-6555dbd785-r8bzw 2/2 Running 0 12m

2 Likes

kubectl logs attached

Solution is here:

Minikube info:

Issue was due to not starting minikube from the forgeops repo

1 Like