安装过程受环境网速影响,等待时间会比较长,可以先把镜像拉取下来,再执行 installer 安装

busybox:1.28.4
calico/kube-controllers:v3.7.3
calico/node:v3.7.3
coredns/coredns:1.6.0
dockerhub.qingcloud.com/coreos/etcd:v3.2.18
dockerhub.qingcloud.com/google_containers/metrics-server-amd64:v0.3.1
dockerhub.qingcloud.com/pires/docker-elasticsearch-curator:5.5.4
gcr.azk8s.cn/google-containers/hyperkube:v1.15.5
gcr.azk8s.cn/google-containers/k8s-dns-node-cache:1.15.5
gcr.azk8s.cn/kubernetes-helm/tiller:v2.14.3
goharbor/chartmuseum-photon:v0.9.0-v1.9.1
goharbor/clair-photon:v2.0.9-v1.9.1
goharbor/harbor-core:v1.9.1
goharbor/harbor-db:v1.9.1
goharbor/harbor-jobservice:v1.9.1
goharbor/harbor-portal:v1.9.1
goharbor/harbor-registryctl:v1.9.1
goharbor/nginx-photon:v1.9.1
goharbor/redis-photon:v1.9.1
goharbor/registry-photon:v2.7.1-patch-2819-2553-v1.9.1
istio/citadel:1.3.3
istio/galley:1.3.3
istio/kubectl:1.3.3
istio/mixer:1.3.3
istio/pilot:1.3.3
istio/proxyv2:1.3.3
istio/sidecar_injector:1.3.3
jaegertracing/jaeger-agent:1.13
jaegertracing/jaeger-collector:1.13
jaegertracing/jaeger-operator:1.13.1
jaegertracing/jaeger-query:1.13
jenkins/jenkins:2.176.2
kubesphere/jenkins-uc:v2.1.0
kubesphere/addon-resizer:1.8.4
kubesphere/alert_adapter:v2.1.0
kubesphere/alerting-dbinit:v2.1.0
kubesphere/alerting:v2.1.0
kubesphere/configmap-reload:v0.0.1
kubesphere/elasticsearch-oss:6.7.0-1
kubesphere/fluent-bit:v1.3.2-reload
kubesphere/fluentbit-operator:v2.1.0
kubesphere/ks-account:v2.1.0
kubesphere/ks-apigateway:v2.1.0
kubesphere/ks-apiserver:v2.1.0
kubesphere/ks-console:v2.1.0
kubesphere/ks-controller-manager:v2.1.0
kubesphere/ks-devops:flyway-v2.1.0
kubesphere/ks-installer:v2.1.0
kubesphere/kube-rbac-proxy:v0.4.1
kubesphere/kube-state-metrics:v1.5.2
kubesphere/kubectl:v1.0.0
kubesphere/log-sidecar-injector:1.0
kubesphere/node-exporter:ks-v0.16.0
kubesphere/notification:flyway_v2.1.0
kubesphere/notification:v2.1.0
kubesphere/prometheus-config-reloader:v0.27.1
kubesphere/prometheus-operator:v0.27.1
kubesphere/prometheus:v2.5.0
kubesphere/s2ioperator:v2.1.0
minio/minio:RELEASE.2019-08-07T01-59-21Z
mirrorgitlabcontainers/kubectl:v1.12.10
mirrorgooglecontainers/cluster-proportional-autoscaler-amd64:1.6.0
mirrorgooglecontainers/defaultbackend-amd64:1.4
mysql:8.0.11
nginx:1.14-alpine
openpitrix/openpitrix:flyway-v0.4.5
openpitrix/openpitrix:v0.4.5
openpitrix/release-app:v0.4.2
openpitrix/runtime-provider-kubernetes:v0.1.2
osixia/openldap:1.3.0
quay.azk8s.cn/openebs/node-disk-manager-amd64:v0.4.1
quay.azk8s.cn/openebs/node-disk-operator-amd64:v0.4.1
quay.azk8s.cn/openebs/provisioner-localpv:1.1.0
redis:5.0.5-alpine

