You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

  1. # Public Download Mirror
  2. The public mirror is useful to make the public resources download quickly in some areas of the world. (such as China).
  3. ## Configuring Kubespray to use a mirror site
  4. You can follow the [offline](offline-environment.md) to config the image/file download configuration to the public mirror site. If you want to download quickly in China, the configuration can be like:
  5. ```shell
  6. # this should be in <your_inventory>/group_vars/k8s_cluster.yml
  7. gcr_image_repo: "gcr.m.daocloud.io"
  8. kube_image_repo: "k8s.m.daocloud.io"
  9. docker_image_repo: "docker.m.daocloud.io"
  10. quay_image_repo: "quay.m.daocloud.io"
  11. github_image_repo: "ghcr.m.daocloud.io"
  12. files_repo: "https://files.m.daocloud.io"
  13. ```
  14. Use mirror sites only if you trust the provider. The Kubespray team cannot verify their reliability or security.
  15. You can replace the `m.daocloud.io` with any site you want.
  16. ## Community-run mirror sites
  17. DaoCloud(China)
  18. * [image-mirror](https://github.com/DaoCloud/public-image-mirror)
  19. * [files-mirror](https://github.com/DaoCloud/public-binary-files-mirror)