-
Notifications
You must be signed in to change notification settings - Fork 297
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
No resources sharing observed in peers with helm based release #k8s #1344
Comments
Unfortunately, I am facing the same issue. Mentioned it here |
Can you paste the files in Example: https://d7y.io/docs/setup/runtime/containerd/mirror#option-2-multiple-registries For docker.io, /etc/containerd/certs.d/docker.io/hosts.toml
|
How about single-registry option > Version 2 config without config_path? Is it supported? |
Yes, follow this https://d7y.io/docs/setup/runtime/containerd/mirror/#option-1-single-registry |
I did that. The effects are similar to what @nitinpatil1992 wrote. Also deployed with helm Here is my config.toml.
My Helm values:
Is there anything I can provide to redirect us to correct path? |
Did you restart the containerd daemon ? |
In https://github.com/containerd/containerd/blob/main/docs/cri/registry.md, mirror config :
not |
Yeah, it is done by helm charts itself
Bingo! It seems that nodes started to exchanging blobs. 🤦♂️ Now I need to set up auth by providing docker credencials. Regerding missing |
It seems that the contaienrd did not restart. You can check the logs of container |
I met similar issue and turned to follow Containerd > Version 2 config with config_path instructions to setup registry, then it works well. server = "https://registry-1.docker.io"
[host."http://localhost:65001"]
capabilities = ["pull"]
skip_verify = true Then I pull image using ctr images pull --hosts-dir "/etc/containerd/certs.d" docker.io/library/alpine:latest When pull finished, I can find related logs in This issue comment may be helpful: containerd/containerd#5407 (comment) |
@jim3ma here is out certs.d looks like
@czomo can you please share your full containerd config? |
Alson noticed the dfget config under deamon, the download settings has port
|
I am using containerd 1.4.12(1.5+ have slightly different structure) hence there is no hosts.toml/certs.d and I am restricted to mirror only one registry. This is how looks like my final and full config. Works however I am hitting pulling limit(~35 nodes - 5k pods). Will be working on adding auth to it in following week
Not sure about this one but rather the localhost 127.0.0.1:65001 as above |
dragonfly version: 2.0.7 Don't know if I hit the same issue, but I was able to make image pull work for private registry, but unfortunately, the tasks are not distributed across dfdaemon agents. Peer tasks only occur in the dfdaemon agent where I trigger the pull via crictl and I'm bitterly stuck with this. My config for containerd:
dfdaemon conf:
scheduler conf:
manager conf:
|
Bug report:
We have deployed the dragonfly on containerd based host machines using helm.
But when we pull the image on the one of the box, the sibling box doesn't appear to have pulled the image.
Here is the config for docker daemon
No logs for peer pulling the images in daemonsets
Expected behavior:
Logs need to there when grepped with
peer task done
How to reproduce it:
Environment:
uname -a
): Linux 5.10.112-108.499.amzn2.x86_64 1 SMP Wed Apr 27 23:39:40 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: