I am using locally deployed k3s cluster on my locally deployed Gitlab server.
Whenever I try to Install Helm Tiller, it gives the following error:
Something went wrong while installing Helm Tiller * Operation failed. Check pod logs for install-helm for more details.
when I check the logs of the pod install-helm
,
- helm init --tiller-tls --tiller-tls-verify --tls-ca-cert /data/helm/helm/config/ca.pem --tiller-tls-cert /data/helm/helm/config/cert.pem --tiller-tls-key /data/helm/helm/config/key.pem --service-account tiller
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://kubernetes-charts.storage.googleapis.com
Error: error initializing: Looks like “https://kubernetes-charts.storage.googleapis.com” is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp: lookup kubernetes-charts.storage.googleapis.com on 10.43.0.10:53: read udp 10.42.1.3:35453->10.43.0.10:53: i/o timeout
This error occurs only when k3s tries to install helm on worker node. If it is installed on master node, helm tiller is installed without any issue.
Things I have tried:
I have added rules in ip tables
Modified resolve.conf (commented out the search entry(s))
Any help would be appreciated. Thanks