From e0775905bf4ccff247cd40e468d0259ff2161d6e Mon Sep 17 00:00:00 2001 From: Shuo Wu Date: Wed, 8 May 2019 20:57:59 -0700 Subject: [PATCH] chart: updated README.md --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d27a2af..8540e1f 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,15 @@ Google Kubernetes Engine (GKE) requires additional setup in order for Longhorn t ### Install Longhorn with Helm First, you need to initialize Helm locally and [install Tiller into your Kubernetes cluster with RBAC](https://helm.sh/docs/using_helm/#role-based-access-control). -Then install longhorn: + +Then download Longhorn repository: ``` -helm install https://raw.githubusercontent.com/rancher/longhorn/master/chart --name longhorn --namespace longhorn-system +git clone https://github.com/rancher/longhorn.git +``` + +Now using following command to install Longhorn: +``` +helm install ./longhorn/chart --name longhorn --namespace longhorn-system ``` --- @@ -123,10 +129,14 @@ If you're upgrading from Longhorn v0.3.0 or newer: Follow [the same steps for installation](#install) to upgrade Longhorn manager ##### Using kubectl -`kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml` +``` +kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml` +``` ##### Using Helm -`helm upgrade longhorn https://raw.githubusercontent.com/rancher/longhorn/master/chart` +``` +helm upgrade longhorn ./longhorn/chart +``` ## Upgrade Longhorn engine After upgraded manager, follow [the steps here](docs/upgrade.md#upgrade-longhorn-engine) to upgrade Longhorn engine for existing volumes.