Skip to content
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

Docker/CRI-Dockerd does not pick up proxy/registry mirrors #9142

Closed
krystianmlynek opened this issue Aug 2, 2022 · 0 comments · Fixed by #9205
Closed

Docker/CRI-Dockerd does not pick up proxy/registry mirrors #9142

krystianmlynek opened this issue Aug 2, 2022 · 0 comments · Fixed by #9205
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@krystianmlynek
Copy link
Contributor

Hi,
I'm using k8s 1.24 and kubespray is on one of the recent commits. I'm behind proxy and I noticed that one of the tasks that pulls image is failing with timeout error. I checked and when I ran docker info command I saw that docker didn't pick up any settings related to proxy and registry mirrors. I've managed to fix that by restarting containerd, my current workaround for that is adding additional handler in this file that will restart containerd and flush_handlers here, but I'm not sure if that's the best approach.

@cristicalin

Environment:

  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
Linux 5.15.0-25-generic x86_64
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
  • Version of Ansible (ansible --version):
    ansible [core 2.12.5]
  • Version of Python (python --version):
    Python 3.9.5

Kubespray version (commit) (git rev-parse --short HEAD):
b3876142

Network plugin used:
Calico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant