Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Some network problems encountered during installation #4516

@hzy46

Description

@hzy46

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.

  1. [during k8s deployment] Cannot download kubeadm and hyperkube

    Solution: Modify kubeadm_download_url and hyperkube_download_url in config

  2. [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.

  3. [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.

  4. [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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions