github.com/felipejfc/helm@v2.1.2+incompatible/docs/quickstart.md (about) 1 # Quickstart Guide 2 3 This guide covers how you can quickly get started using Helm. 4 5 ## Prerequisites 6 7 - You must have Kubernetes installed. We recommend version 1.4.1 or 8 later. 9 - You should also have a local configured copy of `kubectl`. 10 11 Helm will figure out where to install Tiller by reading your Kubernetes 12 configuration file (usually `$HOME/.kube/config`). This is the same file 13 that `kubectl` uses. 14 15 To find out which cluster Tiller would install to, you can run 16 `kubectl config current-context` or `kubectl cluster-info`. 17 18 ```console 19 $ kubectl config current-context 20 my-cluster 21 ``` 22 23 ## Install Helm 24 25 Download a binary release of the Helm client. You can use tools like 26 `homebrew`, or look at [the official releases page](https://github.com/kubernetes/helm/releases). 27 28 For more details, or for other options, see [the installation 29 guide](install.md). 30 31 ## Initialize Helm and Install Tiller 32 33 Once you have Helm ready, you can initialize the local CLI and also 34 install Tiller into your Kubernetes cluster in one step: 35 36 ```console 37 $ helm init 38 ``` 39 40 This will install Tiller into the Kubernetes cluster you saw with 41 `kubectl config current-context`. 42 43 **TIP:** Want to install into a different cluster? Use the 44 `--kube-context` flag. 45 46 ## Install an Example Chart 47 48 To install a chart, you can run the `helm install` command. Helm has 49 several ways to find and install a chart, but the easiest is to use one 50 of the official `stable` charts. 51 52 ```console 53 $ helm repo update # Make sure we get the latest list of charts 54 $ helm install stable/mysql 55 Released smiling-penguin 56 ``` 57 58 In the example above, the `stable/mysql` chart was released, and the name of 59 our new release is `smiling-penguin`. You get a simple idea of the 60 features of this MySQL chart by running `helm inspect stable/mysql`. 61 62 Whenever you install a chart, a new release is created. So one chart can 63 be installed multiple times into the same cluster. And each can be 64 independently managed and upgrade. 65 66 The `helm install` command is a very powerful command with many 67 capabilities. To learn more about it, check out the [Using Helm 68 Guide](using_helm.md) 69 70 ## Learn About Releases 71 72 It's easy to see what has been released using Helm: 73 74 ```console 75 $ helm ls 76 NAME VERSION UPDATED STATUS CHART 77 smiling-penguin 1 Wed Sep 28 12:59:46 2016 DEPLOYED mysql-0.1.0 78 ``` 79 80 The `helm list` function will show you a list of all deployed releases. 81 82 ## Uninstall a Release 83 84 To uninstall a release, use the `helm delete` command: 85 86 ```console 87 $ helm delete smiling-penguin 88 Removed smiling-penguin 89 ``` 90 91 This will uninstall `smiling-penguin` from Kubernetes, but you will 92 still be able to request information about that release: 93 94 ```console 95 $ helm status smiling-penguin 96 Status: DELETED 97 ... 98 ``` 99 100 Because Helm tracks your releases even after you've deleted them, you 101 can audit a cluster's history, and even undelete a release (with `helm 102 rollback`). 103 104 ## Reading the Help Text 105 106 To learn more about the available Helm commands, use `helm help` or type 107 a command followed by the `-h` flag: 108 109 ```console 110 $ helm get -h 111 ```