Skip to content

Commit

Permalink
Merge pull request #86 from windsonsea/docsite
Browse files Browse the repository at this point in the history
[doc] text and layout optimization: docs/troubleshooting.md
  • Loading branch information
karmada-bot committed Jun 20, 2022
2 parents fb79c68 + fa86f1e commit ae86051
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Troubleshooting

## I can't access some resources when install Karmada

- Pulling images from Google Container Registry(k8s.gcr.io)

You may run the following command to change the image registry in the mainland China
```shell
sed -i'' -e "s#k8s.gcr.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-etcd.yaml
sed -i'' -e "s#k8s.gcr.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-apiserver.yaml
sed -i'' -e "s#k8s.gcr.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/kube-controller-manager.yaml
```
- Download golang package in the mainland China, run the following command before installing
```shell
export GOPROXY=https://goproxy.cn
## I can't access some resources when installing Karmada

- Pull images from Google Container Registry (k8s.gcr.io).

You can run the following commands to change the image registry in Mainland China.

```shell
sed -i'' -e "s#k8s.gcr.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-etcd.yaml
sed -i'' -e "s#k8s.gcr.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/karmada-apiserver.yaml
sed -i'' -e "s#k8s.gcr.io#registry.aliyuncs.com/google_containers#g" artifacts/deploy/kube-controller-manager.yaml
```

- Download the Golang package in Mainland China and run the following command before installation.

```shell
export GOPROXY=https://goproxy.cn
```

0 comments on commit ae86051

Please sign in to comment.