release: Update URLs contains v0.3-rc
to use master
instead
This commit is contained in:
parent
dbde8d78b4
commit
f437b978d9
14
README.md
14
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:
|
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:
|
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:
|
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.
|
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=<FLEXVOLUME_DIR>
|
|||||||
```
|
```
|
||||||
Then run
|
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
|
kubectl apply -f longhorn.yaml
|
||||||
```
|
```
|
||||||
For Google Kubernetes Engine (GKE) users, see [here](#google-kubernetes-engine) before proceed.
|
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`.
|
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:
|
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:
|
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.
|
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
|
Now set `Settings/General/BackupTarget` to
|
||||||
@ -343,7 +343,7 @@ Make sure all reports `No resources found.` before continuing.
|
|||||||
|
|
||||||
### 3. Uninstall Longhorn
|
### 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
|
## License
|
||||||
|
@ -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.
|
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.
|
Wait until the pod is running.
|
||||||
@ -86,7 +86,7 @@ http://<NODE-IP>:<NODE-PORT>/guests/hd/party-wizard.gif
|
|||||||
Finally, tear down the pod and service.
|
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
|
### CSI Driver
|
||||||
@ -118,7 +118,7 @@ content from two csi-provisioned volumes backed by a base image. The
|
|||||||
statefulset is accessible from a service.
|
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.
|
Wait until both pods are running.
|
||||||
@ -159,7 +159,7 @@ http://<NODE-IP>:<NODE-PORT>/guests/hd/party-wizard.gif
|
|||||||
Finally, tear down the pod and service.
|
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
|
## Building
|
||||||
|
@ -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/"
|
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
|
kubectl create -f longhorn.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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.
|
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
|
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
|
2. On Longhorn UI Settings page, set Backup Target to
|
||||||
`nfs://longhorn-test-nfs-svc.default:/opt/backupstore` and click `Save`.
|
`nfs://longhorn-test-nfs-svc.default:/opt/backupstore` and click `Save`.
|
||||||
|
Loading…
Reference in New Issue
Block a user