可以将上面镜像保存成一个文件,例如 images ,然后执行下面命令

root@host:~# docker login -u guest -p guest dockerhub.qingcloud.com
root@host:~# for line in `cat images`; do docker pull $line; done

对于dockerhub.qingcloud.com 的镜像,需要先登录

root@host:~# docker login -u guest -p guest dockerhub.qingcloud.com
  • FeynmancalvinyuCauchy 觉得很赞
  • 安装前可以在common.yaml中配置镜像加速器。
    以阿里云镜像加速器为例:

    1. 登录阿里云容器镜像服务, 点击镜像加速服务, 获取镜像加速地址:
    2. 修改common.yaml中docker_registry_mirrors参数:

安装前可以在common.yaml中配置镜像加速器。
以阿里云镜像加速器为例:

  1. 登录阿里云容器镜像服务, 点击镜像加速服务, 获取镜像加速地址:
  2. 修改common.yaml中docker_registry_mirrors参数:

    如果添加自己的镜像加速器,可以去掉其它mirror地址,只需要保留一个自己的加速器地址即可。

    11 天 后

    guest user is not active right now.

    admin@iZrj9hb9kgeic3rdxtxk19Z:~/kubesphere$ docker login -u guest -p guest dockerhub.qingcloud.com
    WARNING! Using --password via the CLI is insecure. Use --password-stdin.
    WARNING! Your password will be stored unencrypted in /home/admin/.docker/config.json.
    Configure a credential helper to remove this warning. See
    https://docs.docker.com/engine/reference/commandline/login/#credentials-store
    
    Login Succeeded
    admin@iZrj9hb9kgeic3rdxtxk19Z:~/kubesphere$ while read i; do docker pull $i; done <<< "`cat images.txt |grep qingcloud`"
    Error response from daemon: Get https://dockerhub.qingcloud.com/v2/coreos/etcd/manifests/v3.2.18: error parsing HTTP 403 response body: no error details found in HTTP response body: "{\"err\":\"user is not active\"}\n"
    Error response from daemon: Get https://dockerhub.qingcloud.com/v2/google_containers/metrics-server-amd64/manifests/v0.3.1: error parsing HTTP 403 response body: no error details found in HTTP response body: "{\"err\":\"user is not active\"}\n"
    Error response from daemon: Get https://dockerhub.qingcloud.com/v2/pires/docker-elasticsearch-curator/manifests/5.5.4: error parsing HTTP 403 response body: no error details found in HTTP response body: "{\"err\":\"user is not active\"}\n"
    admin@iZrj9hb9kgeic3rdxtxk19Z:~/kubesphere$ docker login -u wittcnezh dockerhub.qingcloud.com
    Password: 
    Error response from daemon: Get https://dockerhub.qingcloud.com/v2/: unauthorized: authentication required

      cloorc 我的一个同事可以拉取三个镜像,我在美西和杭州两地的虚拟机上拉取镜像均告失败

      云上把所有镜像都下载(devops, git除外,暂时没用到)并做了一个基于ubuntu 16.04 (安装docker和pull了所有相关镜像),安装大致30分钟,速度比较快,不好的就是费点磁盘,不过节点漂移了就不用下载镜像。

      1 个月 后
      2 个月 后
      14 天 后

      太棒了,之前没有本地下载镜像,安装一遍花了一天时间。

      1 个月 后

      三台机器都要下载这些镜像吗?还是只要master去下载这些镜像

        部分镜像需要全部节点都下载,暂时没有根据节点角色区分的镜像列表。你可以自己建一个私有的镜像仓库,把这些镜像全部导入到私有仓库,安装的时候使用私有仓库

        16 天 后

        dockerhub.qingcloud.com/pires/docker-elasticsearch-curator:5.5.4
        Error response from daemon: error parsing HTTP 403 response

          3 个月 后

          我新建了台干净的虚拟机,然后在装单节点All-in-One ,安装的过程中一直在这里循环然后就报错,!,我看日志说
          ,/etc/cni/net.d/这个路径是存在的,我想问下这是不是脚本安装cni的时候安装程序有问题

          2 个月 后