image.png
    image.png

    1. [root@k8s-node1 k8s]# sh get_helm_c.sh
    2. Downloading https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz
    3. Preparing to install helm and tiller into /usr/local/bin
    4. helm installed into /usr/local/bin/helm
    5. tiller installed into /usr/local/bin/tiller

    helm init —service-account=tiller —stable-repo-url=https://charts.helm.sh/stable —tiller-image=sapcc/tiller:v2.16.3
    helm init —service-account=tiller —tiller-image=sapcc/tiller.v.2.16.3 —history-max 300
    helm init —service-account=tiller —tiller-image=registry.aliyuncs.com/google_containers/tiller:v2.16.3 —history-max 300
    registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.3
    helm init —service-account=tiller —tiller-image=registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.16.3 —history-max 300

    [root@k8s-node1 k8s]# helm init --service-account=tiller --tiller-image=sapcc/tiller.v.2.17.0 --history-max 300
    Creating /root/.helm 
    Creating /root/.helm/repository 
    Creating /root/.helm/repository/cache 
    Creating /root/.helm/repository/local 
    Creating /root/.helm/plugins 
    Creating /root/.helm/starters 
    Creating /root/.helm/cache/archive 
    Creating /root/.helm/repository/repositories.yaml 
    Adding stable repo with URL: https://charts.helm.sh/stable 
    Adding local repo with URL: http://127.0.0.1:8879/charts 
    $HELM_HOME has been configured at /root/.helm.
    
    Tiller (the Helm server-side component) has been installed into your Kubernetes Cluster.
    
    Please note: by default, Tiller is deployed with an insecure 'allow unauthenticated users' policy.
    To prevent this, run `helm init` with the --tiller-tls-verify flag.
    For more information on securing your installation see: https://v2.helm.sh/docs/securing_installation/
    [root@k8s-node1 k8s]#
    

    image.png

    kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath=’{.items[0].metadata.name}’) -f