-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
NGINX Ingress controller version:
Any
Kubernetes version (use kubectl version
):
1.18.x
Environment:
- Cloud provider or hardware configuration: vms
- OS (e.g. from /etc/os-release): centos7
- Kernel (e.g.
uname -a
): any - Install tools: kubeadm
- Others: cri-o as container runtime
What happened:
Using unqualified images in the pods results in an error while creating the pods:
[kube@k8s-master-0 ~]$ sudo crictl pull alpine:latest
FATA[0000] pulling image failed: rpc error: code = Unknown desc = no registries configured while trying to pull an unqualified image, add at least one in either /etc/crio/crio.conf or /etc/containers/registries.conf
This happens even with controller pod and acceptor.
What you expected to happen:
Nginx installing as usual
How to reproduce it:
Install cri-o as runtime
Install any network plugin
Install nginx-ingress-controller
Enjoy the error
Anything else we need to know:
I opened cri-o/cri-o#3884
But the cause is controller images using an unqualified notation.
Please add the registry location
/kind bug