-
Notifications
You must be signed in to change notification settings - Fork 10
docs: add upgrading docs #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
245bc72
add upgrading docs
rushtehrani 66baae6
style: update favicon
rushtehrani 9b03bfd
add windows cli instruction
rushtehrani fbee21b
update text
rushtehrani 89ed06d
windows instructions
rushtehrani 34af6df
add Windows CLI instructions
rushtehrani 835cad4
collapsible sidebar
rushtehrani 8487753
use double colon for pseudo-elemenet
rushtehrani 5f5e310
fix hovers
rushtehrani cd8f5d4
fix Codacy review issues
rushtehrani d8a8ddf
fix Codacy review issues
rushtehrani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| --- | ||
| title: Adding or upgrading components | ||
| sidebar_label: Upgrading | ||
| --- | ||
|
|
||
| Before adding features or upgrading your cluster, we highly recommend you back up your `params.yaml` file. You can optionally commit it into a private repository and encrypt it with [BlackBox](https://github.com/StackExchange/blackbox) or similar tools. | ||
|
|
||
| :::tip | ||
| We also highly recommend to try these steps on a copy of the production cluster first. | ||
| ::: | ||
|
|
||
| ## Adding components | ||
| To add additional features to Onepanel: | ||
|
|
||
| 1. Run `opctl init` with additional flags. For example if you initially ran: | ||
|
|
||
| ```bash | ||
| opctl init --provider gke | ||
| ``` | ||
|
|
||
| You can enable https and cert-manager by running: | ||
|
|
||
| ```bash | ||
| opctl init --provider gke --enable-https --enabl-cert-manager --dns-provider clouddns | ||
| ``` | ||
|
|
||
| 2. Review your `params.yaml` file and complete the new fields accordingly. | ||
|
|
||
| :::tip | ||
| See [configuration files](/docs/deployment/configuration/files) for additional information. | ||
| ::: | ||
|
|
||
| 3. Apply your changes: | ||
|
|
||
| ```bash | ||
| opctl apply | ||
| ``` | ||
|
|
||
| :::note | ||
| If the application is not loading after these updates, visit our [Troubleshooting](/docs/deployment/troubleshooting/overview) page for some steps that can help resolve most issues. If you are still having issues, join our [Slack community](https://join.slack.com/t/onepanel-ce/shared_invite/zt-eyjnwec0-nLaHhjif9Y~gA05KuX6AUg) or open an issue in [GitHub](https://github.com/onepanelio/core/issues). | ||
| ::: | ||
|
|
||
|
|
||
| ## Upgrading components | ||
| When upgrading Onepanel, it is best to upgrade one minor version at a time (e.g. 0.9.0 => 0.10.0). | ||
|
|
||
| To upgrade Onepanel: | ||
|
|
||
| 1. Check the current version of `opctl`: | ||
|
|
||
| ```bash {3} | ||
| opctl version | ||
|
|
||
| CLI version: 0.10.0 | ||
| Manifest version: v0.10.0 | ||
| API version: v0.10.0 | ||
| Web UI version: v0.10.0 | ||
|
|
||
| ``` | ||
|
|
||
| 2. Download the next version up of `opctl` for your operating system from [our release page](https://github.com/onepanelio/core/releases). | ||
|
|
||
| 3. Run `opctl init` with the initial flags you used, for example: | ||
|
|
||
| ```bash | ||
| opctl init --provider gke | ||
| ``` | ||
|
|
||
| :::important | ||
| Run `opctl init` only with the initial flags, you can add additional flags after the upgrade completes. | ||
| ::: | ||
|
|
||
| 4. Apply your changes: | ||
|
|
||
| ```bash | ||
| opctl apply | ||
| ``` | ||
|
|
||
| :::note | ||
| If the application is not loading after these updates, visit our [Troubleshooting](/docs/deployment/troubleshooting/overview) page for some steps that can help resolve most issues. If you are still having issues, join our [Slack community](https://join.slack.com/t/onepanel-ce/shared_invite/zt-eyjnwec0-nLaHhjif9Y~gA05KuX6AUg) or open an issue in [GitHub](https://github.com/onepanelio/core/issues). | ||
| ::: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rushtehrani What about including the way to set the azure cluster kubernetes version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to keep the instructions minimal for the quick start, but adding it to the AKS deployment instructions makes perfect sense which I see you've already done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minimal makes sense. Not a blocker by any means.