update the update-to-070 documentation

- fix 'apply' command, needs `-f`
- update anchor tag, add some context to the link. This makes it readable without having to click.

Signed-off-by: ted <ted@timmons.me>
This commit is contained in:
Ted Timmons 2019-11-22 15:19:13 -08:00 committed by Sheng Yang
parent 8723cff084
commit 73c7c5e6fc

View File

@ -11,7 +11,7 @@ The users need to follow this guide to upgrade from v0.6.2 to v0.7.0.
## Upgrade
### Use Rancher App
1. Run the following command to avoid [this error](#error-the-storageclass-longhorn-is-invalid-provisioner-forbidden-updates-to-provisioner-are-forbidden):
1. Run the following command to avoid [this 'updates to provisioner are forbidden' error](#error-longhorn-is-invalid-provisioner-forbidden-updates-to-provisioner-are-forbidden):
```
kubectl delete -f https://raw.githubusercontent.com/longhorn/longhorn/v0.7.0/examples/storageclass.yaml
```
@ -19,7 +19,7 @@ kubectl delete -f https://raw.githubusercontent.com/longhorn/longhorn/v0.7.0/exa
3. Wait for the app to complete the upgrade.
### Use YAML file
Use `kubectl apply https://raw.githubusercontent.com/longhorn/longhorn/v0.7.0/deploy/longhorn.yaml`
Use `kubectl apply -f https://raw.githubusercontent.com/longhorn/longhorn/v0.7.0/deploy/longhorn.yaml`
And wait for all the pods to become running and Longhorn UI working.