You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1eedaegon
changed the title
Failed to deploy with containerd because could not pull image from an insecure-repository
Failed to deploy with containerd because could not pull image from an insecure image registry
Jan 11, 2023
hmm...
I have changed from containerd_insecure_registries.values() to containerd_insecure_registries.keys()
in roles/container-engine/containerd/templates/config.toml.j2 and then installed manually from offline nexus registry
Now the image pulling on containerd looks good as expected and everything is working fine.
here is the config about insecure registries for containerd.
the rendered /etc/containerd/config.toml contains:
but it needs to be:
because insecure_registries template has registry address instead of registry name
recently issues: #9371 #9207
Environment:
Cloud provider or hardware configuration:
bare-metal
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Linux 4.18.0-372.9.1.el8.x86_64 x86_64
Red Hat Enterprise Linux 8.6 (Ootpa)
Version of Ansible (
ansible --version
):ansible [core 2.12.5]
Version of Python (
python --version
):Python 3.9.13
Kubespray version (commit) (
git rev-parse --short HEAD
):release-2.20
Network plugin used:
Calico CNI
Full inventory with variables (
ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"
):Command used to invoke ansible:
Output of ansible run:
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: