Sorry if this has been asked before but I can’t seem to find it here. I’m new to Rancher and I’m just trying to get an initial install going following the directions for “Installing Rancher on a Kubernetes Cluster” using RKE.
When I get to the part about helm init I get failures:
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: error initializing: Looks like “xxxxxxxxx” is not a valid chart repository or cannot be reached: Get xxxxxxxxx/index.yaml: read tcp 10.1.53.150:39692->172.217.10.112:443: read: connection reset by peer
However I can reach that location on both 80 and 443.
I found a workaround:
cat << EOF >> ~/.helm/repository/repositories.yaml
apiVersion: v1
repositories:
- caFile: “”
cache: ~/.helm/repository/cache/stable-index.yaml
certFile: “”
keyFile: “”
name: stable
password: “”
url:see URL above
username: “” - caFile: “”
cache: ~/.helm/repository/cache/local-index.yaml
certFile: “”
keyFile: “”
name: local
password: “”
url: http://127.0.0.1:8879/charts
username: “”
EOF
which seemed to work, however we eventually get this state:
tiller-deploy-67cd845dff-qdr8q 0/1 ErrImagePull 0 5h33
for reference:
$ helm version
Client: &version.Version{SemVer:“v2.16.5”, GitCommit:“89bd14c1541fa93a09492010030fd3699ca65a97”, GitTreeState:“clean”}
Error: could not find tiller
$ tiller version
[main] 2020/04/06 13:56:22 Starting Tiller v2.16.5 (tls=false)
$ docker version
Server: Docker Engine - Community
Engine:
Version: 19.03.8
$ kubectl version
Server Version: version.Info{Major:“1”, Minor:“17”, GitVersion:“v1.17.4”, GitCommit:“8d8aa39598534325ad77120c120a22b3a990b5ea”, GitTreeState:“clean”, BuildDate:“2020-03-12T20:55:23Z”, GoVersion:“go1.13.8”, Compiler:“gc”, Platform:“linux/amd64”}
$ rke version
INFO[0000] Running RKE version: v1.0.6