From f437b978d97d29ae98ccd360cae2c34fcb200d82 Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Thu, 23 Aug 2018 14:30:06 -0700 Subject: [PATCH] release: Update URLs contains `v0.3-rc` to use `master` instead --- README.md | 14 +++++++------- docs/base-image.md | 8 ++++---- docs/gke.md | 2 +- docs/upgrade.md | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f35da84..7b08d7c 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ We've wrote a script to help user to get enough information to configure the set Before installing, run: ``` -curl -sSfL https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/scripts/environment_check.sh | bash +curl -sSfL https://raw.githubusercontent.com/rancher/longhorn/master/scripts/environment_check.sh | bash ``` Example result: ``` @@ -101,7 +101,7 @@ Create the deployment of Longhorn in your Kubernetes cluster is straightforward. If CSI is supported (as stated above) you can just do: ``` -kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/longhorn.yaml +kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml ``` If you're using Flexvolume driver with Kubernetes Distro other than RKE, replace the value of $FLEXVOLUME_DIR in the following command with your own Flexvolume Directory as specified above. ``` @@ -109,7 +109,7 @@ FLEXVOLUME_DIR= ``` Then run ``` -curl -s https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/longhorn.yaml|sed "s#^\( *\)value: \"/var/lib/kubelet/volumeplugins\"#\1value: \"${FLEXVOLUME_DIR}\"#g" > longhorn.yaml +curl -s https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml|sed "s#^\( *\)value: \"/var/lib/kubelet/volumeplugins\"#\1value: \"${FLEXVOLUME_DIR}\"#g" > longhorn.yaml kubectl apply -f longhorn.yaml ``` For Google Kubernetes Engine (GKE) users, see [here](#google-kubernetes-engine) before proceed. @@ -177,12 +177,12 @@ Longhorn provides the persistent volume directly to Kubernetes through one of th Use following command to create a default Longhorn StorageClass named `longhorn`. ``` -kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/examples/storageclass.yaml +kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/examples/storageclass.yaml ``` Now you can create a pod using Longhorn like this: ``` -kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/examples/pvc.yaml +kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/examples/pvc.yaml ``` The yaml contains two parts: @@ -255,7 +255,7 @@ We provides two testing purpose backupstore based on NFS server and Minio S3 ser Use following command to setup a Minio S3 server for BackupStore after `longhorn-system` was created. ``` -kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/backupstores/minio-backupstore.yaml +kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/backupstores/minio-backupstore.yaml ``` Now set `Settings/General/BackupTarget` to @@ -343,7 +343,7 @@ Make sure all reports `No resources found.` before continuing. ### 3. Uninstall Longhorn ``` -kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/longhorn.yaml +kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml ``` ## License diff --git a/docs/base-image.md b/docs/base-image.md index 3fe97ec..695eb9e 100644 --- a/docs/base-image.md +++ b/docs/base-image.md @@ -45,7 +45,7 @@ following example creates an nginx pod serving content from a flexvolume with a base image and is accessible from a service. ``` -kubectl create -f https://raw.githubusercontent.com/rancher/longhorn-manager/v0.3-rc/examples/flexvolume/example_baseimage.yaml +kubectl create -f https://raw.githubusercontent.com/rancher/longhorn-manager/master/examples/flexvolume/example_baseimage.yaml ``` Wait until the pod is running. @@ -86,7 +86,7 @@ http://:/guests/hd/party-wizard.gif Finally, tear down the pod and service. ``` -kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn-manager/v0.3-rc/examples/flexvolume/example_baseimage.yaml +kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn-manager/master/examples/flexvolume/example_baseimage.yaml ``` ### CSI Driver @@ -118,7 +118,7 @@ content from two csi-provisioned volumes backed by a base image. The statefulset is accessible from a service. ``` -kubectl create -f https://raw.githubusercontent.com/rancher/longhorn-manager/v0.3-rc/examples/provisioner_with_baseimage.yaml +kubectl create -f https://raw.githubusercontent.com/rancher/longhorn-manager/master/examples/provisioner_with_baseimage.yaml ``` Wait until both pods are running. @@ -159,7 +159,7 @@ http://:/guests/hd/party-wizard.gif Finally, tear down the pod and service. ``` -kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn-manager/v0.3-rc/examples/provisioner_with_baseimage.yaml +kubectl delete -f https://raw.githubusercontent.com/rancher/longhorn-manager/master/examples/provisioner_with_baseimage.yaml ``` ## Building diff --git a/docs/gke.md b/docs/gke.md index f97844d..3f2cbfb 100644 --- a/docs/gke.md +++ b/docs/gke.md @@ -17,7 +17,7 @@ In which `name@example.com` is the user's account name in GCE, and it's case sen ``` FLEXVOLUME_DIR="/home/kubernetes/flexvolume/" -curl -s https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/longhorn.yaml|sed "s#^\( *\)value: \"/var/lib/kubelet/volumeplugins\"#\1value: \"${FLEXVOLUME_DIR}\"#g" > longhorn.yaml +curl -s https://raw.githubusercontent.com/rancher/longhorn/master/deploy/longhorn.yaml|sed "s#^\( *\)value: \"/var/lib/kubelet/volumeplugins\"#\1value: \"${FLEXVOLUME_DIR}\"#g" > longhorn.yaml kubectl create -f longhorn.yaml ``` diff --git a/docs/upgrade.md b/docs/upgrade.md index c605f33..77f6e64 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -10,7 +10,7 @@ before upgrade. If you don't have a on-cluster backupstore already, create one. Here we'll use NFS for example. 1. Execute following command to create the backupstore ``` -kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/v0.3-rc/deploy/backupstores/nfs-backupstore.yaml +kubectl apply -f https://raw.githubusercontent.com/rancher/longhorn/master/deploy/backupstores/nfs-backupstore.yaml ``` 2. On Longhorn UI Settings page, set Backup Target to `nfs://longhorn-test-nfs-svc.default:/opt/backupstore` and click `Save`.