zoukankan      html  css  js  c++  java
  • K8s中helm下载镜像问题

    [root@k8s-master bin]# kubectl get pod -n kube-system
    NAME                                 READY   STATUS         RESTARTS   AGE
    coredns-58cc8c89f4-9gn5g             1/1     Running        11         17d
    coredns-58cc8c89f4-xxzx7             1/1     Running        11         17d
    etcd-k8s-master                      1/1     Running        13         17d
    kube-apiserver-k8s-master            1/1     Running        13         17d
    kube-controller-manager-k8s-master   1/1     Running        23         17d
    kube-flannel-ds-amd64-4bc88          1/1     Running        15         17d
    kube-flannel-ds-amd64-lzwd6          1/1     Running        17         17d
    kube-flannel-ds-amd64-vw4vn          1/1     Running        15         17d
    kube-proxy-bs8sd                     1/1     Running        12         17d
    kube-proxy-nfvtt                     1/1     Running        11         17d
    kube-proxy-rn98b                     1/1     Running        13         17d
    kube-scheduler-k8s-master            1/1     Running        20         17d
    tiller-deploy-684c9f98f5-zb65z       0/1     ErrImagePull   0          45m

     下载不了国外的镜像。

    [root@k8s-master bin]# docker search tiller
    NAME                                    DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
    jessestuart/tiller                      Nightly multi-architecture (amd64, arm64, ar…   18                                      [OK]
    sapcc/tiller                            Mirror of https://gcr.io/kubernetes-helm/til…   9
    ist0ne/tiller                           https://gcr.io/kubernetes-helm/tiller           3                                       [OK]
    rancher/tiller                                                                          2
    jmgao1983/tiller                        from gcr.io/kubernetes-helm/tiller              2                                       [OK]
    ibmcom/tiller                           Docker Image for IBM Cloud private-CE (Commu…   1
    luxas/tiller                                                                            1
    itinerisltd/tiller                      [Deprecated] Use https://circleci.com/orbs/r…   1
    ansibleplaybookbundle/tiller-apb        An APB that deploys tiller for use with helm.   1                                       [OK]
    cfplatformeng/tiller                                                                    0
    cfplatformeng/tiller-ubuntu                                                             0
    ibmcom/tiller-ppc64le                   Docker Image for IBM Cloud Private-CE (Commu…   0
    pcanham/tiller                          tiller image for Raspberry Pi for testing He…   0
    kubeapps/tiller-proxy                   A web-based UI for deploying and managing ap…   0
    kubeapps/tiller-proxy-ci                Store temporary images generated by CI system   0
    sorenmat/tiller                                                                         0
    cgetzen/tiller                          Custom Tiller Tests                             0
    appscode/tiller                                                                         0
    zhaowenlei/tiller                       FROM gcr.io/kubernetes-helm/tiller:TAG          0
    itinerisltd/tiller-circleci                                                             0
    fkpwolf/tiller                                                                          0
    ylvmw/tiller-proxy                                                                      0
    renaultdigital/tillerless-helm-gcloud   Add tillerless plugin to helm-gcloud image      0
    easzlab/tiller                          from gcr.io/kubernetes-helm/tiller              0
    anjia0532/tiller                                                                        0
    [root@k8s-master bin]# kubectl edit deploy tiller-deploy -n kube-system
    deployment.apps/tiller-deploy edited

    [root@k8s-master bin]#  kubectl get pod -n kube-system -o wide
    NAME                                 READY   STATUS    RESTARTS   AGE    IP                NODE         NOMINATED NODE   READINESS GATES
    coredns-58cc8c89f4-9gn5g             1/1     Running   11         17d    10.244.0.25       k8s-master   <none>           <none>
    coredns-58cc8c89f4-xxzx7             1/1     Running   11         17d    10.244.0.24       k8s-master   <none>           <none>
    etcd-k8s-master                      1/1     Running   13         17d    192.168.180.130   k8s-master   <none>           <none>
    kube-apiserver-k8s-master            1/1     Running   13         17d    192.168.180.130   k8s-master   <none>           <none>
    kube-controller-manager-k8s-master   1/1     Running   23         17d    192.168.180.130   k8s-master   <none>           <none>
    kube-flannel-ds-amd64-4bc88          1/1     Running   15         17d    192.168.180.136   k8s-node02   <none>           <none>
    kube-flannel-ds-amd64-lzwd6          1/1     Running   17         17d    192.168.180.130   k8s-master   <none>           <none>
    kube-flannel-ds-amd64-vw4vn          1/1     Running   15         17d    192.168.180.135   k8s-node01   <none>           <none>
    kube-proxy-bs8sd                     1/1     Running   12         17d    192.168.180.135   k8s-node01   <none>           <none>
    kube-proxy-nfvtt                     1/1     Running   11         17d    192.168.180.136   k8s-node02   <none>           <none>
    kube-proxy-rn98b                     1/1     Running   13         17d    192.168.180.130   k8s-master   <none>           <none>
    kube-scheduler-k8s-master            1/1     Running   20         17d    192.168.180.130   k8s-master   <none>           <none>
    tiller-deploy-7476769959-pns9q       1/1     Running   0          112s   10.244.2.60       k8s-node01   <none>           <none>
    [root@k8s-master bin]#
    [root@k8s-master kubernetes-master]# helm version
    Client: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
    Server: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
  • 相关阅读:
    httpcontext in asp.net unit test
    initialize or clean up your unittest within .net unit test
    Load a script file in sencha, supports both asynchronous and synchronous approaches
    classes system in sencha touch
    ASP.NET MVC got 405 error on HTTP DELETE request
    how to run demo city bars using sencha architect
    sencha touch mvc
    sencha touch json store
    sencha touch jsonp
    51Nod 1344:走格子(贪心)
  • 原文地址:https://www.cnblogs.com/dalianpai/p/12154410.html
Copyright © 2011-2022 走看看