2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								# Installation: Frequently Asked Questions
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								This section tracks some of the more frequently encountered issues with installing
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								or getting started with Helm.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**We'd love your help** making this document better. To add, correct, or remove
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								information, [file an issue ](https://github.com/kubernetes/helm/issues ) or
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								send us a pull request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Downloading
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								I want to know more about my downloading options.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Q: I can't get to GitHub releases of the newest Helm. Where are they?**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								A: We no longer use GitHub releases. Binaries are now stored in a
							 
						 
					
						
							
								
									
										
										
										
											2016-11-15 08:06:53 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								[GCS public bucket ](https://kubernetes-helm.storage.googleapis.com ).
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Q: Why aren't there Debian/Fedora/... native packages of Helm?**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								We'd love to provide these or point you toward a trusted provider. If you're
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								interested in helping, we'd love it. This is how the Homebrew formula was
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								started.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Q: Why do you provide a `curl ...|bash`  script?**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								A: There is a script in our repository (`scripts/get`) that can be executed as
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								a `curl ..|bash`  script. The transfers are all protected by HTTPS, and the script
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								does some auditing of the packages it fetches. However, the script has all the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								usual dangers of any shell script.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								We provide it because it is useful, but we suggest that users carefully read the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								script first. What we'd really like, though, are better packaged releases of
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Helm.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Installing
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-10-19 01:30:39 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								I'm trying to install Helm, but something is not right.
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Q: How do I put the Helm client files somewhere other than ~/.helm?**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Set the `$HELM_HOME`  environment variable, and then run `helm init` :
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```console
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								export HELM_HOME=/some/path
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								helm init --client-only
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Note that if you have existing repositories, you will need to re-add them
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								with `helm repo add...` .
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-10-19 01:30:39 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								**Q: How do I configure Helm?**
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-10-19 01:30:39 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								A: By default, `helm init`  will ensure that the local `$HELM_HOME`  is configured.
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Getting Started
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-10-19 01:30:39 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								I successfully installed Helm but I can't use it.
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Q: Trying to use Helm, I get the error "lookup XXXXX on 8.8.8.8:53: no such host"**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Error: Error forwarding ports: error upgrading connection: dial tcp: lookup kube-4gb-lon1-02 on 8.8.8.8:53: no such host
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-11-02 05:08:00 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								A: We have seen this issue with Ubuntu and Kubeadm in multi-node clusters. The
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								issue is that the nodes expect certain DNS records to be obtainable via global
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								DNS. Until this is resolved upstream, you can work around the issue as
							 
						 
					
						
							
								
									
										
										
										
											2018-02-06 00:43:28 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								follows. On each of the control plane nodes:
							 
						 
					
						
							
								
									
										
										
										
											2016-11-02 05:08:00 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-02-06 00:43:28 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								1) Add entries to `/etc/hosts` , mapping your hostnames to their public IPs
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								2) Install `dnsmasq`  (e.g. `apt install -y dnsmasq` )
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								3) Remove the k8s api server container (kubelet will recreate it)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								4) Then `systemctl restart docker`  (or reboot the node) for it to pick up the /etc/resolv.conf changes
							 
						 
					
						
							
								
									
										
										
										
											2016-11-02 05:08:00 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								See this issue for more information: https://github.com/kubernetes/helm/issues/1455
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-13 09:10:44 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								**Q: On GKE (Google Container Engine) I get "No SSH tunnels currently open"**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Error: Error forwarding ports: error upgrading connection: No SSH tunnels currently open. Were the targets able to accept an ssh-key for user "gke-[redacted]"?
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Another variation of the error message is:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Unable to connect to the server: x509: certificate signed by unknown authority
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								A: The issue is that your local Kubernetes config file must have the correct credentials.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								When you create a cluster on GKE, it will give you credentials, including SSL
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								certificates and certificate authorities. These need to be stored in a Kubernetes
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								config file (Default: `~/.kube/config`  so that `kubectl`  and `helm`  can access
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								them.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-10-29 02:00:43 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Uninstalling
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								I am trying to remove stuff.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								**Q: I want to delete my local Helm. Where are all its files?**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Along with the `helm`  binary, Helm stores some files in `$HELM_HOME` , which is
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								located by default in `~/.helm` .