Tags: dragonflyoss/client
Tags
feat: add proxy_all_registries option to dfinit containerd module (#1803 ) * feat: add proxy_all_registries option to dfinit containerd module Add a new dfinit containerd configuration option, proxyAllRegistries (default: true), that writes a catch-all `_default/hosts.toml` under the containerd config_path so registries not explicitly listed in `registries:` are still proxied through dfdaemon. The `_default` fallback omits both the top-level `server` field and the `X-Dragonfly-Registry` header; dfdaemon infers the upstream registry from the `ns=` query parameter that containerd appends when resolving via `_default` (support added in #1792). Explicitly configured registries keep their own `hosts.toml` and take precedence over the catch-all. Closes #1791. Signed-off-by: Jamal Allogie <jamal.allogie@gmail.com> * fix(containerd): rename add_default_mirror to add_default_registry Signed-off-by: Gaius <gaius.qi@gmail.com> * chore: bump workspace version to 1.3.6 Signed-off-by: Gaius <gaius.qi@gmail.com> --------- Signed-off-by: Jamal Allogie <jamal.allogie@gmail.com> Signed-off-by: Gaius <gaius.qi@gmail.com> Co-authored-by: Gaius <gaius.qi@gmail.com>
feat(dfctl): add `task preheat` command for image and file preheat (#… …1781) * feat(dfctl): add task preheat command for image and file preheat Add `dfctl task preheat` subcommand with two modes: - gRPC mode (default): directly calls scheduler's PreheatImage/PreheatFile RPCs - SDK mode (--request-sdk): uses Dragonfly SDK proxy for preheat Supports: - Image preheat via oci:// URL prefix - File preheat via http:// or https:// URL prefix - Optional scheduler address (--scheduler) - Optional parameters: platform, username, password, piece-length, tag, etc. Also adds preheat_image and preheat_file methods to SchedulerClient. Agent-Logs-Url: https://github.com/dragonflyoss/client/sessions/c4a70baf-75e8-4d6b-bee5-6bad61c2c6f2 Co-authored-by: gaius-qi <15955374+gaius-qi@users.noreply.github.com> * fix: update documentation for preheat methods in scheduler.rs Agent-Logs-Url: https://github.com/dragonflyoss/client/sessions/c4a70baf-75e8-4d6b-bee5-6bad61c2c6f2 Co-authored-by: gaius-qi <15955374+gaius-qi@users.noreply.github.com> * feat(dfctl): enhance preheat cmd with new args and OCI backend module Signed-off-by: Gaius <gaius.qi@gmail.com> * build: bump workspace version from 1.3.3 to 1.3.4 Signed-off-by: Gaius <gaius.qi@gmail.com> * refactor: replace `Option<Vec<String>>` with `Vec<String>` for headers Signed-off-by: Gaius <gaius.qi@gmail.com> --------- Signed-off-by: Gaius <gaius.qi@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: gaius-qi <15955374+gaius-qi@users.noreply.github.com> Co-authored-by: Gaius <gaius.qi@gmail.com>
PreviousNext