Revisions based on team feedback

This commit is contained in:
Mike Guthrie 2025-04-11 13:33:23 -04:00
parent 5a052ee86b
commit e00e93db1e
No known key found for this signature in database
GPG Key ID: 1B882E45188DB83B

View File

@ -3,13 +3,18 @@ title: Upgrading From 0.4 to 1.0
--- ---
## Upgrading an existing 0.4 environment ## 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: Run the following to rebase your environment to use the new versioned API:
``` ```
zrok rebase apiEndpoint https://api-v1.zrok.io 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! 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: 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 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>
``` ```