-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRIO runtime & registry addon #11621
Comments
I think the images were usually accessed through the localhost:5000 proxy (hack), to avoid having to configure runtime |
I'm not able to make this solution (registry proxy) to work, maybe you could write some instructions to help me. |
Like this: I think most of the documentation was removed when it was deprecated, but maybe the registry has some docs somewhere... |
It's not working for me, I've got : "ErrImagePull: "rpc error: code = Unknown desc = error pinging docker registry localhost:5000: Get http://localhost:5000/v2/: dial tcp 127.0.0.1:5000: i/o timeout" PD: I forgot to mention I'm using podman |
This looks OK: I meant when running in Kubernetes, and using the Here was some details that we digged up when trying to make it multi-arch: #10780 (comment) (like the old README for instance, before it was removed) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
minikube version: v1.20.0
Steps to reproduce the issue:
minikube start --driver=kvm2 --cpus=8 --memory=8192m --container-runtime=crio --insecure-registry "192.168.39.0/24" --addons registry
podman push --tls-verify=false $(minikube ip):5000/test-img
Access the shell via minikube ssh
Check crio service: ps fax|grep "/usr/bin/crio"
2098 ? Ssl 0:22 /usr/bin/crio –log-level=debug
You can see there is no “--insecure-registry” in the command line.
If you try to create a pod it will fail because crio uses https to pull the image.
kubectl run test1 --image=$(minikube ip):5000/test-img
minikube ssh
sudo systemctl restart crio
after that you can see:
ps fax|grep "/usr/bin/crio"
4004 ? Ssl 0:00 /usr/bin/crio --log-level=debug --insecure-registry 10.96.0.0/12 --insecure-registry 192.168.39.0/24
now there are two “--insecure-registry” in the command line and crio can pull the image using http.
The text was updated successfully, but these errors were encountered: