Minikube in Podman can report an error like did not resolve to an alias and no unqualified-search registries are defined
$ kubectl describe pod flink-kubernetes-operator-b9fcc8458-nvmlv
Warning InspectFailed 75s (x7 over 2m24s) kubelet Failed to inspect image "confluentinc/cp-flink-kubernetes-operator:1.8.0-c
p1": rpc error: code = Unknown desc = short-name "confluentinc/cp-flink-kubernetes-operator:1.8.0-cp1" did not resolve to an alias and no un
qualified-search registries are defined in "/etc/containers/registries.conf"
The registries.conf file in minikube needs to be updated.
- Log into minikube with
minikube ssh - Run
sudo vi /etc/containers/registries.conf - Uncomment the line
unqualified-search-registries = ["example.com"]and change the value to["docker.io"] - Exit the ssh session (
Ctrl-D) - Run
minikube stop && minikube start
The image should be working on restart
$ kubectl get pods
NAME READY STATUS RESTARTS AGE
flink-kubernetes-operator-b9fcc8458-nvmlv 2/2 Running 0 11h