mirror of
https://github.com/openziti/zrok.git
synced 2025-06-19 17:27:54 +02:00
Revisions based on team feedback
This commit is contained in:
parent
5a052ee86b
commit
e00e93db1e
@ -3,13 +3,18 @@ title: Upgrading From 0.4 to 1.0
|
||||
---
|
||||
|
||||
## Upgrading an existing 0.4 environment
|
||||
If you have not already, [install the latest 1.x zrok binary](getting-started.mdx#installing-the-zrok-command) into your environment.
|
||||
If you have not already, [install the latest 1.x zrok binary](/docs/guides/install) into your environment.
|
||||
|
||||
Run the following to rebase your environment to use the new versioned API:
|
||||
```
|
||||
zrok rebase apiEndpoint https://api-v1.zrok.io
|
||||
```
|
||||
|
||||
:::note
|
||||
As of zrok `1.0.2`, the zrok rebase is automatic and the configuration will automatically be updated to the v1 API.
|
||||
:::
|
||||
|
||||
|
||||
Resume zrok API interactions as normal!
|
||||
|
||||
|
||||
@ -17,9 +22,19 @@ Resume zrok API interactions as normal!
|
||||
|
||||
If you run into any issues after upgrading your environment, try running the following:
|
||||
|
||||
:::warning
|
||||
Running `zrok disable` will delete any running environments or shares, and will release any reserved shares
|
||||
|
||||
:::
|
||||
```
|
||||
zrok disable
|
||||
zrok config set apiEndpoint https://api-v1.zrok.io
|
||||
zrok enable <your account token>
|
||||
|
||||
```
|
||||
|
||||
Reset the config back to the default API endpoint for the binary version
|
||||
```
|
||||
zrok config unset apiEndpoint
|
||||
```
|
||||
Create a fresh environment
|
||||
```
|
||||
zrok enable <your account token>
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user