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
{{ message }}
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
After trying installing PAI in Azure China, I encounter some problems during installation. Most of them are network-related. The installation uses the quick start script. This issue is a record.
[during k8s deployment] Cannot download kubeadm and hyperkube
Solution: Modify kubeadm_download_url and hyperkube_download_url in config
[during k8s deployment] Cannot pull images from gcr.io
Solution: Modify gcr_image_repo and kube_image_repo to a mirror repo. I tried gcr.azk8s.cn and it worked. But, surprisingly, kubespray still tries to pull gcr.io after the modification. After some investigation, I found it is a problem with kubespray 2.11. In this file, some images are hard coded to use gcr.io and k8s.gcr.io (e.g. tiller_image_repo). I fixed this issue manually then the k8s deployment succeeded.
[during PAI service deployment] Downloading speed from docker.io is slow
I exprienced very slow downloading speed from docker.io. I tried some mirrors, but they didn't work. To address this problem, I set up a local registry and used a machine outside China to push images to the local registry.
[during PAI service deployment] Cannot access raw.githubusercontent.com
We use file from raw.githubusercontent.com in device-plugin. Unfortunately, this site is blocked for me. I added a dns record for githubusercontent.com to /etc/hosts, then it worked.